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.001266/0.001266, allocations: 72.95 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.001803/0.001803, 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 1.043/1.043, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.6002/0.6002, allocations: 115 MB / 376 MB, free: 7.496 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.292e-06/1.292e-06, allocations: 0 / 428.7 MB, free: 2.832 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.119e-05, allocations: 2.312 kB / 428.7 MB, free: 2.828 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002864/0.002885, allocations: 2.382 MB / 431.1 MB, free: 440 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.004563, allocations: 1.347 MB / 432.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.00467, allocations: 7.938 kB / 432.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.00506, allocations: 87.52 kB / 432.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.005357, allocations: 167 kB / 432.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.005689, allocations: 195.4 kB / 432.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.006005, allocations: 330.9 kB / 433.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.006232, allocations: 158.9 kB / 433.3 MB, free: 14.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.006477, allocations: 191.5 kB / 433.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.006688, allocations: 139.7 kB / 433.7 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.006717, allocations: 24 kB / 433.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.006935, allocations: 171.6 kB / 433.9 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.811e-05/0.007014, allocations: 95.72 kB / 433.9 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.007081, allocations: 83.81 kB / 434 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.007406, allocations: 307 kB / 434.3 MB, free: 13.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007408, allocations: 0 / 434.3 MB, free: 13.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.007409, allocations: 0 / 434.3 MB, free: 13.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.007413, allocations: 0 / 434.3 MB, free: 13.15 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.0005148/0.007928, allocations: 443.9 kB / 434.8 MB, free: 12.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.007957, allocations: 12.03 kB / 434.8 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000519/0.008476, allocations: 148.5 kB / 434.9 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.008698, allocations: 193.3 kB / 435.1 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.008717, allocations: 12.75 kB / 435.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.008758, allocations: 20.38 kB / 435.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.009077, allocations: 288.5 kB / 435.4 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.00909, allocations: 4.188 kB / 435.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.009111, allocations: 12.36 kB / 435.4 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.009144, allocations: 32.22 kB / 435.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.009279, allocations: 100.8 kB / 435.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009244/0.0102, allocations: 1.142 MB / 436.7 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.01046, allocations: 206.7 kB / 436.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.01052, allocations: 41.7 kB / 437 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.826e-05/0.01059, allocations: 8 kB / 437 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.01061, allocations: 42.48 kB / 437 MB, free: 10.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.01061, allocations: 4 kB / 437 MB, free: 10.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004781/0.01109, allocations: 192.9 kB / 437.2 MB, free: 10.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.01112, allocations: 84.98 kB / 437.3 MB, free: 9.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.01151, allocations: 194.2 kB / 437.5 MB, free: 9.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.01152, allocations: 29.7 kB / 437.5 MB, free: 9.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.01159, allocations: 164.2 kB / 437.7 MB, free: 9.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.01162, allocations: 75.31 kB / 437.7 MB, free: 9.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.0117, allocations: 62.09 kB / 437.8 MB, free: 9.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.01177, allocations: 330.8 kB / 438.1 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.01183, allocations: 37.97 kB / 438.2 MB, free: 9.074 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.01191, allocations: 115.3 kB / 438.3 MB, free: 8.926 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.01207, allocations: 188.8 kB / 438.4 MB, free: 8.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01208, allocations: 0 / 438.4 MB, free: 8.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000253/0.01233, allocations: 213.1 kB / 438.7 MB, free: 8.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.01234, allocations: 7.984 kB / 438.7 MB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01235, allocations: 7.938 kB / 438.7 MB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.0125, allocations: 43.59 kB / 438.7 MB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.01266, allocations: 55.91 kB / 438.8 MB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007757/0.01343, allocations: 1.287 MB / 440.1 MB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.01356, allocations: 23.88 kB / 440.1 MB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.01357, allocations: 8.062 kB / 440.1 MB, free: 6.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001016/0.01367, allocations: 119.5 kB / 440.2 MB, free: 6.824 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.37e-05/0.01376, allocations: 118.5 kB / 440.3 MB, free: 6.672 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001423/0.0139, allocations: 178 kB / 440.5 MB, free: 6.461 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.0139, allocations: 0 / 440.5 MB, free: 6.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002244/0.01412, allocations: 208.9 kB / 440.7 MB, free: 6.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.01413, allocations: 4 kB / 440.7 MB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.01413, allocations: 4 kB / 440.7 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.01424, allocations: 51.92 kB / 440.8 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.01438, allocations: 55.91 kB / 440.8 MB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006209/0.015, allocations: 1.287 MB / 442.1 MB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.01511, allocations: 23.83 kB / 442.1 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.01512, allocations: 11.98 kB / 442.1 MB, free: 4.699 MB / 410.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 9.075e-05/0.01521, allocations: 196.2 kB / 442.3 MB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.01526, allocations: 19.98 kB / 442.3 MB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.01546, allocations: 178.4 kB / 442.5 MB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01546, allocations: 4 kB / 442.5 MB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01546, allocations: 0 / 442.5 MB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01547, allocations: 3.984 kB / 442.5 MB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.01602, allocations: 0.6057 MB / 443.1 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01602, allocations: 0 / 443.1 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-05/0.01611, allocations: 39.98 kB / 443.2 MB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.052e-05/0.0162, allocations: 31.66 kB / 443.2 MB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01621, allocations: 16.27 kB / 443.2 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008178/0.01703, allocations: 1.241 MB / 444.5 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01703, allocations: 0 / 444.5 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.01731, allocations: 458.9 kB / 444.9 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.01736, allocations: 35.78 kB / 444.9 MB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.01738, allocations: 8 kB / 444.9 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01748, allocations: 11.97 kB / 445 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.01753, allocations: 23.95 kB / 445 MB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.01754, allocations: 12 kB / 445 MB, free: 1.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.235e-05/0.01759, allocations: 57.66 kB / 445.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01759, allocations: 3.938 kB / 445.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003689/0.01796, allocations: 116 kB / 445.2 MB, free: 1.445 MB / 410.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.0001159/0.01808, allocations: 88.34 kB / 445.3 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005171/0.0186, allocations: 492.4 kB / 445.7 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.0186, allocations: 4 kB / 445.7 MB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.01873, allocations: 183.8 kB / 445.9 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.01899, allocations: 31.98 kB / 446 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.01971, allocations: 0.5075 MB / 446.5 MB, free: 44 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1684/0.1881, allocations: 101.5 kB / 446.6 MB, free: 27.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.1883, allocations: 31.69 kB / 446.6 MB, free: 27.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.1885, allocations: 83.91 kB / 446.7 MB, free: 26.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1885, allocations: 0 / 446.7 MB, free: 26.98 MB / 410.7 MB Notification: Performance of Templates: time 0.009434/0.1979, allocations: 3.841 MB / 450.5 MB, free: 26.92 MB / 410.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.571473958902061]