Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 282.5 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9105/0.9105, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 101 kB / 0.5952 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.141, allocations: 86.99 MB / 0.6802 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01757/0.1586, allocations: 15.98 MB / 0.6958 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00782/0.1665, allocations: 4.813 MB / 0.7005 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.1676, allocations: 67.69 kB / 0.7006 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.1704, allocations: 1.044 MB / 0.7016 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.1721, allocations: 0.7464 MB / 0.7023 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.1743, allocations: 0.9188 MB / 0.7032 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003363/0.1777, allocations: 3.603 MB / 0.7067 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005177/0.1829, allocations: 4.816 MB / 0.7114 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.1848, allocations: 1.578 MB / 0.713 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.1871, allocations: 1.78 MB / 0.7147 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005806/0.1877, allocations: 340 kB / 0.715 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.1891, allocations: 0.7997 MB / 0.7158 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.1902, allocations: 1.329 MB / 0.7171 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.1917, allocations: 1.451 MB / 0.7185 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004096/0.1958, allocations: 5.091 MB / 0.7235 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1959, allocations: 0 / 0.7235 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.935e-06/0.1959, allocations: 0 / 0.7235 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.774e-05/0.1959, allocations: 3.938 kB / 0.7235 GB, free: 4.137 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004324/0.2003, allocations: 2.651 MB / 0.7261 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2003, allocations: 8.031 kB / 0.7261 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/0.2042, allocations: 0.8251 MB / 0.7269 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.2065, allocations: 1.513 MB / 0.7284 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.2067, allocations: 185.1 kB / 0.7286 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/0.207, allocations: 228.4 kB / 0.7288 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006072/0.2131, allocations: 4.161 MB / 0.7329 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/0.2131, allocations: 0 / 0.7329 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.2134, allocations: 99.98 kB / 0.7329 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001792/0.2136, allocations: 172.5 kB / 0.7331 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005295/0.2189, allocations: 3.632 MB / 0.7367 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.2351, allocations: 16.55 MB / 0.7528 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/0.2383, allocations: 2.293 MB / 0.7551 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008066/0.2391, allocations: 0.5742 MB / 0.7556 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.2393, allocations: 97.66 kB / 0.7557 GB, free: 1.238 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.2393, allocations: 43.12 kB / 0.7558 GB, free: 1.184 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.304e-06/0.2393, allocations: 0 / 0.7558 GB, free: 1.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.005133/0.2445, allocations: 3.428 MB / 0.7591 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.2446, allocations: 111.5 kB / 0.7592 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.2457, allocations: 1.022 MB / 0.7602 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.2458, allocations: 37.7 kB / 0.7602 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/0.2464, allocations: 1.103 MB / 0.7613 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.2467, allocations: 280.2 kB / 0.7616 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.247, allocations: 275.2 kB / 0.7618 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2472, allocations: 414.7 kB / 0.7622 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000868/0.2481, allocations: 0.6167 MB / 0.7628 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.2493, allocations: 1.182 MB / 0.764 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.2514, allocations: 1.872 MB / 0.7658 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.2515, allocations: 8 kB / 0.7658 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002965/0.2544, allocations: 2.014 MB / 0.7678 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.2545, allocations: 16 kB / 0.7678 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.2545, allocations: 19.98 kB / 0.7678 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.2549, allocations: 171.9 kB / 0.768 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.256, allocations: 343.4 kB / 0.7683 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.371e-05/0.256, allocations: 39.86 kB / 0.7684 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.2569, allocations: 135.6 kB / 0.7685 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.2571, allocations: 71.92 kB / 0.7686 GB, free: 3.312 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001229/0.2583, allocations: 0.9706 MB / 0.7695 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.2585, allocations: 106.7 kB / 0.7696 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.2604, allocations: 1.226 MB / 0.7708 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.2604, allocations: 15.94 kB / 0.7708 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.2605, allocations: 4 kB / 0.7708 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.2605, allocations: 3.984 kB / 0.7708 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2563/0.5167, allocations: 3.795 MB / 0.7745 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.5168, allocations: 2.828 kB / 0.7745 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.5174, allocations: 161 kB / 0.7747 GB, free: 88.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003534/0.5178, allocations: 144.2 kB / 0.7748 GB, free: 88.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.5178, allocations: 14.95 kB / 0.7748 GB, free: 88.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.5178, allocations: 11.83 kB / 0.7749 GB, free: 88.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5178, allocations: 2.938 kB / 0.7749 GB, free: 88.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.5197, allocations: 1.465 MB / 0.7763 GB, free: 87.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.5201, allocations: 274.6 kB / 0.7766 GB, free: 87.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.5203, allocations: 20.59 kB / 0.7766 GB, free: 87.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.5208, allocations: 70.81 kB / 0.7766 GB, free: 87.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.521, allocations: 54.52 kB / 0.7767 GB, free: 87.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.521, allocations: 28.81 kB / 0.7767 GB, free: 87.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008287/0.5219, allocations: 0.6958 MB / 0.7774 GB, free: 87.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5219, allocations: 0 / 0.7774 GB, free: 87.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001388/0.5233, allocations: 386.3 kB / 0.7778 GB, free: 87.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001801/0.5234, allocations: 127.4 kB / 0.7779 GB, free: 87.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002733/0.5262, allocations: 2.012 MB / 0.7799 GB, free: 86.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5262, allocations: 0 / 0.7799 GB, free: 86.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007553/0.527, allocations: 0.8619 MB / 0.7807 GB, free: 85.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.5284, allocations: 269.8 kB / 0.781 GB, free: 85.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.5336, allocations: 3.832 MB / 0.7847 GB, free: 83.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.5353, allocations: 1.915 MB / 0.7866 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001174/0.5365, allocations: 450.6 kB / 0.787 GB, free: 82.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.5367, allocations: 79.09 kB / 0.7871 GB, free: 82.89 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.5367, allocations: 0 / 0.7871 GB, free: 82.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.02671/0.5634, allocations: 13.3 MB / 0.8001 GB, free: 79.32 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)