Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.00098/0.00098, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.000983/0.000983, allocations: 165 kB / 23.79 MB, free: 0.7734 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.9687/0.9687, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6073/0.6073, allocations: 115 MB / 375.7 MB, free: 7.668 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.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.823e-05, allocations: 2.312 kB / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003255/0.003283, allocations: 2.393 MB / 483.9 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.005085, allocations: 1.31 MB / 485.2 MB, free: 9.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.005232, allocations: 7.75 kB / 485.2 MB, free: 9.441 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005253/0.005758, allocations: 92.14 kB / 485.3 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.006139, allocations: 175.9 kB / 485.5 MB, free: 9.293 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.006553, allocations: 191.3 kB / 485.6 MB, free: 9.199 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.006917, allocations: 338.2 kB / 486 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.007222, allocations: 147.5 kB / 486.1 MB, free: 8.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.007503, allocations: 181.4 kB / 486.3 MB, free: 8.906 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.00775, allocations: 145.4 kB / 486.4 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.007784, allocations: 22.47 kB / 486.5 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.008068, allocations: 186 kB / 486.6 MB, free: 8.805 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.625e-05/0.008154, allocations: 90.53 kB / 486.7 MB, free: 8.762 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.008244, allocations: 86.08 kB / 486.8 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.008705, allocations: 309.4 kB / 487.1 MB, free: 8.605 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.00871, allocations: 0 / 487.1 MB, free: 8.605 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.008712, allocations: 0 / 487.1 MB, free: 8.605 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.00872, allocations: 8.594 kB / 487.1 MB, free: 8.598 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008588/0.009579, allocations: 0.5674 MB / 487.7 MB, free: 8.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.009639, allocations: 9.219 kB / 487.7 MB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007395/0.01038, allocations: 158.8 kB / 487.9 MB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.01075, allocations: 207.1 kB / 488.1 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.01077, allocations: 18.31 kB / 488.1 MB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.01082, allocations: 16.66 kB / 488.1 MB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.01133, allocations: 331.6 kB / 488.4 MB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.01135, allocations: 5.344 kB / 488.4 MB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.01138, allocations: 6.75 kB / 488.4 MB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/0.01145, allocations: 31.95 kB / 488.5 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.01176, allocations: 135.8 kB / 488.6 MB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.01345, allocations: 1.704 MB / 490.3 MB, free: 22.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.01386, allocations: 216.7 kB / 490.5 MB, free: 22.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01397, allocations: 59.66 kB / 490.6 MB, free: 21.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.01411, allocations: 12.81 kB / 490.6 MB, free: 21.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.01413, allocations: 39.8 kB / 490.6 MB, free: 21.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.346e-06/0.01413, allocations: 1.562 kB / 490.6 MB, free: 21.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007462/0.01488, allocations: 300.4 kB / 490.9 MB, free: 21.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.0149, allocations: 80.58 kB / 491 MB, free: 21.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.0151, allocations: 260 kB / 491.2 MB, free: 21.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.01512, allocations: 31.08 kB / 491.3 MB, free: 21.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.722e-05/0.0152, allocations: 213.4 kB / 491.5 MB, free: 21.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.01523, allocations: 72.38 kB / 491.6 MB, free: 21.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.01531, allocations: 59.77 kB / 491.6 MB, free: 21.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01543, allocations: 0.5005 MB / 492.1 MB, free: 20.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.01553, allocations: 62.8 kB / 492.2 MB, free: 20.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.01566, allocations: 175.8 kB / 492.3 MB, free: 20.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.01589, allocations: 244.8 kB / 492.6 MB, free: 20.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01589, allocations: 0 / 492.6 MB, free: 20.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003879/0.01628, allocations: 294.3 kB / 492.9 MB, free: 20.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.01629, allocations: 5.5 kB / 492.9 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.0163, allocations: 3.781 kB / 492.9 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/0.0165, allocations: 43.84 kB / 492.9 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.01669, allocations: 72.22 kB / 493 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000992/0.01768, allocations: 1.864 MB / 494.9 MB, free: 18.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.01783, allocations: 31.12 kB / 494.9 MB, free: 18.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.01786, allocations: 18.58 kB / 494.9 MB, free: 18.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001499/0.01801, allocations: 174 kB / 495.1 MB, free: 18.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001283/0.01813, allocations: 177.1 kB / 495.2 MB, free: 18.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002173/0.01835, allocations: 240.3 kB / 495.5 MB, free: 17.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.01835, allocations: 2 kB / 495.5 MB, free: 17.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0003711/0.01873, allocations: 275.2 kB / 495.8 MB, free: 17.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.01874, allocations: 7.375 kB / 495.8 MB, free: 17.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.01874, allocations: 3.031 kB / 495.8 MB, free: 17.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.01886, allocations: 41.27 kB / 495.8 MB, free: 17.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.01905, allocations: 75.3 kB / 495.9 MB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008699/0.01992, allocations: 1.865 MB / 497.7 MB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.02006, allocations: 32.67 kB / 497.8 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.02008, allocations: 13.72 kB / 497.8 MB, free: 15.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.02021, allocations: 286.1 kB / 498.1 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.02026, allocations: 21.34 kB / 498.1 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.02054, allocations: 213.4 kB / 498.3 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.02055, allocations: 1.812 kB / 498.3 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.02055, allocations: 1.188 kB / 498.3 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.02056, allocations: 4.141 kB / 498.3 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.02126, allocations: 0.7345 MB / 499 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.02127, allocations: 1.906 kB / 499 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.02138, allocations: 49.38 kB / 499.1 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.0215, allocations: 41.44 kB / 499.1 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.02152, allocations: 8.188 kB / 499.1 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008407/0.02236, allocations: 1.796 MB / 0.4892 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.02236, allocations: 2.688 kB / 0.4892 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.02275, allocations: 0.5037 MB / 0.4897 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.02281, allocations: 48.25 kB / 0.4897 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.02283, allocations: 11.77 kB / 0.4897 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.02296, allocations: 20.91 kB / 0.4898 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.02303, allocations: 26.16 kB / 0.4898 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.02305, allocations: 6.594 kB / 0.4898 GB, free: 12.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.02315, allocations: 184.3 kB / 0.49 GB, free: 12.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02315, allocations: 0.5625 kB / 0.49 GB, free: 12.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004552/0.02361, allocations: 110 kB / 0.4901 GB, free: 12.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.02375, allocations: 114.3 kB / 0.4902 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007737/0.02453, allocations: 0.627 MB / 0.4908 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.02453, allocations: 2.562 kB / 0.4908 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.02473, allocations: 259 kB / 0.491 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.02506, allocations: 36.03 kB / 0.4911 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008869/0.02595, allocations: 0.5101 MB / 0.4916 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.818e-05/0.02603, allocations: 100.4 kB / 0.4917 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.02618, allocations: 77.84 kB / 0.4917 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.02625, allocations: 21.28 kB / 0.4918 GB, free: 11.2 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02625, allocations: 3.938 kB / 0.4918 GB, free: 11.2 MB / 426.7 MB Notification: Performance of Templates: time 0.00682/0.03307, allocations: 3.799 MB / 0.4955 GB, free: 10.88 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.600339502096176]