Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 176.3 kB / 16.57 MB, free: 6.398 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.459/1.459, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7127/0.7127, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002846, allocations: 8 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1655, allocations: 77.14 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009804/0.1754, allocations: 9.617 MB / 0.5662 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007815/0.1832, allocations: 5.337 MB / 0.5714 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.1846, allocations: 47.62 kB / 0.5715 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006431/0.1853, allocations: 222.4 kB / 0.5717 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.1878, allocations: 0.8334 MB / 0.5725 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.1896, allocations: 0.5987 MB / 0.5731 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.1919, allocations: 1.268 MB / 0.5743 GB, free: 9.637 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003989/0.1959, allocations: 2.161 MB / 0.5765 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.1973, allocations: 0.6109 MB / 0.577 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.1986, allocations: 0.6536 MB / 0.5777 GB, free: 6.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.1988, allocations: 60 kB / 0.5777 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.2006, allocations: 0.5109 MB / 0.5782 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.201, allocations: 430.7 kB / 0.5787 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.2013, allocations: 292.9 kB / 0.5789 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.2033, allocations: 1.718 MB / 0.5806 GB, free: 3.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2034, allocations: 0 / 0.5806 GB, free: 3.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.2034, allocations: 0 / 0.5806 GB, free: 3.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.2034, allocations: 4 kB / 0.5806 GB, free: 3.156 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002993/0.2064, allocations: 1.591 MB / 0.5822 GB, free: 1.508 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.2065, allocations: 8.031 kB / 0.5822 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/0.2106, allocations: 0.6846 MB / 0.5828 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3698/0.5805, allocations: 0.8758 MB / 0.5837 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.5807, allocations: 96.31 kB / 0.5838 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000481/0.5812, allocations: 131 kB / 0.5839 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005631/0.5869, allocations: 2.187 MB / 0.5861 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.258e-05/0.5869, allocations: 11.19 kB / 0.5861 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/0.5872, allocations: 58.8 kB / 0.5861 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004501/0.5877, allocations: 167.5 kB / 0.5863 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003662/0.5914, allocations: 1.858 MB / 0.5881 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.6053, allocations: 12.49 MB / 0.6003 GB, free: 19.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005539/0.6109, allocations: 1.957 MB / 0.6022 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.6111, allocations: 104.1 kB / 0.6023 GB, free: 19.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.6111, allocations: 40.66 kB / 0.6023 GB, free: 18.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=103): time 3.466e-06/0.6111, allocations: 4 kB / 0.6023 GB, free: 18.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=110): time 0.007931/0.6191, allocations: 3.698 MB / 0.606 GB, free: 17.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.6191, allocations: 63.22 kB / 0.606 GB, free: 16.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.621, allocations: 0.9173 MB / 0.6069 GB, free: 16.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.608e-05/0.6211, allocations: 42.23 kB / 0.6069 GB, free: 16.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005664/0.6217, allocations: 0.7281 MB / 0.6077 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.6221, allocations: 383.3 kB / 0.608 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.6222, allocations: 30.78 kB / 0.6081 GB, free: 15.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6223, allocations: 371 kB / 0.6084 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.6234, allocations: 0.6079 MB / 0.609 GB, free: 15.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.6247, allocations: 1.098 MB / 0.6101 GB, free: 14.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.626, allocations: 0.7596 MB / 0.6108 GB, free: 13.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/0.6261, allocations: 4.219 kB / 0.6108 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003954/0.63, allocations: 2.092 MB / 0.6129 GB, free: 13.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.6301, allocations: 11.78 kB / 0.6129 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/0.6301, allocations: 15.72 kB / 0.6129 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008853/0.631, allocations: 263.7 kB / 0.6131 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.6324, allocations: 376.7 kB / 0.6135 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/0.6391, allocations: 10.83 MB / 0.6241 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.6406, allocations: 125.7 kB / 0.6242 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.6409, allocations: 67.56 kB / 0.6243 GB, free: 2.285 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009654/0.6419, allocations: 414 kB / 0.6247 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.6423, allocations: 131.2 kB / 0.6248 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/0.6452, allocations: 1.676 MB / 0.6264 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.6453, allocations: 15.33 kB / 0.6264 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.6453, allocations: 6.516 kB / 0.6264 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.6453, allocations: 7.984 kB / 0.6264 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006359/0.6517, allocations: 3.285 MB / 0.6296 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.6517, allocations: 7.906 kB / 0.6297 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008399/0.6525, allocations: 216.8 kB / 0.6299 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006817/0.6532, allocations: 245.4 kB / 0.6301 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/0.6533, allocations: 27.75 kB / 0.6301 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008576/0.6619, allocations: 10.8 MB / 0.6407 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.662, allocations: 5.375 kB / 0.6407 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.6654, allocations: 2.078 MB / 0.6427 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008903/0.6663, allocations: 320.4 kB / 0.643 GB, free: 1.863 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/0.6667, allocations: 27.86 kB / 0.643 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/0.6676, allocations: 91.12 kB / 0.6431 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.6678, allocations: 95.94 kB / 0.6432 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.6679, allocations: 31.59 kB / 0.6432 GB, free: 1.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008389/0.6687, allocations: 0.6125 MB / 0.6438 GB, free: 1.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6688, allocations: 7.844 kB / 0.6439 GB, free: 1.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001674/0.6704, allocations: 394.2 kB / 0.6442 GB, free: 1.059 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003462/0.6708, allocations: 135.7 kB / 0.6444 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00383/0.6746, allocations: 2.488 MB / 0.6468 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.6747, allocations: 0 / 0.6468 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.6768, allocations: 1.624 MB / 0.6484 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.6784, allocations: 312.2 kB / 0.6487 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/0.6841, allocations: 3.246 MB / 0.6518 GB, free: 8.957 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.6851, allocations: 1.357 MB / 0.6532 GB, free: 7.566 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001151/0.6863, allocations: 367.3 kB / 0.6535 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.6866, allocations: 95.42 kB / 0.6536 GB, free: 7.109 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6866, allocations: 0 / 0.6536 GB, free: 7.109 MB / 478.1 MB Notification: Performance of Templates: time 0.02884/0.7155, allocations: 15.7 MB / 0.6689 GB, free: 7.59 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)