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.00115/0.00115, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001156/0.001157, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.353/1.353, allocations: 222.9 MB / 241 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.002314/0.002314, allocations: 284.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9535/0.9535, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 99.78 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5172/0.5191, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03724/0.5563, allocations: 32.59 MB / 0.7989 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.5742, allocations: 10.27 MB / 0.8089 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.5776, allocations: 147.3 kB / 0.8091 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01046/0.588, allocations: 3.717 MB / 0.8127 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007715/0.5958, allocations: 1.96 MB / 0.8146 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007179/0.603, allocations: 2.124 MB / 0.8167 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009572/0.6126, allocations: 7.349 MB / 0.8239 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01341/0.626, allocations: 9.412 MB / 0.8331 GB, free: 52 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005526/0.6316, allocations: 3.221 MB / 0.8362 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00623/0.6378, allocations: 3.477 MB / 0.8396 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001837/0.6397, allocations: 0.6445 MB / 0.8402 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004573/0.6443, allocations: 1.782 MB / 0.842 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003814/0.6481, allocations: 2.546 MB / 0.8445 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004853/0.653, allocations: 2.898 MB / 0.8473 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.6634, allocations: 10.11 MB / 0.8572 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.6635, allocations: 0 / 0.8572 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6635, allocations: 0 / 0.8572 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002376/0.6637, allocations: 0 / 0.8572 GB, free: 7.305 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.009686/0.6734, allocations: 4.99 MB / 0.862 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6735, allocations: 12.03 kB / 0.862 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005141/0.6786, allocations: 0.9551 MB / 0.863 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00615/0.6848, allocations: 3.054 MB / 0.866 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.685, allocations: 341.7 kB / 0.8663 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007673/0.6858, allocations: 464.2 kB / 0.8667 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.7015, allocations: 7.667 MB / 0.8742 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/0.7017, allocations: 39.61 kB / 0.8743 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0012/0.703, allocations: 200 kB / 0.8744 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003922/0.7034, allocations: 305 kB / 0.8747 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/0.7145, allocations: 5.718 MB / 0.8803 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04086/0.7554, allocations: 34.82 MB / 0.9143 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.7584, allocations: 2.157 MB / 0.9164 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.7601, allocations: 1.274 MB / 0.9177 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.772e-05/0.7603, allocations: 13.31 kB / 0.9177 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.7603, allocations: 43.88 kB / 0.9177 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=133): time 3.486e-06/0.7603, allocations: 0 / 0.9177 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136): time 0.01461/0.7749, allocations: 7.081 MB / 0.9246 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.775, allocations: 72.7 kB / 0.9247 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.7776, allocations: 1.484 MB / 0.9262 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.7777, allocations: 45.7 kB / 0.9262 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.779, allocations: 2.004 MB / 0.9282 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004903/0.7795, allocations: 489.1 kB / 0.9286 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/0.7801, allocations: 347.2 kB / 0.929 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.7802, allocations: 301.1 kB / 0.9292 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.7815, allocations: 0.9174 MB / 0.9301 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.7834, allocations: 1.593 MB / 0.9317 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/0.7868, allocations: 2.737 MB / 0.9344 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-05/0.7869, allocations: 8 kB / 0.9344 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006359/0.7932, allocations: 3.526 MB / 0.9378 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.7933, allocations: 20.91 kB / 0.9378 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/0.7933, allocations: 24 kB / 0.9379 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/0.796, allocations: 0.9076 MB / 0.9388 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.7973, allocations: 351.4 kB / 0.9391 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/0.8193, allocations: 23.1 MB / 0.9616 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.8211, allocations: 99.95 kB / 0.9617 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/0.8214, allocations: 88 kB / 0.9618 GB, free: 5.52 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.003238/0.8247, allocations: 1.606 MB / 0.9634 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005376/0.8252, allocations: 205.6 kB / 0.9636 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/0.8309, allocations: 2.998 MB / 0.9665 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.8309, allocations: 7.969 kB / 0.9665 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.8309, allocations: 4 kB / 0.9665 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.832, allocations: 450.5 kB / 0.967 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004787/0.8325, allocations: 24 kB / 0.967 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.8335, allocations: 67.91 kB / 0.967 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.419/1.253, allocations: 124.5 kB / 0.9672 GB, free: 181.9 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007568/1.26, allocations: 3.095 MB / 0.9702 GB, free: 181.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004448/1.265, allocations: 3.275 MB / 0.9734 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001219/1.266, allocations: 0.9612 MB / 0.9743 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001404/1.267, allocations: 0.9747 MB / 0.9753 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of Backend: time 7.21e-07/1.267, allocations: 0 / 0.9753 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006093/1.273, allocations: 3.895 MB / 0.9791 GB, free: 178 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01068/1.284, allocations: 8.086 MB / 0.987 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.05524/1.339, allocations: 42.92 MB / 1.029 GB, free: 137.8 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)