Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 109 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.001164/0.001164, allocations: 187.9 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.462/1.462, allocations: 222.9 MB / 241.1 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.002292/0.002292, allocations: 284.1 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.9395/0.9395, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 95.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.5631, allocations: 86.97 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03642/0.5996, allocations: 32.59 MB / 0.7989 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.619, allocations: 10.27 MB / 0.8089 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004024/0.6231, allocations: 151.3 kB / 0.8091 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01021/0.6334, allocations: 3.71 MB / 0.8127 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006868/0.6402, allocations: 1.858 MB / 0.8145 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007248/0.6475, allocations: 2.136 MB / 0.8166 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01088/0.6584, allocations: 7.325 MB / 0.8238 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01519/0.6736, allocations: 9.408 MB / 0.8329 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006683/0.6804, allocations: 3.229 MB / 0.8361 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006554/0.687, allocations: 3.477 MB / 0.8395 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002851/0.6899, allocations: 0.6445 MB / 0.8401 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/0.6958, allocations: 1.775 MB / 0.8419 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004962/0.7008, allocations: 2.55 MB / 0.8443 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007556/0.7083, allocations: 2.89 MB / 0.8472 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.7251, allocations: 10.11 MB / 0.857 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.7252, allocations: 8 kB / 0.857 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7252, allocations: 0 / 0.857 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004504/0.7256, allocations: 0 / 0.857 GB, free: 7.402 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01712/0.7428, allocations: 4.994 MB / 0.8619 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.7428, allocations: 8.031 kB / 0.8619 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006765/0.7496, allocations: 0.9551 MB / 0.8629 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00734/0.757, allocations: 3.042 MB / 0.8658 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004078/0.7574, allocations: 349.7 kB / 0.8662 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002056/0.7595, allocations: 472.2 kB / 0.8666 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.7787, allocations: 7.659 MB / 0.8741 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002033/0.7789, allocations: 39.61 kB / 0.8741 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007304/0.7797, allocations: 200 kB / 0.8743 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003467/0.78, allocations: 312.9 kB / 0.8746 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.7908, allocations: 5.71 MB / 0.8802 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04167/0.8325, allocations: 34.82 MB / 0.9142 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.8355, allocations: 2.158 MB / 0.9163 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.8372, allocations: 1.264 MB / 0.9175 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.8374, allocations: 21.31 kB / 0.9176 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.8374, allocations: 51.86 kB / 0.9176 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=133): time 4.579e-06/0.8374, allocations: 0 / 0.9176 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136): time 0.01422/0.8516, allocations: 7.081 MB / 0.9245 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.8517, allocations: 64.72 kB / 0.9246 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.8543, allocations: 1.488 MB / 0.926 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/0.8544, allocations: 49.7 kB / 0.9261 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.8557, allocations: 2 MB / 0.928 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004238/0.8561, allocations: 493.1 kB / 0.9285 GB, free: 10 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000517/0.8567, allocations: 351.1 kB / 0.9289 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.8568, allocations: 301.1 kB / 0.9291 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.8581, allocations: 0.9135 MB / 0.93 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.8599, allocations: 1.597 MB / 0.9316 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/0.8633, allocations: 2.733 MB / 0.9343 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/0.8633, allocations: 8 kB / 0.9343 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006363/0.8697, allocations: 3.53 MB / 0.9377 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.8698, allocations: 18.64 kB / 0.9377 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/0.8698, allocations: 24 kB / 0.9378 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/0.8723, allocations: 0.9004 MB / 0.9386 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.8735, allocations: 351.4 kB / 0.939 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02296/0.8965, allocations: 23.1 MB / 0.9615 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.8984, allocations: 104 kB / 0.9616 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/0.8988, allocations: 84 kB / 0.9617 GB, free: 5.613 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003057/0.9019, allocations: 1.617 MB / 0.9633 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007303/0.9026, allocations: 205.5 kB / 0.9635 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005756/0.9084, allocations: 2.986 MB / 0.9664 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.9084, allocations: 11.97 kB / 0.9664 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.9085, allocations: 0 / 0.9664 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009699/0.9094, allocations: 466.4 kB / 0.9669 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/0.9099, allocations: 20 kB / 0.9669 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.9109, allocations: 63.92 kB / 0.9669 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/0.9113, allocations: 133.1 kB / 0.9671 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.407/1.318, allocations: 3.09 MB / 0.9701 GB, free: 181.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005522/1.324, allocations: 3.272 MB / 0.9733 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001664/1.326, allocations: 0.9609 MB / 0.9742 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001798/1.327, allocations: 0.9757 MB / 0.9752 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of Backend: time 8.71e-07/1.327, allocations: 0 / 0.9752 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006321/1.334, allocations: 3.894 MB / 0.979 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01205/1.346, allocations: 8.087 MB / 0.9869 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.05997/1.406, allocations: 42.9 MB / 1.029 GB, free: 137.9 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)