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.001076/0.001076, allocations: 111.4 kB / 17.04 MB, free: 6.078 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.001057/0.001057, allocations: 195 kB / 17.98 MB, free: 5.16 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7431/0.7431, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 63.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4189, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.009186/0.4282, allocations: 5.064 MB / 0.5625 GB, free: 33.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007053/0.4353, allocations: 3.328 MB / 0.5658 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/0.4359, allocations: 11.66 kB / 0.5658 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.4384, allocations: 0.5047 MB / 0.5663 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.4401, allocations: 388.3 kB / 0.5666 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.4414, allocations: 274.8 kB / 0.5669 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.4428, allocations: 0.6499 MB / 0.5675 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.4439, allocations: 0.5193 MB / 0.5681 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000583/0.4445, allocations: 276.5 kB / 0.5683 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006781/0.4452, allocations: 297.5 kB / 0.5686 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.4454, allocations: 49.62 kB / 0.5686 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.4463, allocations: 301.5 kB / 0.5689 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.4466, allocations: 168.5 kB / 0.5691 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.4471, allocations: 240.2 kB / 0.5693 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.4488, allocations: 0.8257 MB / 0.5701 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4489, allocations: 2.453 kB / 0.5701 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4489, allocations: 3.938 kB / 0.5701 GB, free: 29.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.104e-05/0.4489, allocations: 1.062 kB / 0.5701 GB, free: 29.08 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.002641/0.4516, allocations: 0.8025 MB / 0.5709 GB, free: 28.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4516, allocations: 9.875 kB / 0.5709 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/0.4569, allocations: 0.662 MB / 0.5716 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.4584, allocations: 470.1 kB / 0.572 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.4585, allocations: 20.91 kB / 0.572 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.4586, allocations: 42.16 kB / 0.5721 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.4616, allocations: 0.8233 MB / 0.5729 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.4616, allocations: 9.703 kB / 0.5729 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.4617, allocations: 12.47 kB / 0.5729 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003062/0.462, allocations: 58.89 kB / 0.573 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/0.4657, allocations: 0.9119 MB / 0.5739 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006489/0.4722, allocations: 2.834 MB / 0.5766 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/0.4751, allocations: 0.542 MB / 0.5772 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.4765, allocations: 302 kB / 0.5774 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.4766, allocations: 89.41 kB / 0.5775 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.4767, allocations: 37.03 kB / 0.5776 GB, free: 25.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 3.266e-06/0.4767, allocations: 0 / 0.5776 GB, free: 25.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.02246/0.4992, allocations: 3.398 MB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.4993, allocations: 54.22 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008281/0.5001, allocations: 403 kB / 0.5813 GB, free: 23.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.5002, allocations: 31.02 kB / 0.5813 GB, free: 23.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.5004, allocations: 232.3 kB / 0.5816 GB, free: 23.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.5006, allocations: 112.5 kB / 0.5817 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/0.5009, allocations: 80.48 kB / 0.5818 GB, free: 23.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.501, allocations: 345 kB / 0.5821 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.5026, allocations: 387.9 kB / 0.5825 GB, free: 22.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.5042, allocations: 458.1 kB / 0.5829 GB, free: 22.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.5074, allocations: 0.8134 MB / 0.5837 GB, free: 22.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5074, allocations: 0 / 0.5837 GB, free: 22.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.009272/0.5167, allocations: 1.627 MB / 0.5853 GB, free: 21.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5167, allocations: 13.98 kB / 0.5853 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.5168, allocations: 2.531 kB / 0.5853 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007102/0.5239, allocations: 0.8701 MB / 0.5861 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.5251, allocations: 122 kB / 0.5863 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.5378, allocations: 6.677 MB / 0.5928 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.539, allocations: 102.3 kB / 0.5929 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.5392, allocations: 23.08 kB / 0.5929 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00181/0.541, allocations: 0.5556 MB / 0.5934 GB, free: 14.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001479/0.5425, allocations: 452 kB / 0.5939 GB, free: 14.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002816/0.5453, allocations: 0.7872 MB / 0.5946 GB, free: 13.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/0.5454, allocations: 3.984 kB / 0.5946 GB, free: 13.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.006863/0.5522, allocations: 1.614 MB / 0.5962 GB, free: 11.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.5523, allocations: 4 kB / 0.5962 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5523, allocations: 8.188 kB / 0.5962 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003437/0.5557, allocations: 0.643 MB / 0.5969 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.5563, allocations: 131.8 kB / 0.597 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.5617, allocations: 7.288 MB / 0.6041 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/0.5625, allocations: 99.89 kB / 0.6042 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.5625, allocations: 27.92 kB / 0.6042 GB, free: 3.168 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.0001681/0.5627, allocations: 196.2 kB / 0.6044 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.5629, allocations: 43.66 kB / 0.6044 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.5671, allocations: 1.521 MB / 0.6059 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5671, allocations: 4 kB / 0.6059 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5672, allocations: 3.984 kB / 0.6059 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5672, allocations: 0 / 0.6059 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/0.5725, allocations: 2.198 MB / 0.6081 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5725, allocations: 4 kB / 0.6081 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.5729, allocations: 79.89 kB / 0.6082 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003474/0.5764, allocations: 0.8139 MB / 0.609 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.5765, allocations: 11.98 kB / 0.609 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00761/0.5841, allocations: 6.504 MB / 0.6153 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.5841, allocations: 3.938 kB / 0.6153 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004743/0.5889, allocations: 1.526 MB / 0.6168 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.5893, allocations: 180.6 kB / 0.617 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.5894, allocations: 11.94 kB / 0.617 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/0.59, allocations: 79.86 kB / 0.6171 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.5902, allocations: 43.83 kB / 0.6171 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.5902, allocations: 11.94 kB / 0.6171 GB, free: 5.348 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000491/0.5907, allocations: 299.1 kB / 0.6174 GB, free: 5.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5907, allocations: 4 kB / 0.6174 GB, free: 5.047 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001036/0.5917, allocations: 236 kB / 0.6176 GB, free: 4.816 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.0001898/0.5919, allocations: 111.2 kB / 0.6178 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004734/0.5967, allocations: 2.202 MB / 0.6199 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5967, allocations: 0 / 0.6199 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.5982, allocations: 0.7929 MB / 0.6207 GB, free: 1.574 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/0.5989, allocations: 123.6 kB / 0.6208 GB, free: 1.461 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.6011, allocations: 1.14 MB / 0.6219 GB, free: 292 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/0.6019, allocations: 0.9258 MB / 0.6228 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004907/0.6024, allocations: 171.1 kB / 0.623 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.6025, allocations: 31.42 kB / 0.623 GB, free: 15.12 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6025, allocations: 0 / 0.623 GB, free: 15.12 MB / 478.1 MB Notification: Performance of Templates: time 0.02058/0.6231, allocations: 14.28 MB / 0.637 GB, free: 0.957 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)