Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 119 kB / 16.42 MB, free: 6.473 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.001162/0.001162, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.358/1.358, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 290.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9477/0.9477, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 91.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6296/0.6317, allocations: 86.98 MB / 0.7671 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03913/0.6709, allocations: 34.83 MB / 0.8011 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.6919, allocations: 11.5 MB / 0.8123 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004629/0.6965, allocations: 163.2 kB / 0.8125 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01162/0.7082, allocations: 4.245 MB / 0.8166 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007208/0.7154, allocations: 1.99 MB / 0.8186 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007492/0.7229, allocations: 2.421 MB / 0.8209 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01312/0.7361, allocations: 8.46 MB / 0.8292 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02116/0.7573, allocations: 11.12 MB / 0.84 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00753/0.7649, allocations: 3.798 MB / 0.8437 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007991/0.7729, allocations: 4.187 MB / 0.8478 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003101/0.776, allocations: 0.7773 MB / 0.8486 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006691/0.7827, allocations: 2.032 MB / 0.8506 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005682/0.7884, allocations: 3.049 MB / 0.8536 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008651/0.7971, allocations: 3.408 MB / 0.8569 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01822/0.8154, allocations: 11.97 MB / 0.8686 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8154, allocations: 7.938 kB / 0.8686 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8154, allocations: 0 / 0.8686 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004559/0.8159, allocations: 0 / 0.8686 GB, free: 11.72 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.0204/0.8363, allocations: 5.802 MB / 0.8742 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.8364, allocations: 12.03 kB / 0.8743 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008386/0.8448, allocations: 1.052 MB / 0.8753 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009166/0.854, allocations: 3.453 MB / 0.8787 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005119/0.8545, allocations: 419.4 kB / 0.8791 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002798/0.8573, allocations: 0.5432 MB / 0.8796 GB, free: 316 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/0.8812, allocations: 9.075 MB / 0.8885 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000333/0.8816, allocations: 39.67 kB / 0.8885 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001729/0.8833, allocations: 240 kB / 0.8887 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004477/0.8838, allocations: 346.8 kB / 0.889 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01553/0.8993, allocations: 6.822 MB / 0.8957 GB, free: 15.46 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05249/0.9518, allocations: 39.79 MB / 0.9346 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.9563, allocations: 3.107 MB / 0.9376 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/0.959, allocations: 1.986 MB / 0.9395 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.411e-05/0.9592, allocations: 26 kB / 0.9396 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.9592, allocations: 44.56 kB / 0.9396 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 3.977e-06/0.9592, allocations: 0 / 0.9396 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02503/0.9842, allocations: 9.985 MB / 0.9494 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.9843, allocations: 69.41 kB / 0.9494 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.9866, allocations: 1.526 MB / 0.9509 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002089/0.9869, allocations: 53.7 kB / 0.951 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.9885, allocations: 2.257 MB / 0.9532 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006573/0.9891, allocations: 0.6279 MB / 0.9538 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006162/0.9897, allocations: 411.9 kB / 0.9542 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9899, allocations: 309.1 kB / 0.9545 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.9915, allocations: 1.179 MB / 0.9556 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.9936, allocations: 1.885 MB / 0.9575 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/0.9977, allocations: 3.371 MB / 0.9608 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.9978, allocations: 8 kB / 0.9608 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007849/1.006, allocations: 4.573 MB / 0.9652 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/1.006, allocations: 20.19 kB / 0.9653 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.006, allocations: 24 kB / 0.9653 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003828/1.01, allocations: 1.584 MB / 0.9668 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/1.011, allocations: 355.3 kB / 0.9672 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4604/1.471, allocations: 18.57 MB / 0.9853 GB, free: 172.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/1.473, allocations: 119.9 kB / 0.9854 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/1.474, allocations: 99.89 kB / 0.9855 GB, free: 172.5 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003056/1.477, allocations: 1.895 MB / 0.9874 GB, free: 171.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/1.477, allocations: 227.8 kB / 0.9876 GB, free: 171.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006413/1.484, allocations: 4.089 MB / 0.9916 GB, free: 170.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/1.484, allocations: 11.34 kB / 0.9916 GB, free: 170.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.484, allocations: 0 / 0.9916 GB, free: 170.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009899/1.485, allocations: 0.5253 MB / 0.9921 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/1.485, allocations: 31.16 kB / 0.9921 GB, free: 169.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/1.486, allocations: 90.42 kB / 0.9922 GB, free: 169.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/1.486, allocations: 195.3 kB / 0.9924 GB, free: 169.8 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00794/1.494, allocations: 4.468 MB / 0.9968 GB, free: 168.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004564/1.499, allocations: 4.302 MB / 1.001 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001261/1.5, allocations: 1.34 MB / 1.002 GB, free: 165.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001202/1.501, allocations: 1.011 MB / 1.003 GB, free: 164.8 MB / 0.7325 GB Notification: Performance of Backend: time 5.01e-07/1.501, allocations: 0 / 1.003 GB, free: 164.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006935/1.508, allocations: 3.948 MB / 1.007 GB, free: 160.9 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01404/1.522, allocations: 9.685 MB / 1.017 GB, free: 151.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.0717/1.594, allocations: 51.26 MB / 1.067 GB, free: 100.5 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)