Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008574/0.0008575, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005402/0.005402, allocations: 169.8 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001788/0.001788, allocations: 262.8 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9463/0.9463, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004173, allocations: 13.45 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004768/0.1624, allocations: 4.499 MB / 0.6895 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.1658, allocations: 2.474 MB / 0.6919 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.1661, allocations: 19.81 kB / 0.692 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.1663, allocations: 91.16 kB / 0.6921 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008112/0.1671, allocations: 413.9 kB / 0.6924 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.1678, allocations: 368.8 kB / 0.6928 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009458/0.1688, allocations: 1.136 MB / 0.6939 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.1695, allocations: 465.2 kB / 0.6943 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.1698, allocations: 294.5 kB / 0.6946 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.1702, allocations: 334.5 kB / 0.6949 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.1702, allocations: 24 kB / 0.695 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006144/0.1708, allocations: 499 kB / 0.6954 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.171, allocations: 163.4 kB / 0.6956 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.1713, allocations: 323.9 kB / 0.6959 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000781/0.172, allocations: 0.8796 MB / 0.6968 GB, free: 3.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1721, allocations: 0 / 0.6968 GB, free: 3.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1721, allocations: 0 / 0.6968 GB, free: 3.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1721, allocations: 4 kB / 0.6968 GB, free: 3.105 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.001064/0.1731, allocations: 0.8374 MB / 0.6976 GB, free: 2.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1732, allocations: 8.031 kB / 0.6976 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.1744, allocations: 203.8 kB / 0.6978 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.175, allocations: 498.3 kB / 0.6983 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.175, allocations: 37.36 kB / 0.6983 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.1751, allocations: 48.28 kB / 0.6984 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.1761, allocations: 0.8486 MB / 0.6992 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.1761, allocations: 7.938 kB / 0.6992 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.1762, allocations: 23.98 kB / 0.6992 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.244e-05/0.1763, allocations: 64.95 kB / 0.6993 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/0.177, allocations: 0.5695 MB / 0.6998 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.1808, allocations: 5.647 MB / 0.7053 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.1814, allocations: 458.1 kB / 0.7058 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.1817, allocations: 232.7 kB / 0.706 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1817, allocations: 4 kB / 0.706 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1818, allocations: 42.56 kB / 0.706 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.1818, allocations: 0 / 0.706 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002358/0.1841, allocations: 1.509 MB / 0.7075 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1842, allocations: 55.69 kB / 0.7076 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.1846, allocations: 0.499 MB / 0.7081 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1847, allocations: 29.7 kB / 0.7081 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.1849, allocations: 370.8 kB / 0.7084 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.185, allocations: 114.4 kB / 0.7086 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.1852, allocations: 49.7 kB / 0.7086 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1853, allocations: 366.8 kB / 0.7089 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.1856, allocations: 197.2 kB / 0.7091 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.186, allocations: 443.3 kB / 0.7096 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007583/0.1868, allocations: 0.6921 MB / 0.7102 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1868, allocations: 4 kB / 0.7102 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00117/0.1879, allocations: 0.8057 MB / 0.711 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.188, allocations: 12 kB / 0.711 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.188, allocations: 8 kB / 0.711 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.1885, allocations: 160 kB / 0.7112 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.1889, allocations: 123.8 kB / 0.7113 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.1918, allocations: 4.044 MB / 0.7153 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.1922, allocations: 31.97 kB / 0.7153 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.1922, allocations: 28 kB / 0.7153 GB, free: 14.64 MB / 0.5137 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.1924, allocations: 215 kB / 0.7155 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.1925, allocations: 59.34 kB / 0.7156 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009682/0.1935, allocations: 0.601 MB / 0.7162 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1935, allocations: 4 kB / 0.7162 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1935, allocations: 0 / 0.7162 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1935, allocations: 7.922 kB / 0.7162 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.1951, allocations: 1.267 MB / 0.7174 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1951, allocations: 0 / 0.7174 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.1954, allocations: 63.88 kB / 0.7175 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003849/0.1958, allocations: 140.3 kB / 0.7176 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1958, allocations: 8 kB / 0.7176 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.1985, allocations: 4.028 MB / 0.7216 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1985, allocations: 0 / 0.7216 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.1994, allocations: 0.7076 MB / 0.7222 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.1996, allocations: 168.2 kB / 0.7224 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.1997, allocations: 11.94 kB / 0.7224 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.1999, allocations: 23.97 kB / 0.7224 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.2, allocations: 35.89 kB / 0.7225 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2, allocations: 12 kB / 0.7225 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003197/0.2004, allocations: 338.8 kB / 0.7228 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2004, allocations: 0 / 0.7228 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005705/0.2009, allocations: 140 kB / 0.7229 GB, free: 6.234 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.2011, allocations: 117.5 kB / 0.7231 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.2023, allocations: 1.041 MB / 0.7241 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2024, allocations: 0 / 0.7241 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.2031, allocations: 0.7347 MB / 0.7248 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.2042, allocations: 199 kB / 0.725 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.2057, allocations: 1.282 MB / 0.7262 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.2062, allocations: 0.9098 MB / 0.7271 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003187/0.2065, allocations: 113.3 kB / 0.7272 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.2066, allocations: 43.42 kB / 0.7273 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2066, allocations: 0 / 0.7273 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of Templates: time 0.01252/0.2191, allocations: 7.3 MB / 0.7344 GB, free: 10.35 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)