Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.0009957/0.0009957, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.00115/0.00115, allocations: 173 kB / 24.15 MB, free: 352 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 0.9637/0.9637, 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.6767/0.6767, allocations: 115 MB / 376 MB, free: 7.422 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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 428.7 MB, free: 2.777 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.062e-05, allocations: 2.312 kB / 428.7 MB, free: 2.773 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004077/0.004108, allocations: 2.76 MB / 431.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.00638, allocations: 1.445 MB / 432.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.006546, allocations: 7.938 kB / 432.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.007028, allocations: 87.45 kB / 433 MB, free: 14.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.00746, allocations: 190.9 kB / 433.2 MB, free: 14.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.007986, allocations: 231.2 kB / 433.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.008433, allocations: 414.6 kB / 433.8 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.008712, allocations: 192 kB / 434 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.009042, allocations: 227.4 kB / 434.2 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.009324, allocations: 175.5 kB / 434.4 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.009374, allocations: 28 kB / 434.4 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.009672, allocations: 187.6 kB / 434.6 MB, free: 12.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.009784, allocations: 103.7 kB / 434.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.009885, allocations: 103.7 kB / 434.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.01037, allocations: 358.8 kB / 435.2 MB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.01038, allocations: 0 / 435.2 MB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01038, allocations: 0 / 435.2 MB, free: 12.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.01039, allocations: 0 / 435.2 MB, free: 12.28 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007956/0.01118, allocations: 0.5209 MB / 435.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.01122, allocations: 15.97 kB / 435.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005977/0.01182, allocations: 156.6 kB / 435.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.0121, allocations: 209 kB / 436.1 MB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.01212, allocations: 24.88 kB / 436.1 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.01216, allocations: 24.3 kB / 436.1 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.01256, allocations: 312.3 kB / 436.4 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01257, allocations: 192 / 436.4 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.01259, allocations: 4.375 kB / 436.4 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.01263, allocations: 32.3 kB / 436.5 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.01279, allocations: 108.9 kB / 436.6 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01382, allocations: 0.9933 MB / 437.6 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.0142, allocations: 242.6 kB / 437.8 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.01428, allocations: 57.55 kB / 437.8 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.527e-05/0.01436, allocations: 8 kB / 437.9 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.01455, allocations: 187.1 kB / 438 MB, free: 9.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.794e-06/0.01455, allocations: 0 / 438 MB, free: 9.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005667/0.01512, allocations: 239.8 kB / 438.3 MB, free: 8.977 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.01516, allocations: 93.03 kB / 438.4 MB, free: 8.867 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.01529, allocations: 208.9 kB / 438.6 MB, free: 8.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.01532, allocations: 33.7 kB / 438.6 MB, free: 8.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.01539, allocations: 156.6 kB / 438.7 MB, free: 8.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.01544, allocations: 99.14 kB / 438.8 MB, free: 8.355 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.01553, allocations: 65.61 kB / 438.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.01563, allocations: 338.8 kB / 439.2 MB, free: 7.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.01573, allocations: 78.86 kB / 439.3 MB, free: 7.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01584, allocations: 147 kB / 439.5 MB, free: 7.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.01605, allocations: 209.4 kB / 439.7 MB, free: 7.438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01605, allocations: 4 kB / 439.7 MB, free: 7.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003368/0.01638, allocations: 293.1 kB / 440 MB, free: 7.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.01642, allocations: 37.64 kB / 440 MB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01643, allocations: 4 kB / 440 MB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.01658, allocations: 51.89 kB / 440 MB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.01677, allocations: 67.89 kB / 440.1 MB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008092/0.01758, allocations: 1.275 MB / 441.4 MB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.01772, allocations: 35.92 kB / 441.4 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.01774, allocations: 4 kB / 441.4 MB, free: 5.543 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001357/0.01787, allocations: 165.1 kB / 441.6 MB, free: 5.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001017/0.01798, allocations: 139 kB / 441.7 MB, free: 5.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000184/0.01816, allocations: 210.5 kB / 441.9 MB, free: 4.957 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.01816, allocations: 4 kB / 441.9 MB, free: 4.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0002908/0.01845, allocations: 272.6 kB / 442.2 MB, free: 4.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.01848, allocations: 41.69 kB / 442.2 MB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.01849, allocations: 4 kB / 442.2 MB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.01859, allocations: 39.94 kB / 442.3 MB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01877, allocations: 67.88 kB / 442.4 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006974/0.01947, allocations: 1.291 MB / 443.6 MB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.0196, allocations: 35.89 kB / 443.7 MB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.01961, allocations: 15.98 kB / 443.7 MB, free: 3.055 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0001255/0.01974, allocations: 196.2 kB / 443.9 MB, free: 2.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.01978, allocations: 27.97 kB / 443.9 MB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.02007, allocations: 219.5 kB / 444.1 MB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.02008, allocations: 4 kB / 444.1 MB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.02008, allocations: 0 / 444.1 MB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.02008, allocations: 7.984 kB / 444.1 MB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.02043, allocations: 328.2 kB / 444.5 MB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.02043, allocations: 96 / 444.5 MB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.02057, allocations: 51.98 kB / 444.5 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.02067, allocations: 47.64 kB / 444.6 MB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.02069, allocations: 64 / 444.6 MB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006151/0.0213, allocations: 1.233 MB / 445.8 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.0213, allocations: 3.984 kB / 445.8 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.02156, allocations: 294.7 kB / 446.1 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.02163, allocations: 47.73 kB / 446.1 MB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.02166, allocations: 8 kB / 446.1 MB, free: 436 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.02177, allocations: 19.92 kB / 446.2 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.02183, allocations: 31.94 kB / 446.2 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.02184, allocations: 4 kB / 446.2 MB, free: 380 kB / 410.7 MB Notification: Performance of sorting global known variables: time 6.782e-05/0.02191, allocations: 74.78 kB / 446.3 MB, free: 300 kB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02191, allocations: 3.938 kB / 446.3 MB, free: 296 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003744/0.02229, allocations: 136 kB / 446.4 MB, free: 160 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001425/0.02243, allocations: 96.33 kB / 446.5 MB, free: 56 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.2226/0.245, allocations: 0.6801 MB / 447.2 MB, free: 26.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/0.245, allocations: 4.141 kB / 447.2 MB, free: 26.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.2452, allocations: 204.9 kB / 447.4 MB, free: 26.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2455, allocations: 53.86 kB / 447.4 MB, free: 26.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.2464, allocations: 0.5533 MB / 448 MB, free: 26.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.783e-05/0.2465, allocations: 108.5 kB / 448.1 MB, free: 26.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.2466, allocations: 46.39 kB / 448.1 MB, free: 26.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.2468, allocations: 100.2 kB / 448.2 MB, free: 26.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.674e-06/0.2468, allocations: 0 / 448.2 MB, free: 26.17 MB / 410.7 MB Notification: Performance of Templates: time 0.00811/0.2549, allocations: 5.363 MB / 453.6 MB, free: 25.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.764176288153976]