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.001852/0.001852, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.001946/0.001946, allocations: 169.2 kB / 23.53 MB, free: 0.8945 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.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 1.197/1.197, allocations: 115 MB / 375.3 MB, free: 7.582 MB / 346.7 MB " [Timeout remaining time 178] 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 2.214e-06/2.214e-06, allocations: 0 / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.175e-05, allocations: 2.312 kB / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.006269/0.006301, allocations: 2.93 MB / 483.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004248/0.01055, allocations: 1.817 MB / 485.5 MB, free: 8.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.01071, allocations: 8.75 kB / 485.5 MB, free: 8.926 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.01182, allocations: 237.2 kB / 485.7 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007873/0.0126, allocations: 203.5 kB / 485.9 MB, free: 8.691 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.01345, allocations: 232.7 kB / 486.2 MB, free: 8.578 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.01393, allocations: 331.2 kB / 486.5 MB, free: 8.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.01431, allocations: 156.2 kB / 486.6 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.0147, allocations: 184.4 kB / 486.8 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.01509, allocations: 141.6 kB / 487 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.925e-05/0.01515, allocations: 21.84 kB / 487 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006184/0.01577, allocations: 265.3 kB / 487.2 MB, free: 8.148 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.0159, allocations: 90.33 kB / 487.3 MB, free: 8.105 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.01604, allocations: 84.27 kB / 487.4 MB, free: 8.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007789/0.01682, allocations: 471.6 kB / 487.9 MB, free: 7.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01682, allocations: 0 / 487.9 MB, free: 7.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01683, allocations: 0.9688 kB / 487.9 MB, free: 7.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.01683, allocations: 1.281 kB / 487.9 MB, free: 7.918 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.001049/0.01788, allocations: 0.5945 MB / 488.5 MB, free: 7.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.01792, allocations: 10.12 kB / 488.5 MB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.01952, allocations: 157.1 kB / 488.6 MB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.01995, allocations: 214.3 kB / 488.8 MB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.01998, allocations: 18.12 kB / 488.9 MB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-05/0.02005, allocations: 24.42 kB / 488.9 MB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007805/0.02083, allocations: 337.2 kB / 489.2 MB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.02085, allocations: 2.594 kB / 489.2 MB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.0209, allocations: 14.98 kB / 489.2 MB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.318e-05/0.02096, allocations: 31.84 kB / 489.3 MB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.02175, allocations: 189.8 kB / 489.4 MB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.02436, allocations: 1.76 MB / 491.2 MB, free: 21.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.02489, allocations: 215.3 kB / 491.4 MB, free: 21.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.02507, allocations: 76.94 kB / 491.5 MB, free: 21.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.02518, allocations: 13.59 kB / 491.5 MB, free: 21.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.0252, allocations: 38.8 kB / 491.5 MB, free: 21.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.0252, allocations: 3.188 kB / 491.5 MB, free: 21.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.001026/0.02623, allocations: 337.6 kB / 491.9 MB, free: 21.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.02625, allocations: 84.42 kB / 492 MB, free: 20.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.02652, allocations: 281.7 kB / 492.2 MB, free: 20.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.02654, allocations: 31.67 kB / 492.3 MB, free: 20.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.02666, allocations: 215.9 kB / 492.5 MB, free: 20.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.02672, allocations: 87.16 kB / 492.6 MB, free: 20.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.02682, allocations: 66.8 kB / 492.6 MB, free: 20.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002809/0.0271, allocations: 0.513 MB / 493.1 MB, free: 19.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.02731, allocations: 77.98 kB / 493.2 MB, free: 19.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.02754, allocations: 201.9 kB / 493.4 MB, free: 19.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.02795, allocations: 286.8 kB / 493.7 MB, free: 19.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.02795, allocations: 2.031 kB / 493.7 MB, free: 19.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006753/0.02863, allocations: 333.8 kB / 494 MB, free: 19.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.02864, allocations: 7.25 kB / 494 MB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.02865, allocations: 3.469 kB / 494 MB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.0289, allocations: 41.67 kB / 494.1 MB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.02924, allocations: 75.41 kB / 494.1 MB, free: 19.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.03085, allocations: 1.888 MB / 496 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.03116, allocations: 39.53 kB / 496.1 MB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.03119, allocations: 16.48 kB / 496.1 MB, free: 17.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000294/0.03149, allocations: 210.2 kB / 496.3 MB, free: 17.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002228/0.03171, allocations: 195.4 kB / 496.5 MB, free: 17.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003991/0.03211, allocations: 281.2 kB / 496.8 MB, free: 16.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.03211, allocations: 2.156 kB / 496.8 MB, free: 16.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006575/0.03277, allocations: 317.1 kB / 497.1 MB, free: 16.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.03278, allocations: 5.406 kB / 497.1 MB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.03278, allocations: 7.656 kB / 497.1 MB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.03296, allocations: 43.38 kB / 497.1 MB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.0333, allocations: 71.56 kB / 497.2 MB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.03483, allocations: 1.893 MB / 499.1 MB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.03511, allocations: 32.86 kB / 499.1 MB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.03514, allocations: 17.08 kB / 499.1 MB, free: 14.9 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.000221/0.03536, allocations: 286.5 kB / 499.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.03544, allocations: 28.41 kB / 499.4 MB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.03595, allocations: 227.2 kB / 499.7 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.03595, allocations: 2.844 kB / 499.7 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.03595, allocations: 1.375 kB / 499.7 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.03596, allocations: 4.672 kB / 499.7 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.03721, allocations: 0.7969 MB / 0.4887 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.03721, allocations: 1.469 kB / 0.4887 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.03742, allocations: 52.55 kB / 0.4888 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.03757, allocations: 43.12 kB / 0.4888 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.03759, allocations: 7.688 kB / 0.4888 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.03899, allocations: 1.821 MB / 0.4906 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.03899, allocations: 3.438 kB / 0.4906 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.0396, allocations: 0.5303 MB / 0.4911 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.03972, allocations: 40.83 kB / 0.4912 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.03976, allocations: 13.17 kB / 0.4912 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.04, allocations: 21.58 kB / 0.4912 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.04007, allocations: 26.06 kB / 0.4912 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.04009, allocations: 15.77 kB / 0.4913 GB, free: 11.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.04029, allocations: 196.9 kB / 0.4914 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04029, allocations: 1.031 kB / 0.4914 GB, free: 11.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006449/0.04094, allocations: 111.2 kB / 0.4915 GB, free: 11.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.000169/0.04111, allocations: 113.1 kB / 0.4917 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.04231, allocations: 0.6966 MB / 0.4923 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.04231, allocations: 3.656 kB / 0.4923 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.04266, allocations: 273.4 kB / 0.4926 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.04313, allocations: 36.98 kB / 0.4926 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008455/0.04397, allocations: 0.5144 MB / 0.4931 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.04413, allocations: 162.1 kB / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.04436, allocations: 80.91 kB / 0.4934 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.04445, allocations: 22.53 kB / 0.4934 GB, free: 10.16 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.04445, allocations: 0 / 0.4934 GB, free: 10.16 MB / 426.7 MB Notification: Performance of Templates: time 0.008607/0.05306, allocations: 3.685 MB / 0.497 GB, free: 9.844 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: 5.970640282030217]