Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 92.22 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9891/0.9891, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6249/0.6249, allocations: 115 MB / 375.7 MB, free: 7.645 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.282e-05, allocations: 4.844 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.007883/0.007916, allocations: 7.445 MB / 489 MB, free: 7.141 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.01317, allocations: 3.981 MB / 493 MB, free: 4.512 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008927/0.01406, allocations: 51.22 kB / 493 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.01508, allocations: 372.1 kB / 493.4 MB, free: 4.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.01611, allocations: 0.6597 MB / 494 MB, free: 3.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.01714, allocations: 0.6689 MB / 494.7 MB, free: 3.535 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.01933, allocations: 2.575 MB / 497.3 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.02111, allocations: 1.766 MB / 499 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.02292, allocations: 1.725 MB / 0.489 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.02475, allocations: 1.394 MB / 0.4904 GB, free: 256 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006344/0.02539, allocations: 256.2 kB / 0.4906 GB, free: 252 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008525/0.02624, allocations: 407.9 kB / 0.491 GB, free: 200 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008757/0.02712, allocations: 1.019 MB / 0.492 GB, free: 15.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.02835, allocations: 0.7537 MB / 0.4928 GB, free: 15.26 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.03043, allocations: 2.099 MB / 0.4948 GB, free: 13.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.03043, allocations: 0 / 0.4948 GB, free: 13.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.03043, allocations: 0 / 0.4948 GB, free: 13.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.16e-05/0.03048, allocations: 1.75 kB / 0.4948 GB, free: 13.53 MB / 426.7 MB 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.00288/0.03336, allocations: 2.217 MB / 0.497 GB, free: 11.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.0334, allocations: 14.22 kB / 0.497 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.03552, allocations: 0.9652 MB / 0.4979 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.03672, allocations: 1.057 MB / 0.499 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/0.03704, allocations: 119.6 kB / 0.4991 GB, free: 9.699 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.03723, allocations: 157.8 kB / 0.4992 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.03958, allocations: 1.663 MB / 0.5009 GB, free: 8.109 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.03961, allocations: 7.891 kB / 0.5009 GB, free: 8.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.03974, allocations: 72.59 kB / 0.5009 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/0.03997, allocations: 165.8 kB / 0.5011 GB, free: 7.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.04135, allocations: 0.628 MB / 0.5017 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006418/0.04777, allocations: 6.656 MB / 0.5082 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.04832, allocations: 346.4 kB / 0.5085 GB, free: 424 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.04855, allocations: 157.1 kB / 0.5087 GB, free: 268 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-05/0.04861, allocations: 20.36 kB / 0.5087 GB, free: 248 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.04864, allocations: 41.77 kB / 0.5087 GB, free: 196 kB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 1.953e-06/0.04864, allocations: 0.7812 kB / 0.5087 GB, free: 196 kB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.008837/0.05747, allocations: 4.166 MB / 0.5128 GB, free: 12.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.05751, allocations: 60.06 kB / 0.5129 GB, free: 11.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/0.05824, allocations: 0.7921 MB / 0.5136 GB, free: 11.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.0583, allocations: 37.7 kB / 0.5137 GB, free: 11.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007787/0.05908, allocations: 0.8765 MB / 0.5145 GB, free: 10.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.05927, allocations: 269.8 kB / 0.5148 GB, free: 9.984 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.05956, allocations: 232.5 kB / 0.515 GB, free: 9.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.05981, allocations: 0.6172 MB / 0.5156 GB, free: 9.121 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.0602, allocations: 222.4 kB / 0.5158 GB, free: 8.898 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.06084, allocations: 0.7881 MB / 0.5166 GB, free: 7.883 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.0619, allocations: 1.014 MB / 0.5176 GB, free: 6.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.06191, allocations: 4 kB / 0.5176 GB, free: 6.676 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004258/0.06617, allocations: 2.198 MB / 0.5197 GB, free: 4.461 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.06619, allocations: 12.38 kB / 0.5198 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.0662, allocations: 12 kB / 0.5198 GB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006537/0.07274, allocations: 2.888 MB / 0.5226 GB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.07322, allocations: 223.6 kB / 0.5228 GB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007049/0.08027, allocations: 6.325 MB / 0.529 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.08093, allocations: 171.7 kB / 0.5291 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/0.081, allocations: 55.92 kB / 0.5292 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006612/0.08166, allocations: 349.4 kB / 0.5295 GB, free: 10.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005908/0.08225, allocations: 0.7803 MB / 0.5303 GB, free: 9.195 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009594/0.08321, allocations: 0.9738 MB / 0.5312 GB, free: 8.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/0.08321, allocations: 4 kB / 0.5312 GB, free: 8.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.003558/0.08677, allocations: 1.772 MB / 0.533 GB, free: 6.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.08678, allocations: 8 kB / 0.533 GB, free: 6.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.0868, allocations: 12 kB / 0.533 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003854/0.09065, allocations: 1.629 MB / 0.5346 GB, free: 4.578 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/0.09135, allocations: 271.5 kB / 0.5348 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/0.09487, allocations: 3.183 MB / 0.5379 GB, free: 1.008 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008943/0.09576, allocations: 159.7 kB / 0.5381 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.09584, allocations: 55.98 kB / 0.5382 GB, free: 0.7969 MB / 458.7 MB 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.0002794/0.09612, allocations: 327.8 kB / 0.5385 GB, free: 480 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.09629, allocations: 119.3 kB / 0.5386 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.1001, allocations: 1.92 MB / 0.5405 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1001, allocations: 8 kB / 0.5405 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1001, allocations: 0 / 0.5405 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1001, allocations: 3.984 kB / 0.5405 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005657/0.1058, allocations: 3.489 MB / 0.5439 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1058, allocations: 4 kB / 0.5439 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.106, allocations: 91.86 kB / 0.544 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005372/0.1114, allocations: 2.637 MB / 0.5465 GB, free: 8.082 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.1114, allocations: 12 kB / 0.5466 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005907/0.1173, allocations: 6.025 MB / 0.5524 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.1173, allocations: 0 / 0.5524 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/0.121, allocations: 1.979 MB / 0.5544 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.1213, allocations: 219.3 kB / 0.5546 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.62e-05/0.1214, allocations: 19.94 kB / 0.5546 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.1218, allocations: 127.8 kB / 0.5547 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.122, allocations: 68.47 kB / 0.5548 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.1221, allocations: 20 kB / 0.5548 GB, free: 15.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004592/0.1225, allocations: 458.9 kB / 0.5552 GB, free: 14.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1225, allocations: 0 / 0.5552 GB, free: 14.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001677/0.1242, allocations: 0.6953 MB / 0.5559 GB, free: 14.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 40 * 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 Backend phase and start with SimCode phase: time 0.0002007/0.1244, allocations: 131.1 kB / 0.556 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002744/0.1271, allocations: 2.135 MB / 0.5581 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1271, allocations: 0 / 0.5581 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009043/0.128, allocations: 0.9337 MB / 0.559 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.1288, allocations: 261.1 kB / 0.5593 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.1327, allocations: 2.838 MB / 0.5621 GB, free: 7.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.1332, allocations: 0.5258 MB / 0.5626 GB, free: 7.176 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000736/0.1339, allocations: 426.8 kB / 0.563 GB, free: 6.754 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.1341, allocations: 64.48 kB / 0.563 GB, free: 6.691 MB / 490.7 MB Notification: Performance of SimCode: time 1.282e-06/0.1341, allocations: 0 / 0.563 GB, free: 6.691 MB / 490.7 MB Notification: Performance of Templates: time 0.03317/0.1673, allocations: 32.58 MB / 0.5949 GB, free: 6.414 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.976668118033558]