Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.0008823/0.0008823, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.0009653/0.0009653, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.9727/0.9727, allocations: 177.2 MB / 204.6 MB, free: 5.023 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.6728/0.6728, allocations: 115 MB / 376 MB, free: 7.398 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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 428.7 MB, free: 2.812 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.122e-05, allocations: 2.312 kB / 428.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005279/0.005311, allocations: 4.252 MB / 433 MB, free: 14.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003744/0.009055, allocations: 3.048 MB / 436 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.009331, allocations: 15.88 kB / 436 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009726/0.0103, allocations: 290.4 kB / 436.3 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008671/0.01117, allocations: 485.3 kB / 436.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.01162, allocations: 235.4 kB / 437 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.01264, allocations: 0.7396 MB / 437.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.0131, allocations: 362 kB / 438.1 MB, free: 9.363 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.01364, allocations: 0.503 MB / 438.6 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004486/0.01409, allocations: 295.3 kB / 438.9 MB, free: 8.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.01417, allocations: 44 kB / 438.9 MB, free: 8.527 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.01454, allocations: 199.6 kB / 439.1 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.01471, allocations: 191.5 kB / 439.3 MB, free: 8.145 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.01488, allocations: 163.6 kB / 439.5 MB, free: 7.984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.01548, allocations: 0.5452 MB / 440 MB, free: 7.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01548, allocations: 0 / 440 MB, free: 7.438 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01548, allocations: 0 / 440 MB, free: 7.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.01549, allocations: 4 kB / 440 MB, free: 7.434 MB / 410.7 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.000926/0.01642, allocations: 0.6549 MB / 440.7 MB, free: 6.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.01645, allocations: 12.03 kB / 440.7 MB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009888/0.01744, allocations: 248.4 kB / 440.9 MB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.01793, allocations: 325.5 kB / 441.3 MB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.01796, allocations: 25.02 kB / 441.3 MB, free: 6.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.01802, allocations: 28.38 kB / 441.3 MB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.0186, allocations: 462.9 kB / 441.8 MB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.01862, allocations: 3.938 kB / 441.8 MB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.01865, allocations: 12 kB / 441.8 MB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.396e-05/0.01875, allocations: 36.58 kB / 441.8 MB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.01899, allocations: 136.5 kB / 442 MB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.02068, allocations: 1.417 MB / 443.4 MB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.02105, allocations: 193.2 kB / 443.6 MB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.929e-05/0.02113, allocations: 53.22 kB / 443.6 MB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.698e-05/0.0212, allocations: 15.92 kB / 443.6 MB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.02124, allocations: 38.56 kB / 443.7 MB, free: 3.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.216e-06/0.02124, allocations: 7.922 kB / 443.7 MB, free: 3.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.003217/0.02446, allocations: 1.136 MB / 444.8 MB, free: 2.492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.02449, allocations: 55.41 kB / 444.9 MB, free: 2.426 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.02473, allocations: 291.3 kB / 445.1 MB, free: 2.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.02477, allocations: 33.7 kB / 445.2 MB, free: 2.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.02488, allocations: 216.8 kB / 445.4 MB, free: 1.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.02495, allocations: 87.25 kB / 445.5 MB, free: 1.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.02506, allocations: 61.91 kB / 445.5 MB, free: 1.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.02517, allocations: 346.7 kB / 445.9 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.755e-05/0.02527, allocations: 57.95 kB / 445.9 MB, free: 1.309 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.02541, allocations: 151.3 kB / 446.1 MB, free: 1.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.02563, allocations: 198.4 kB / 446.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.02564, allocations: 0 / 446.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007306/0.02637, allocations: 396.7 kB / 446.7 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.02638, allocations: 8 kB / 446.7 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02639, allocations: 4 kB / 446.7 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.02768, allocations: 467.1 kB / 447.1 MB, free: 32 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2086/0.2363, allocations: 52.81 kB / 447.2 MB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.2388, allocations: 1.684 MB / 448.9 MB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.2391, allocations: 16.12 kB / 448.9 MB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.2391, allocations: 12.14 kB / 448.9 MB, free: 23.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001961/0.2393, allocations: 140.5 kB / 449 MB, free: 23.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001134/0.2394, allocations: 147.6 kB / 449.2 MB, free: 23.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002596/0.2396, allocations: 194.1 kB / 449.4 MB, free: 23.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.2397, allocations: 0 / 449.4 MB, free: 23.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0005358/0.2402, allocations: 314.7 kB / 449.7 MB, free: 23.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.2402, allocations: 10.88 kB / 449.7 MB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2402, allocations: 8.375 kB / 449.7 MB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/0.2407, allocations: 169.6 kB / 449.9 MB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.2409, allocations: 54.59 kB / 449.9 MB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.2422, allocations: 1.584 MB / 451.5 MB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.2425, allocations: 22.38 kB / 451.5 MB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2425, allocations: 12.62 kB / 451.5 MB, free: 22.02 MB / 410.7 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/0.2426, allocations: 198.1 kB / 451.7 MB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.2426, allocations: 29.28 kB / 451.7 MB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007386/0.2434, allocations: 362.4 kB / 452.1 MB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2434, allocations: 7.312 kB / 452.1 MB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2434, allocations: 1.219 kB / 452.1 MB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2434, allocations: 2.719 kB / 452.1 MB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009247/0.2443, allocations: 0.6574 MB / 452.8 MB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2443, allocations: 6.578 kB / 452.8 MB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.2444, allocations: 28.78 kB / 452.8 MB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009017/0.2453, allocations: 390.9 kB / 453.2 MB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.2453, allocations: 9.641 kB / 453.2 MB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.2465, allocations: 1.646 MB / 454.8 MB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2465, allocations: 0.9688 kB / 454.8 MB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.2471, allocations: 450.3 kB / 455.3 MB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.2472, allocations: 57.61 kB / 455.3 MB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.2472, allocations: 3.172 kB / 455.3 MB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2474, allocations: 23.33 kB / 455.4 MB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.2474, allocations: 21.61 kB / 455.4 MB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.2475, allocations: 13.25 kB / 455.4 MB, free: 20.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.2476, allocations: 119.3 kB / 455.5 MB, free: 20.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2476, allocations: 0.5 kB / 455.5 MB, free: 20.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007022/0.2483, allocations: 203.8 kB / 455.7 MB, free: 20.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001414/0.2484, allocations: 89.28 kB / 455.8 MB, free: 20.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.2497, allocations: 0.6384 MB / 456.4 MB, free: 19.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.2497, allocations: 4.375 kB / 456.4 MB, free: 19.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.2501, allocations: 273.6 kB / 456.7 MB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.2505, allocations: 136.4 kB / 456.8 MB, free: 19.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2516, allocations: 0.7667 MB / 457.6 MB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.2517, allocations: 164.9 kB / 457.8 MB, free: 19.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.2519, allocations: 78.45 kB / 457.8 MB, free: 19.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.2521, allocations: 123.6 kB / 458 MB, free: 19.15 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2521, allocations: 0 / 458 MB, free: 19.15 MB / 410.7 MB Notification: Performance of Templates: time 0.01281/0.265, allocations: 11.83 MB / 469.8 MB, free: 12.96 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.704129674937576]