Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001692/0.001693, allocations: 266.6 kB / 291.4 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9687/0.9687, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000724/0.0007241, allocations: 15.38 kB / 0.598 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1653, allocations: 88.54 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004758/0.1701, allocations: 4.233 MB / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.1737, allocations: 2.319 MB / 0.6909 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.174, allocations: 21 kB / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1743, allocations: 83.22 kB / 0.691 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007322/0.175, allocations: 355.5 kB / 0.6913 GB, free: 8.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.1757, allocations: 283.3 kB / 0.6916 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008858/0.1765, allocations: 0.9608 MB / 0.6925 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006488/0.1772, allocations: 427.5 kB / 0.6929 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.1776, allocations: 294.6 kB / 0.6932 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.1779, allocations: 322.6 kB / 0.6935 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.178, allocations: 20 kB / 0.6935 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.1784, allocations: 191.7 kB / 0.6937 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.1786, allocations: 163.4 kB / 0.6939 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1787, allocations: 137.4 kB / 0.694 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.1793, allocations: 0.6389 MB / 0.6946 GB, free: 5.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1793, allocations: 0 / 0.6946 GB, free: 5.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.1793, allocations: 0 / 0.6946 GB, free: 5.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1793, allocations: 3.938 kB / 0.6946 GB, free: 5.004 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001167/0.1805, allocations: 0.8296 MB / 0.6955 GB, free: 4.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1806, allocations: 8.031 kB / 0.6955 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.1817, allocations: 202.8 kB / 0.6957 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.1823, allocations: 485.3 kB / 0.6961 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.1823, allocations: 36.98 kB / 0.6962 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.1824, allocations: 40 kB / 0.6962 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1834, allocations: 0.8405 MB / 0.697 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1835, allocations: 7.938 kB / 0.697 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.1835, allocations: 23.98 kB / 0.697 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.645e-05/0.1836, allocations: 68.95 kB / 0.6971 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000831/0.1844, allocations: 0.5656 MB / 0.6977 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004069/0.1885, allocations: 5.643 MB / 0.7032 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.1891, allocations: 450.3 kB / 0.7036 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.1895, allocations: 224.7 kB / 0.7038 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1895, allocations: 4 kB / 0.7038 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1895, allocations: 34.55 kB / 0.7039 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.764e-06/0.1895, allocations: 3.938 kB / 0.7039 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002352/0.1919, allocations: 1.502 MB / 0.7053 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1919, allocations: 59.67 kB / 0.7054 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.1924, allocations: 0.491 MB / 0.7059 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1925, allocations: 29.7 kB / 0.7059 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.1927, allocations: 354.8 kB / 0.7062 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.1928, allocations: 122.4 kB / 0.7063 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.1928, allocations: 12 kB / 0.7064 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.193, allocations: 366.8 kB / 0.7067 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.1933, allocations: 193.2 kB / 0.7069 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.1937, allocations: 447.3 kB / 0.7073 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.1941, allocations: 260.3 kB / 0.7076 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1941, allocations: 4 kB / 0.7076 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001187/0.1953, allocations: 0.8014 MB / 0.7083 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1953, allocations: 12 kB / 0.7084 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.1953, allocations: 8 kB / 0.7084 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004569/0.1958, allocations: 156.9 kB / 0.7085 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.1962, allocations: 127.8 kB / 0.7086 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.1991, allocations: 4.028 MB / 0.7126 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.1995, allocations: 43.95 kB / 0.7126 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.1995, allocations: 31.98 kB / 0.7126 GB, free: 1.223 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003095/0.1998, allocations: 210.3 kB / 0.7128 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/0.1999, allocations: 59.25 kB / 0.7129 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.2009, allocations: 0.5929 MB / 0.7135 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.201, allocations: 4 kB / 0.7135 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.201, allocations: 0 / 0.7135 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.201, allocations: 7.938 kB / 0.7135 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.2027, allocations: 1.251 MB / 0.7147 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2027, allocations: 224 / 0.7147 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.2029, allocations: 59.89 kB / 0.7148 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000354/0.2033, allocations: 144.1 kB / 0.7149 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.2033, allocations: 8 kB / 0.7149 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.2063, allocations: 4.029 MB / 0.7189 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2063, allocations: 4 kB / 0.7189 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009544/0.2072, allocations: 0.7082 MB / 0.7195 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.2074, allocations: 180.3 kB / 0.7197 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.2075, allocations: 8 kB / 0.7197 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.2077, allocations: 19.97 kB / 0.7197 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.2078, allocations: 27.97 kB / 0.7198 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.2078, allocations: 12 kB / 0.7198 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003158/0.2082, allocations: 326.8 kB / 0.7201 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2082, allocations: 0 / 0.7201 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005736/0.2088, allocations: 144 kB / 0.7202 GB, free: 8.848 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001189/0.2089, allocations: 111.1 kB / 0.7203 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.2102, allocations: 1.029 MB / 0.7213 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2102, allocations: 128 / 0.7213 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007757/0.211, allocations: 0.7419 MB / 0.7221 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008919/0.2119, allocations: 195.8 kB / 0.7223 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2133, allocations: 1.217 MB / 0.7234 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.2138, allocations: 0.9137 MB / 0.7243 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.2141, allocations: 117.3 kB / 0.7244 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.2142, allocations: 39.44 kB / 0.7245 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.2142, allocations: 0 / 0.7245 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of Templates: time 0.01174/0.226, allocations: 7.031 MB / 0.7314 GB, free: 13.29 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)