Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 104.3 kB / 16.27 MB, free: 6.098 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.001186/0.001187, allocations: 188.9 kB / 17.2 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.3 MB / 0.5495 GB, free: 17.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.219, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.4442/0.6632, allocations: 37.8 MB / 0.8209 GB, free: 27.6 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.6812, allocations: 11.08 MB / 0.8318 GB, free: 20.03 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005229/0.6865, allocations: 152.6 kB / 0.8319 GB, free: 19.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01128/0.6979, allocations: 4.347 MB / 0.8362 GB, free: 17.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.7086, allocations: 2.222 MB / 0.8383 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007621/0.7163, allocations: 2.166 MB / 0.8404 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01416/0.7304, allocations: 9.285 MB / 0.8495 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0191/0.7496, allocations: 11.35 MB / 0.8606 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009407/0.759, allocations: 3.985 MB / 0.8645 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009903/0.769, allocations: 4.511 MB / 0.8689 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004221/0.7732, allocations: 0.8219 MB / 0.8697 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008009/0.7813, allocations: 1.585 MB / 0.8712 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007045/0.7884, allocations: 3.147 MB / 0.8743 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01154/0.7999, allocations: 3.657 MB / 0.8779 GB, free: 11.22 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01836/0.8183, allocations: 12.23 MB / 0.8898 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.8184, allocations: 4 kB / 0.8898 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8184, allocations: 4 kB / 0.8898 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004515/0.8188, allocations: 0 / 0.8898 GB, free: 14.94 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01902/0.8379, allocations: 6.311 MB / 0.896 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.8379, allocations: 8.031 kB / 0.896 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006737/0.8447, allocations: 1.067 MB / 0.8971 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008062/0.8528, allocations: 3.419 MB / 0.9004 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000437/0.8532, allocations: 427.7 kB / 0.9008 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00223/0.8555, allocations: 0.5433 MB / 0.9013 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/0.8782, allocations: 9.374 MB / 0.9105 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002898/0.8785, allocations: 23.72 kB / 0.9105 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001935/0.8804, allocations: 250.4 kB / 0.9107 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006737/0.8811, allocations: 430.9 kB / 0.9112 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.8967, allocations: 7.12 MB / 0.9181 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05014/0.9469, allocations: 41.31 MB / 0.9585 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004857/0.9518, allocations: 3.108 MB / 0.9615 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003086/0.9549, allocations: 2.145 MB / 0.9636 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.9551, allocations: 26 kB / 0.9636 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.9552, allocations: 64.5 kB / 0.9637 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=209): time 3.967e-06/0.9552, allocations: 0 / 0.9637 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=212): time 0.02516/0.9804, allocations: 10.56 MB / 0.974 GB, free: 4.441 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.9805, allocations: 77.34 kB / 0.9741 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/0.9841, allocations: 2.002 MB / 0.976 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003199/0.9844, allocations: 65.69 kB / 0.9761 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001711/0.9861, allocations: 2.408 MB / 0.9784 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008676/0.987, allocations: 0.7279 MB / 0.9791 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000958/0.988, allocations: 481.2 kB / 0.9796 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.9881, allocations: 305.1 kB / 0.9799 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.9902, allocations: 1.372 MB / 0.9812 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.9928, allocations: 2.104 MB / 0.9833 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004937/0.9977, allocations: 3.766 MB / 0.987 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.111e-05/0.9978, allocations: 8 kB / 0.987 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009054/1.007, allocations: 5.065 MB / 0.9919 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/1.007, allocations: 20.03 kB / 0.9919 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/1.007, allocations: 23.98 kB / 0.9919 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/1.011, allocations: 1.592 MB / 0.9935 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/1.012, allocations: 455.2 kB / 0.9939 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02403/1.036, allocations: 18.59 MB / 1.012 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/1.039, allocations: 147.9 kB / 1.012 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005457/1.04, allocations: 108 kB / 1.012 GB, free: 11.85 MB / 0.8106 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004647/1.045, allocations: 1.941 MB / 1.014 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009293/1.045, allocations: 289.3 kB / 1.015 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008517/1.054, allocations: 4.447 MB / 1.019 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/1.054, allocations: 24 kB / 1.019 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.571e-05/1.054, allocations: 16 kB / 1.019 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.86e-05/1.054, allocations: 11.95 kB / 1.019 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02044/1.075, allocations: 9.668 MB / 1.028 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/1.075, allocations: 4.562 kB / 1.028 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.076, allocations: 232.2 kB / 1.029 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003663/1.08, allocations: 1.448 MB / 1.03 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003012/1.08, allocations: 40 kB / 1.03 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02815/1.108, allocations: 18.57 MB / 1.048 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/1.108, allocations: 7.984 kB / 1.048 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009541/1.118, allocations: 4.548 MB / 1.053 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/1.12, allocations: 0.6323 MB / 1.053 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009026/1.12, allocations: 43.94 kB / 1.053 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.122, allocations: 115.8 kB / 1.053 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006423/1.123, allocations: 177.6 kB / 1.054 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/1.123, allocations: 64 kB / 1.054 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002492/1.126, allocations: 1.323 MB / 1.055 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.3e-07/1.126, allocations: 0 / 1.055 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004303/1.13, allocations: 1.137 MB / 1.056 GB, free: 14.25 MB / 0.8575 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004624/1.131, allocations: 159.1 kB / 1.056 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01068/1.141, allocations: 5.92 MB / 1.062 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/1.141, allocations: 3.859 kB / 1.062 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.005114/1.147, allocations: 2.918 MB / 1.065 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00527/1.152, allocations: 0.8838 MB / 1.066 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/1.173, allocations: 10.16 MB / 1.076 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006398/1.179, allocations: 3.788 MB / 1.079 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000879/1.18, allocations: 163.4 kB / 1.079 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of SimCode: time 1.492e-06/1.18, allocations: 0 / 1.079 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of Templates: time 0.575/1.755, allocations: 171.8 MB / 1.247 GB, free: 213.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)