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.001895/0.001895, allocations: 96.7 kB / 20.21 MB, free: 4.195 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.002581/0.002581, allocations: 157.3 kB / 23.51 MB, free: 0.8984 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 1.524/1.524, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.9468/0.9468, allocations: 115 MB / 375.3 MB, free: 7.574 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.162e-06/1.162e-06, allocations: 0 / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.685e-05, allocations: 6.25 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004041/0.004068, allocations: 2.837 MB / 483.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.006869, allocations: 1.747 MB / 485.3 MB, free: 8.977 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.006994, allocations: 7.625 kB / 485.4 MB, free: 8.973 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008127/0.007806, allocations: 236.6 kB / 485.6 MB, free: 8.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.008246, allocations: 202.3 kB / 485.8 MB, free: 8.734 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.008742, allocations: 228.4 kB / 486 MB, free: 8.625 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.009081, allocations: 332.6 kB / 486.3 MB, free: 8.477 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.009366, allocations: 147.2 kB / 486.5 MB, free: 8.406 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.009657, allocations: 191.7 kB / 486.7 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.009924, allocations: 140.8 kB / 486.8 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.009965, allocations: 20.59 kB / 486.8 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.01036, allocations: 258.2 kB / 487.1 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.01046, allocations: 94.98 kB / 487.2 MB, free: 8.156 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.01057, allocations: 81.66 kB / 487.2 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.01113, allocations: 464.2 kB / 487.7 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01114, allocations: 1.312 kB / 487.7 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.01114, allocations: 1.281 kB / 487.7 MB, free: 7.973 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.01115, allocations: 3.938 kB / 487.7 MB, free: 7.969 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.0009614/0.01211, allocations: 498.4 kB / 488.2 MB, free: 7.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.01215, allocations: 11.16 kB / 488.2 MB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.01324, allocations: 169.2 kB / 488.4 MB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.01354, allocations: 212.6 kB / 488.6 MB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.01357, allocations: 19.61 kB / 488.6 MB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.01364, allocations: 16.88 kB / 488.6 MB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.01429, allocations: 423.2 kB / 489 MB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.01431, allocations: 6.781 kB / 489 MB, free: 7.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.01435, allocations: 6.969 kB / 489 MB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.01439, allocations: 31.38 kB / 489.1 MB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.01505, allocations: 336.5 kB / 489.4 MB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.01698, allocations: 1.4 MB / 490.8 MB, free: 21.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.01766, allocations: 320.8 kB / 491.1 MB, free: 21.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.0179, allocations: 139.9 kB / 491.2 MB, free: 21.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.01801, allocations: 13.97 kB / 491.3 MB, free: 21.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.01803, allocations: 33.28 kB / 491.3 MB, free: 21.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.01803, allocations: 0 / 491.3 MB, free: 21.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.001349/0.01938, allocations: 0.5358 MB / 491.8 MB, free: 21.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.01941, allocations: 81.42 kB / 491.9 MB, free: 21.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.0197, allocations: 207.3 kB / 492.1 MB, free: 21.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.01973, allocations: 30.89 kB / 492.1 MB, free: 21.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.01984, allocations: 166.4 kB / 492.3 MB, free: 21.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.01989, allocations: 72.27 kB / 492.4 MB, free: 20.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.02, allocations: 59.53 kB / 492.4 MB, free: 20.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.02018, allocations: 332.3 kB / 492.8 MB, free: 20.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.02048, allocations: 147.9 kB / 492.9 MB, free: 20.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.0208, allocations: 221.4 kB / 493.1 MB, free: 20.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/0.02139, allocations: 385.1 kB / 493.5 MB, free: 20.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02139, allocations: 1.219 kB / 493.5 MB, free: 20.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009022/0.0223, allocations: 464.7 kB / 493.9 MB, free: 20.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.02232, allocations: 8.703 kB / 494 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.02232, allocations: 2.5 kB / 494 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002958/0.02262, allocations: 45.97 kB / 494 MB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.02302, allocations: 79.84 kB / 494.1 MB, free: 20 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.02467, allocations: 1.493 MB / 495.6 MB, free: 18.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.02502, allocations: 43.22 kB / 495.6 MB, free: 18.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.02505, allocations: 14.64 kB / 495.6 MB, free: 18.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004165/0.02547, allocations: 251.6 kB / 495.9 MB, free: 18.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003121/0.02578, allocations: 225.2 kB / 496.1 MB, free: 18.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005699/0.02635, allocations: 356.2 kB / 496.4 MB, free: 18.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.91e-06/0.02636, allocations: 1.781 kB / 496.4 MB, free: 18.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009004/0.02726, allocations: 443.8 kB / 496.9 MB, free: 17.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.02728, allocations: 5.781 kB / 496.9 MB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.02728, allocations: 2.156 kB / 496.9 MB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.02749, allocations: 48.47 kB / 496.9 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.02784, allocations: 78.72 kB / 497 MB, free: 17.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.02933, allocations: 1.48 MB / 498.5 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.02966, allocations: 38.59 kB / 498.5 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.02969, allocations: 11.09 kB / 498.5 MB, free: 16.57 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.00022/0.02991, allocations: 194.6 kB / 498.7 MB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.03001, allocations: 30.11 kB / 498.8 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007455/0.03076, allocations: 354.9 kB / 499.1 MB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.03076, allocations: 4.484 kB / 499.1 MB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.03077, allocations: 5.172 kB / 499.1 MB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.03077, allocations: 0.9062 kB / 499.1 MB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.03233, allocations: 0.8691 MB / 500 MB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.03233, allocations: 4.219 kB / 500 MB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.03257, allocations: 53.62 kB / 0.4883 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.03275, allocations: 42.14 kB / 0.4884 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.03277, allocations: 7.594 kB / 0.4884 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.03407, allocations: 1.391 MB / 0.4897 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.03407, allocations: 2.219 kB / 0.4897 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.03481, allocations: 0.5392 MB / 0.4903 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.03491, allocations: 51.97 kB / 0.4903 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.03495, allocations: 7.094 kB / 0.4903 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.03523, allocations: 22.86 kB / 0.4903 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.03531, allocations: 21.92 kB / 0.4904 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.03533, allocations: 14.03 kB / 0.4904 GB, free: 13.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.03553, allocations: 153.7 kB / 0.4905 GB, free: 13.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03553, allocations: 0 / 0.4905 GB, free: 13.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007216/0.03625, allocations: 115 kB / 0.4906 GB, free: 13.84 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.0002019/0.03645, allocations: 113 kB / 0.4907 GB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.03799, allocations: 0.7325 MB / 0.4914 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.03799, allocations: 1 kB / 0.4914 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.03842, allocations: 259 kB / 0.4917 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.03894, allocations: 39.06 kB / 0.4917 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.03999, allocations: 0.5588 MB / 0.4923 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.04021, allocations: 158.7 kB / 0.4924 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.0405, allocations: 97.81 kB / 0.4925 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.018e-05/0.04059, allocations: 21.92 kB / 0.4925 GB, free: 12.74 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.04059, allocations: 1.094 kB / 0.4925 GB, free: 12.74 MB / 426.7 MB Notification: Performance of Templates: time 0.009187/0.04978, allocations: 3.661 MB / 0.4961 GB, free: 11.73 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.700822631944902]