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.001582/0.001582, allocations: 105.3 kB / 16.41 MB, free: 6.453 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.001722/0.001722, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002384/0.002384, allocations: 283.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9691/0.9691, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4387, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03594/0.4747, allocations: 32.59 MB / 0.7989 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01606/0.4908, allocations: 10.28 MB / 0.8089 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.4933, allocations: 147.3 kB / 0.8091 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008913/0.5022, allocations: 3.709 MB / 0.8127 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004939/0.5072, allocations: 1.862 MB / 0.8145 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005259/0.5124, allocations: 2.13 MB / 0.8166 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008751/0.5212, allocations: 7.329 MB / 0.8237 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.5336, allocations: 9.408 MB / 0.8329 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004745/0.5384, allocations: 3.225 MB / 0.8361 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005133/0.5435, allocations: 3.481 MB / 0.8395 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001614/0.5452, allocations: 0.6445 MB / 0.8401 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003917/0.5491, allocations: 1.775 MB / 0.8418 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003141/0.5523, allocations: 2.55 MB / 0.8443 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004971/0.5573, allocations: 2.894 MB / 0.8472 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.5681, allocations: 10.12 MB / 0.857 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5682, allocations: 0 / 0.857 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5682, allocations: 0 / 0.857 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002225/0.5684, allocations: 0 / 0.857 GB, free: 7.434 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.01004/0.5785, allocations: 4.994 MB / 0.8619 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5785, allocations: 8.031 kB / 0.8619 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/0.5838, allocations: 0.959 MB / 0.8629 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005605/0.5894, allocations: 3.042 MB / 0.8658 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/0.5897, allocations: 349.7 kB / 0.8662 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.5907, allocations: 460.2 kB / 0.8666 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.6043, allocations: 7.675 MB / 0.8741 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.6045, allocations: 31.69 kB / 0.8741 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004752/0.6049, allocations: 196 kB / 0.8743 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003208/0.6053, allocations: 312.9 kB / 0.8746 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009564/0.6148, allocations: 5.71 MB / 0.8802 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/0.6509, allocations: 34.82 MB / 0.9142 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.6537, allocations: 2.154 MB / 0.9163 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.6554, allocations: 1.268 MB / 0.9175 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.404e-05/0.6555, allocations: 21.31 kB / 0.9176 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.6555, allocations: 47.86 kB / 0.9176 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=133): time 3.086e-06/0.6555, allocations: 0 / 0.9176 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136): time 0.01437/0.6699, allocations: 7.081 MB / 0.9245 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.67, allocations: 68.72 kB / 0.9246 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.6725, allocations: 1.488 MB / 0.926 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.6727, allocations: 49.7 kB / 0.9261 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.674, allocations: 2 MB / 0.928 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005456/0.6746, allocations: 489.1 kB / 0.9285 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005531/0.6752, allocations: 351.1 kB / 0.9288 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.6753, allocations: 301.1 kB / 0.9291 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.6766, allocations: 0.9135 MB / 0.93 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.6783, allocations: 1.605 MB / 0.9316 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/0.6815, allocations: 2.729 MB / 0.9343 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/0.6816, allocations: 8 kB / 0.9343 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006038/0.6876, allocations: 3.526 MB / 0.9377 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.6877, allocations: 15.98 kB / 0.9377 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.6877, allocations: 24.88 kB / 0.9377 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.6902, allocations: 0.9076 MB / 0.9386 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.6914, allocations: 351.4 kB / 0.939 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/0.7127, allocations: 23.1 MB / 0.9615 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.7143, allocations: 99.95 kB / 0.9616 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/0.7145, allocations: 95.88 kB / 0.9617 GB, free: 5.645 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.002598/0.7171, allocations: 1.609 MB / 0.9633 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/0.7176, allocations: 209.5 kB / 0.9635 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/0.723, allocations: 2.986 MB / 0.9664 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.723, allocations: 16 kB / 0.9664 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.068e-05/0.7231, allocations: 11.98 kB / 0.9664 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.7231, allocations: 3.984 kB / 0.9664 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3875/1.111, allocations: 7.329 MB / 0.9736 GB, free: 180.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.111, allocations: 4.531 kB / 0.9736 GB, free: 180.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007783/1.111, allocations: 180 kB / 0.9738 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/1.114, allocations: 0.8285 MB / 0.9746 GB, free: 179.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.731e-05/1.114, allocations: 27.02 kB / 0.9746 GB, free: 179.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.128, allocations: 21.95 MB / 0.996 GB, free: 161 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.128, allocations: 7.062 kB / 0.996 GB, free: 161 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004365/1.133, allocations: 3.024 MB / 0.999 GB, free: 159.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008695/1.133, allocations: 463.7 kB / 0.9994 GB, free: 159.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/1.134, allocations: 34.66 kB / 0.9995 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007948/1.134, allocations: 69.81 kB / 0.9995 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003864/1.135, allocations: 126 kB / 0.9996 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/1.135, allocations: 38.12 kB / 0.9997 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001116/1.136, allocations: 0.9778 MB / 1.001 GB, free: 159 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.21e-07/1.136, allocations: 0 / 1.001 GB, free: 159 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002504/1.139, allocations: 0.791 MB / 1.001 GB, free: 158.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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 {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002181/1.139, allocations: 140.5 kB / 1.002 GB, free: 158.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004488/1.143, allocations: 4.033 MB / 1.005 GB, free: 156.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.143, allocations: 0 / 1.005 GB, free: 156.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/1.146, allocations: 2.733 MB / 1.008 GB, free: 154.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/1.149, allocations: 0.7449 MB / 1.009 GB, free: 154.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.16, allocations: 7.728 MB / 1.016 GB, free: 147.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/1.163, allocations: 3.176 MB / 1.02 GB, free: 144.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/1.163, allocations: 131.4 kB / 1.02 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of SimCode: time 9.11e-07/1.163, allocations: 0 / 1.02 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.5859/1.749, allocations: 321.7 MB / 1.334 GB, free: 288 MB / 0.8731 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)