Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001586/0.001586, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002289/0.002289, allocations: 281.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9862/0.9862, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 95.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4866, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04142/0.5281, allocations: 37.58 MB / 0.8038 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.553, allocations: 13.04 MB / 0.8165 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005235/0.5583, allocations: 171.1 kB / 0.8167 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.5697, allocations: 3.888 MB / 0.8205 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.5811, allocations: 2.616 MB / 0.823 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.5926, allocations: 2.702 MB / 0.8257 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02262/0.6152, allocations: 9.606 MB / 0.835 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02778/0.6431, allocations: 10.48 MB / 0.8453 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.655, allocations: 4.07 MB / 0.8493 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/0.6683, allocations: 4.384 MB / 0.8535 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.004225/0.6726, allocations: 0.7734 MB / 0.8543 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009312/0.6819, allocations: 1.779 MB / 0.856 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.008434/0.6904, allocations: 3.04 MB / 0.859 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01191/0.7024, allocations: 3.587 MB / 0.8625 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02595/0.7284, allocations: 11.85 MB / 0.8741 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.7284, allocations: 0 / 0.8741 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7284, allocations: 0 / 0.8741 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004497/0.7289, allocations: 0 / 0.8741 GB, free: 5.926 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02271/0.7516, allocations: 6.354 MB / 0.8803 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.7517, allocations: 12.03 kB / 0.8803 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.7622, allocations: 1.301 MB / 0.8816 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/0.7732, allocations: 3.787 MB / 0.8853 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004922/0.7737, allocations: 382.5 kB / 0.8856 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002666/0.7764, allocations: 0.5002 MB / 0.8861 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.7988, allocations: 8.89 MB / 0.8948 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001762/0.799, allocations: 31.72 kB / 0.8948 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009364/0.8, allocations: 220 kB / 0.895 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002372/0.8023, allocations: 0.6265 MB / 0.8956 GB, free: 15.31 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/0.8166, allocations: 7.014 MB / 0.9025 GB, free: 8.289 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05142/0.8681, allocations: 40.06 MB / 0.9416 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.8724, allocations: 2.888 MB / 0.9444 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003889/0.8764, allocations: 2.667 MB / 0.947 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.8767, allocations: 34.03 kB / 0.9471 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.834e-05/0.8767, allocations: 64.59 kB / 0.9471 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 4.749e-06/0.8768, allocations: 0 / 0.9471 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.7105/1.587, allocations: 74.69 MB / 1.02 GB, free: 151.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.587, allocations: 98.2 kB / 1.02 GB, free: 151.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/1.59, allocations: 2.359 MB / 1.022 GB, free: 148.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006273/1.591, allocations: 97.7 kB / 1.023 GB, free: 148.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009524/1.592, allocations: 2.34 MB / 1.025 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.593, allocations: 1.438 MB / 1.026 GB, free: 145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/1.594, allocations: 0.7215 MB / 1.027 GB, free: 144.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.505e-05/1.594, allocations: 309 kB / 1.027 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003433/1.597, allocations: 2.995 MB / 1.03 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003769/1.601, allocations: 3.843 MB / 1.034 GB, free: 136.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007764/1.609, allocations: 7.384 MB / 1.041 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/1.609, allocations: 8 kB / 1.041 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.0253/1.634, allocations: 12.56 MB / 1.053 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.634, allocations: 16 kB / 1.053 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/1.634, allocations: 27.98 kB / 1.053 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02199/1.656, allocations: 6.028 MB / 1.059 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/1.659, allocations: 491.2 kB / 1.06 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07045/1.729, allocations: 72.98 MB / 1.131 GB, free: 33.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004506/1.734, allocations: 219.8 kB / 1.131 GB, free: 33.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005499/1.734, allocations: 152 kB / 1.131 GB, free: 33.18 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003105/1.737, allocations: 1.994 MB / 1.133 GB, free: 31.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000836/1.738, allocations: 391.4 kB / 1.134 GB, free: 30.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02619/1.764, allocations: 12.23 MB / 1.146 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.216e-05/1.764, allocations: 19.92 kB / 1.146 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.764, allocations: 3.938 kB / 1.146 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/1.767, allocations: 1.098 MB / 1.147 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009177/1.768, allocations: 72 kB / 1.147 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/1.771, allocations: 187.7 kB / 1.147 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/1.773, allocations: 0.5101 MB / 1.148 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02839/1.801, allocations: 12.59 MB / 1.16 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01449/1.816, allocations: 10.71 MB / 1.17 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004619/1.82, allocations: 3.504 MB / 1.174 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00237/1.823, allocations: 1.556 MB / 1.175 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of Backend: time 3.9e-07/1.823, allocations: 0 / 1.175 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02185/1.844, allocations: 10.38 MB / 1.185 GB, free: 9.527 MB / 0.7637 GB Notification: Performance of SimCode: time 0.02184/1.866, allocations: 13.98 MB / 1.199 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of Templates: time 0.5454/2.412, allocations: 108.8 MB / 1.305 GB, free: 281.9 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)