Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001854/0.001854, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.592/1.592, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.827/1.827, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001496/0.001496, allocations: 71.91 kB / 0.6729 GB, free: 5.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2594, allocations: 114.6 MB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.4967/0.7562, allocations: 11.92 MB / 0.7964 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008275/0.7645, allocations: 5.578 MB / 0.8019 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.7661, allocations: 36.03 kB / 0.8019 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.7692, allocations: 1.049 MB / 0.803 GB, free: 40 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.7714, allocations: 0.643 MB / 0.8036 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.7744, allocations: 0.9711 MB / 0.8045 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004275/0.7787, allocations: 2.581 MB / 0.807 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005929/0.7846, allocations: 3.846 MB / 0.8108 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.7877, allocations: 1.186 MB / 0.812 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.7904, allocations: 1.329 MB / 0.8133 GB, free: 35.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004961/0.7909, allocations: 257.7 kB / 0.8135 GB, free: 35.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.7924, allocations: 0.5349 MB / 0.814 GB, free: 35.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.7935, allocations: 0.9381 MB / 0.8149 GB, free: 35.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.7952, allocations: 1.061 MB / 0.816 GB, free: 34.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00599/0.8012, allocations: 3.835 MB / 0.8197 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8012, allocations: 0.8438 kB / 0.8197 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8013, allocations: 0 / 0.8197 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001217/0.8014, allocations: 1.406 kB / 0.8197 GB, free: 33.25 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.007617/0.809, allocations: 2.083 MB / 0.8218 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.8091, allocations: 13.73 kB / 0.8218 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/0.8126, allocations: 0.6949 MB / 0.8225 GB, free: 31.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.8156, allocations: 1.212 MB / 0.8236 GB, free: 31.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.8158, allocations: 120.8 kB / 0.8238 GB, free: 31.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004582/0.8162, allocations: 165.4 kB / 0.8239 GB, free: 31.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006747/0.823, allocations: 2.94 MB / 0.8268 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-05/0.8231, allocations: 2.844 kB / 0.8268 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/0.8233, allocations: 68.59 kB / 0.8268 GB, free: 30.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004541/0.8238, allocations: 165.1 kB / 0.827 GB, free: 30.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005177/0.829, allocations: 2.487 MB / 0.8294 GB, free: 29.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/0.8444, allocations: 10.7 MB / 0.8399 GB, free: 21.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.8459, allocations: 0.9133 MB / 0.8408 GB, free: 21.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008135/0.8468, allocations: 0.5003 MB / 0.8413 GB, free: 20.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.8469, allocations: 89.34 kB / 0.8413 GB, free: 20.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.847, allocations: 41.31 kB / 0.8414 GB, free: 20.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 2.705e-06/0.847, allocations: 0.7812 kB / 0.8414 GB, free: 20.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.02697/0.874, allocations: 7.693 MB / 0.8489 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.874, allocations: 64.72 kB / 0.849 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.8757, allocations: 0.926 MB / 0.8499 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.8759, allocations: 37.02 kB / 0.8499 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.8764, allocations: 0.7771 MB / 0.8507 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.8767, allocations: 254.1 kB / 0.8509 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005009/0.8772, allocations: 209.8 kB / 0.8511 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8774, allocations: 397.4 kB / 0.8515 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.8786, allocations: 0.7797 MB / 0.8522 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.8801, allocations: 1.127 MB / 0.8533 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.8828, allocations: 1.948 MB / 0.8552 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/0.8828, allocations: 6.875 kB / 0.8553 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009553/0.8924, allocations: 3.601 MB / 0.8588 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.8924, allocations: 13.42 kB / 0.8588 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/0.8925, allocations: 11.47 kB / 0.8588 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00757/0.9, allocations: 1.897 MB / 0.8606 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000988/0.901, allocations: 225.5 kB / 0.8609 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/0.9152, allocations: 10.58 MB / 0.8712 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.917, allocations: 171.7 kB / 0.8714 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.9172, allocations: 51.98 kB / 0.8714 GB, free: 32 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002866/0.9201, allocations: 1.49 MB / 0.8729 GB, free: 14.54 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001601/0.9217, allocations: 1.092 MB / 0.8739 GB, free: 13.29 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002802/0.9245, allocations: 1.892 MB / 0.8758 GB, free: 11.25 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.221e-05/0.9245, allocations: 5.719 kB / 0.8758 GB, free: 11.24 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.008135/0.9327, allocations: 3.045 MB / 0.8788 GB, free: 8.184 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.9327, allocations: 8 kB / 0.8788 GB, free: 8.176 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.9327, allocations: 12 kB / 0.8788 GB, free: 8.164 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005007/0.9378, allocations: 1.208 MB / 0.88 GB, free: 6.953 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.939, allocations: 274.1 kB / 0.8802 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008999/0.948, allocations: 5.851 MB / 0.8859 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.9498, allocations: 163.8 kB / 0.8861 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.95, allocations: 51.98 kB / 0.8861 GB, free: 492 kB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004837/0.9505, allocations: 247.9 kB / 0.8864 GB, free: 236 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.9509, allocations: 86.97 kB / 0.8865 GB, free: 148 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008913/0.9598, allocations: 3.136 MB / 0.8895 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.9598, allocations: 3.984 kB / 0.8895 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.9598, allocations: 0 / 0.8895 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007947/0.9606, allocations: 319.9 kB / 0.8898 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.961, allocations: 15.91 kB / 0.8898 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.9621, allocations: 131.8 kB / 0.89 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.9623, allocations: 76.52 kB / 0.89 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006736/0.9691, allocations: 2.82 MB / 0.8928 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003594/0.9727, allocations: 2.379 MB / 0.8951 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0011/0.9738, allocations: 0.7623 MB / 0.8959 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001338/0.9752, allocations: 0.6668 MB / 0.8965 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of Backend: time 3.91e-07/0.9752, allocations: 0 / 0.8965 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006832/0.982, allocations: 3.11 MB / 0.8995 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of SimCode: time 0.008241/0.9903, allocations: 3.717 MB / 0.9032 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of Templates: time 0.05739/1.048, allocations: 33.92 MB / 0.9363 GB, free: 13.24 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)