Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 107.5 kB / 17.03 MB, free: 6.094 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.002001/0.002001, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.368/1.368, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7677/0.7677, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3386, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006079/0.3447, allocations: 5.056 MB / 0.5625 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.3493, allocations: 3.334 MB / 0.5658 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.3497, allocations: 12.84 kB / 0.5658 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.3513, allocations: 0.5037 MB / 0.5663 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009961/0.3523, allocations: 377.8 kB / 0.5666 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.353, allocations: 277.9 kB / 0.5669 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009316/0.354, allocations: 0.6474 MB / 0.5675 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006976/0.3547, allocations: 0.524 MB / 0.568 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004434/0.3552, allocations: 281.6 kB / 0.5683 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/0.3557, allocations: 293 kB / 0.5686 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.724e-05/0.3558, allocations: 44.59 kB / 0.5686 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000693/0.3565, allocations: 302.3 kB / 0.5689 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.3567, allocations: 169.9 kB / 0.5691 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002747/0.357, allocations: 244.1 kB / 0.5693 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.3582, allocations: 0.8253 MB / 0.5701 GB, free: 29.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3582, allocations: 1.438 kB / 0.5701 GB, free: 29.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3582, allocations: 0 / 0.5701 GB, free: 29.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.3583, allocations: 1.625 kB / 0.5701 GB, free: 29.15 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001485/0.3597, allocations: 0.8025 MB / 0.5709 GB, free: 28.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3598, allocations: 9.156 kB / 0.5709 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/0.3626, allocations: 0.6642 MB / 0.5716 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/0.3636, allocations: 469 kB / 0.572 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.3636, allocations: 22.03 kB / 0.572 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.3637, allocations: 42.06 kB / 0.5721 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.3653, allocations: 0.8271 MB / 0.5729 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3653, allocations: 4.969 kB / 0.5729 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.3654, allocations: 11.53 kB / 0.5729 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.3656, allocations: 59.92 kB / 0.573 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.3676, allocations: 0.912 MB / 0.5738 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.3715, allocations: 2.837 MB / 0.5766 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.3731, allocations: 0.541 MB / 0.5771 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.3738, allocations: 298.2 kB / 0.5774 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.3739, allocations: 86.61 kB / 0.5775 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.374, allocations: 37.08 kB / 0.5775 GB, free: 25.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.224e-06/0.374, allocations: 0.7812 kB / 0.5775 GB, free: 25.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01208/0.3861, allocations: 3.4 MB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.3861, allocations: 54.28 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.3867, allocations: 400.4 kB / 0.5813 GB, free: 23.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.376e-05/0.3867, allocations: 30.92 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3869, allocations: 231.4 kB / 0.5816 GB, free: 23.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.387, allocations: 112.3 kB / 0.5817 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.3872, allocations: 84.48 kB / 0.5817 GB, free: 23.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.3873, allocations: 349.1 kB / 0.5821 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008377/0.3882, allocations: 384.3 kB / 0.5824 GB, free: 22.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008448/0.389, allocations: 455.1 kB / 0.5829 GB, free: 22.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.3908, allocations: 0.8192 MB / 0.5837 GB, free: 22.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3908, allocations: 0 / 0.5837 GB, free: 22.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005144/0.396, allocations: 1.628 MB / 0.5853 GB, free: 21.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.396, allocations: 9.156 kB / 0.5853 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.396, allocations: 2.594 kB / 0.5853 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003907/0.3999, allocations: 0.875 MB / 0.5861 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.4006, allocations: 124.4 kB / 0.5862 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007279/0.4079, allocations: 6.667 MB / 0.5928 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.4087, allocations: 105.9 kB / 0.5929 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/0.4088, allocations: 22.73 kB / 0.5929 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001102/0.4099, allocations: 0.5522 MB / 0.5934 GB, free: 14.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008509/0.4108, allocations: 452.2 kB / 0.5939 GB, free: 14.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001542/0.4124, allocations: 0.792 MB / 0.5946 GB, free: 13.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.4124, allocations: 0 / 0.5946 GB, free: 13.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004686/0.4171, allocations: 1.618 MB / 0.5962 GB, free: 11.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4171, allocations: 8 kB / 0.5962 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4171, allocations: 0 / 0.5962 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.4197, allocations: 0.6471 MB / 0.5968 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.4203, allocations: 135.8 kB / 0.597 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/0.4258, allocations: 7.284 MB / 0.6041 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008535/0.4267, allocations: 103.9 kB / 0.6042 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.4267, allocations: 19.98 kB / 0.6042 GB, free: 3.176 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.4269, allocations: 197.7 kB / 0.6044 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.427, allocations: 43.47 kB / 0.6044 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/0.4315, allocations: 1.521 MB / 0.6059 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4315, allocations: 0 / 0.6059 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.4316, allocations: 4 kB / 0.6059 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4316, allocations: 3.984 kB / 0.6059 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/0.4371, allocations: 2.198 MB / 0.6081 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4371, allocations: 0 / 0.6081 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.4375, allocations: 87.98 kB / 0.6082 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/0.4411, allocations: 0.806 MB / 0.6089 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.4412, allocations: 11.98 kB / 0.609 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007931/0.4491, allocations: 6.508 MB / 0.6153 GB, free: 7.262 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.4492, allocations: 7.938 kB / 0.6153 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/0.4545, allocations: 1.522 MB / 0.6168 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.4549, allocations: 176.6 kB / 0.617 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.455, allocations: 11.94 kB / 0.617 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/0.4557, allocations: 83.86 kB / 0.6171 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.4559, allocations: 35.83 kB / 0.6171 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/0.4559, allocations: 12 kB / 0.6171 GB, free: 5.363 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004385/0.4564, allocations: 299.1 kB / 0.6174 GB, free: 5.066 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4564, allocations: 0 / 0.6174 GB, free: 5.066 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001117/0.4575, allocations: 240 kB / 0.6176 GB, free: 4.832 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002023/0.4577, allocations: 115.2 kB / 0.6177 GB, free: 4.711 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00441/0.4622, allocations: 2.198 MB / 0.6199 GB, free: 2.422 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4622, allocations: 4.125 kB / 0.6199 GB, free: 2.418 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.4637, allocations: 0.7927 MB / 0.6207 GB, free: 1.586 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007807/0.4645, allocations: 130.7 kB / 0.6208 GB, free: 1.469 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.4666, allocations: 1.137 MB / 0.6219 GB, free: 304 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.4672, allocations: 0.9297 MB / 0.6228 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005271/0.4677, allocations: 163.2 kB / 0.623 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.4679, allocations: 35.41 kB / 0.623 GB, free: 15.14 MB / 478.1 MB Notification: Performance of SimCode: time 1.813e-06/0.4679, allocations: 0 / 0.623 GB, free: 15.14 MB / 478.1 MB Notification: Performance of Templates: time 0.02317/0.4911, allocations: 14.29 MB / 0.6369 GB, free: 0.9609 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)