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.001268/0.001268, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.001462/0.001462, allocations: 169 kB / 24.05 MB, free: 456 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.049/1.049, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.6666/0.6666, allocations: 115 MB / 376 MB, free: 7.516 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 3.136e-06/3.136e-06, allocations: 3.938 kB / 481.9 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.451e-05, allocations: 4.531 kB / 482 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003539/0.003563, allocations: 2.367 MB / 484.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.005502, allocations: 1.305 MB / 485.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.005622, allocations: 7.688 kB / 485.6 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.006076, allocations: 89.09 kB / 485.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.006396, allocations: 175.3 kB / 485.9 MB, free: 9.234 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.006716, allocations: 196.9 kB / 486.1 MB, free: 9.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.007064, allocations: 334.5 kB / 486.4 MB, free: 8.988 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.007341, allocations: 149.9 kB / 486.6 MB, free: 8.918 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.007632, allocations: 185.3 kB / 486.7 MB, free: 8.844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.007895, allocations: 142.5 kB / 486.9 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.007936, allocations: 21.41 kB / 486.9 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.008237, allocations: 180.6 kB / 487.1 MB, free: 8.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.937e-05/0.008316, allocations: 98.05 kB / 487.2 MB, free: 8.699 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.008386, allocations: 77.56 kB / 487.2 MB, free: 8.668 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.008721, allocations: 313.9 kB / 487.5 MB, free: 8.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.008724, allocations: 0.9062 kB / 487.5 MB, free: 8.547 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008724, allocations: 1.219 kB / 487.6 MB, free: 8.547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.008728, allocations: 0 / 487.6 MB, free: 8.547 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.0005279/0.009256, allocations: 0.5574 MB / 488.1 MB, free: 8.051 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.009292, allocations: 9.281 kB / 488.1 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005285/0.009821, allocations: 146.9 kB / 488.3 MB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.01002, allocations: 205.2 kB / 488.5 MB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.01004, allocations: 20.67 kB / 488.5 MB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.01007, allocations: 17.28 kB / 488.5 MB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.01041, allocations: 313.1 kB / 488.8 MB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.01042, allocations: 1.281 kB / 488.8 MB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.01044, allocations: 13.66 kB / 488.8 MB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/0.01048, allocations: 30.3 kB / 488.8 MB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.01064, allocations: 111.1 kB / 489 MB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.01185, allocations: 1.639 MB / 490.6 MB, free: 22.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.01213, allocations: 176.3 kB / 490.8 MB, free: 22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.01219, allocations: 52.44 kB / 490.8 MB, free: 21.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-05/0.01226, allocations: 21.2 kB / 490.8 MB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.01228, allocations: 35.55 kB / 490.9 MB, free: 21.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.01228, allocations: 2.781 kB / 490.9 MB, free: 21.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005198/0.0128, allocations: 228.8 kB / 491.1 MB, free: 21.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.01282, allocations: 89.2 kB / 491.2 MB, free: 21.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.01297, allocations: 251.2 kB / 491.4 MB, free: 21.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.01298, allocations: 28.77 kB / 491.5 MB, free: 21.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.01307, allocations: 216.6 kB / 491.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.01311, allocations: 81.05 kB / 491.8 MB, free: 21.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.01318, allocations: 67.27 kB / 491.8 MB, free: 21.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.01333, allocations: 0.5004 MB / 492.3 MB, free: 20.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.01342, allocations: 47.23 kB / 492.4 MB, free: 20.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.01353, allocations: 169.6 kB / 492.5 MB, free: 20.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.01373, allocations: 221 kB / 492.7 MB, free: 20.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01373, allocations: 1.125 kB / 492.7 MB, free: 20.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003865/0.01412, allocations: 265.8 kB / 493 MB, free: 20.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.01414, allocations: 6.688 kB / 493 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.01415, allocations: 2.562 kB / 493 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.01431, allocations: 38.14 kB / 493.1 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.01447, allocations: 61.22 kB / 493.1 MB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008864/0.01536, allocations: 1.834 MB / 494.9 MB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.0155, allocations: 24.23 kB / 495 MB, free: 18.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01551, allocations: 7.875 kB / 495 MB, free: 18.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001127/0.01563, allocations: 167.5 kB / 495.1 MB, free: 18.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.641e-05/0.01572, allocations: 154.5 kB / 495.3 MB, free: 18.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001702/0.01589, allocations: 224.4 kB / 495.5 MB, free: 17.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.0159, allocations: 1.375 kB / 495.5 MB, free: 17.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0003994/0.01629, allocations: 254 kB / 495.8 MB, free: 17.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.0163, allocations: 10.25 kB / 495.8 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01631, allocations: 2.531 kB / 495.8 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.01642, allocations: 39.92 kB / 495.8 MB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.01659, allocations: 57.58 kB / 495.9 MB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.01922, allocations: 1.826 MB / 497.7 MB, free: 16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.01958, allocations: 21.31 kB / 497.7 MB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.01961, allocations: 15.91 kB / 497.7 MB, free: 15.98 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.0002022/0.01982, allocations: 295.2 kB / 498 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.01992, allocations: 29.23 kB / 498 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.02035, allocations: 181.2 kB / 498.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.02035, allocations: 2.844 kB / 498.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.02036, allocations: 5.438 kB / 498.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.02037, allocations: 8.375 kB / 498.2 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.02144, allocations: 0.6742 MB / 498.9 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.02144, allocations: 1.031 kB / 498.9 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.02162, allocations: 43.52 kB / 499 MB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.02179, allocations: 36.7 kB / 499 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.02181, allocations: 8.25 kB / 499 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008882/0.0227, allocations: 1.754 MB / 0.489 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.0227, allocations: 2.125 kB / 0.489 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.02308, allocations: 499.2 kB / 0.4895 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.02314, allocations: 45.77 kB / 0.4895 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.02316, allocations: 12.12 kB / 0.4896 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.02328, allocations: 12.78 kB / 0.4896 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.02334, allocations: 26.89 kB / 0.4896 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.02335, allocations: 4.562 kB / 0.4896 GB, free: 12.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.02347, allocations: 177.4 kB / 0.4898 GB, free: 12.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02347, allocations: 1.469 kB / 0.4898 GB, free: 12.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005243/0.02399, allocations: 109.7 kB / 0.4899 GB, free: 12.63 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.0001899/0.02418, allocations: 113.3 kB / 0.49 GB, free: 12.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007285/0.02491, allocations: 0.6177 MB / 0.4906 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.02492, allocations: 0.875 kB / 0.4906 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.02509, allocations: 244.1 kB / 0.4908 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.02542, allocations: 36.59 kB / 0.4909 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/0.02626, allocations: 0.5017 MB / 0.4913 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.672e-05/0.02634, allocations: 105.7 kB / 0.4914 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.02647, allocations: 43.16 kB / 0.4915 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.02659, allocations: 99.98 kB / 0.4916 GB, free: 11.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/0.02659, allocations: 4.594 kB / 0.4916 GB, free: 11.37 MB / 426.7 MB Notification: Performance of Templates: time 0.007276/0.03387, allocations: 3.922 MB / 0.4954 GB, free: 11.02 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.7013551075942814]