Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 114.8 kB / 16.38 MB, free: 6.02 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.001104/0.001104, allocations: 186.8 kB / 17.31 MB, free: 5.617 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.597/1.597, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.809/1.809, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001457/0.001458, allocations: 64.47 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2624, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.4841/0.7465, allocations: 11.82 MB / 0.7964 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008288/0.7549, allocations: 5.357 MB / 0.8016 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.7562, allocations: 35.91 kB / 0.8016 GB, free: 40.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.7592, allocations: 1.035 MB / 0.8026 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.7613, allocations: 0.6249 MB / 0.8032 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.7639, allocations: 0.9155 MB / 0.8041 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003831/0.7677, allocations: 2.462 MB / 0.8065 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005213/0.773, allocations: 3.574 MB / 0.81 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.7756, allocations: 1.105 MB / 0.8111 GB, free: 36.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.7782, allocations: 1.211 MB / 0.8123 GB, free: 36.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005408/0.7788, allocations: 231.8 kB / 0.8125 GB, free: 36.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.7802, allocations: 0.4976 MB / 0.813 GB, free: 36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.7815, allocations: 0.8985 MB / 0.8139 GB, free: 35.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.783, allocations: 0.9884 MB / 0.8148 GB, free: 35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006143/0.7891, allocations: 3.54 MB / 0.8183 GB, free: 33.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.7892, allocations: 7.938 kB / 0.8183 GB, free: 33.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7892, allocations: 0 / 0.8183 GB, free: 33.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001367/0.7893, allocations: 0 / 0.8183 GB, free: 33.91 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006095/0.7955, allocations: 1.928 MB / 0.8202 GB, free: 32.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.7955, allocations: 10.06 kB / 0.8202 GB, free: 32.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.7983, allocations: 458.6 kB / 0.8206 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.8007, allocations: 1.124 MB / 0.8217 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.271e-05/0.8008, allocations: 113.5 kB / 0.8218 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.8011, allocations: 153.5 kB / 0.822 GB, free: 31.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005658/0.8068, allocations: 2.746 MB / 0.8247 GB, free: 30.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.8069, allocations: 3.438 kB / 0.8247 GB, free: 30.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.8071, allocations: 63.3 kB / 0.8247 GB, free: 30.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003559/0.8074, allocations: 144.6 kB / 0.8249 GB, free: 30.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.8118, allocations: 2.273 MB / 0.8271 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.8251, allocations: 10.34 MB / 0.8372 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.8261, allocations: 0.5575 MB / 0.8377 GB, free: 22.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.8268, allocations: 378 kB / 0.8381 GB, free: 22.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.8269, allocations: 91.97 kB / 0.8382 GB, free: 22.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.8269, allocations: 43 kB / 0.8382 GB, free: 22.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 2.414e-06/0.8269, allocations: 0.9688 kB / 0.8382 GB, free: 22.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.0197/0.8466, allocations: 5.547 MB / 0.8436 GB, free: 19.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.8467, allocations: 61.56 kB / 0.8437 GB, free: 19.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.8481, allocations: 0.8799 MB / 0.8446 GB, free: 19.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.8483, allocations: 36.3 kB / 0.8446 GB, free: 19.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.8488, allocations: 0.7587 MB / 0.8453 GB, free: 18.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.8489, allocations: 182.9 kB / 0.8455 GB, free: 18.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.8493, allocations: 192.2 kB / 0.8457 GB, free: 18.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8495, allocations: 394.1 kB / 0.8461 GB, free: 18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009891/0.8505, allocations: 0.6205 MB / 0.8467 GB, free: 17.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.8517, allocations: 0.9765 MB / 0.8476 GB, free: 16.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.854, allocations: 1.625 MB / 0.8492 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.854, allocations: 7.562 kB / 0.8492 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008925/0.863, allocations: 3.067 MB / 0.8522 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.863, allocations: 10.53 kB / 0.8522 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/0.8631, allocations: 11.16 kB / 0.8522 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007091/0.8702, allocations: 1.659 MB / 0.8539 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.8713, allocations: 217.4 kB / 0.8541 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/0.8912, allocations: 10.58 MB / 0.8644 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.8935, allocations: 158.4 kB / 0.8645 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.8937, allocations: 43.06 kB / 0.8646 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003203/0.8969, allocations: 1.283 MB / 0.8658 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00155/0.8985, allocations: 0.9528 MB / 0.8668 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002946/0.9014, allocations: 1.567 MB / 0.8683 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.329e-05/0.9015, allocations: 8.062 kB / 0.8683 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.01022/0.9117, allocations: 2.6 MB / 0.8708 GB, free: 144 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.9118, allocations: 13.97 kB / 0.8709 GB, free: 132 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.9118, allocations: 12 kB / 0.8709 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00688/0.9187, allocations: 1.067 MB / 0.8719 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.9203, allocations: 239.6 kB / 0.8721 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.9314, allocations: 5.748 MB / 0.8778 GB, free: 8.781 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.933, allocations: 147.8 kB / 0.8779 GB, free: 8.637 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.9332, allocations: 47.98 kB / 0.8779 GB, free: 8.59 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004085/0.9336, allocations: 244 kB / 0.8782 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.9338, allocations: 82.94 kB / 0.8783 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007805/0.9416, allocations: 2.532 MB / 0.8807 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.9416, allocations: 7.922 kB / 0.8807 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.9416, allocations: 0 / 0.8807 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007625/0.9424, allocations: 268.1 kB / 0.881 GB, free: 5.406 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.9426, allocations: 12 kB / 0.881 GB, free: 5.395 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/0.9434, allocations: 103.8 kB / 0.8811 GB, free: 5.293 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.9436, allocations: 52.3 kB / 0.8811 GB, free: 5.242 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005288/0.9489, allocations: 2.099 MB / 0.8832 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00269/0.9516, allocations: 1.79 MB / 0.8849 GB, free: 1.312 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008009/0.9524, allocations: 0.5459 MB / 0.8855 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001104/0.9536, allocations: 0.6278 MB / 0.8861 GB, free: 152 kB / 0.67 GB Notification: Performance of Backend: time 6.31e-07/0.9536, allocations: 4 kB / 0.8861 GB, free: 148 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006152/0.9597, allocations: 2.845 MB / 0.8889 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006212/0.966, allocations: 3.29 MB / 0.8921 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of Templates: time 0.04603/1.012, allocations: 27.5 MB / 0.9189 GB, free: 14.62 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)