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.0008826/0.0008826, allocations: 92.22 kB / 20.43 MB, free: 4.133 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.0009669/0.0009669, allocations: 169 kB / 23.8 MB, free: 0.7617 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 0.9513/0.9513, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.6904/0.6904, allocations: 114.9 MB / 375.7 MB, free: 7.656 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.944e-06/1.944e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.027e-05, allocations: 7.172 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003234/0.003264, allocations: 2.791 MB / 484.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.005339, allocations: 1.411 MB / 485.7 MB, free: 9.195 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.005488, allocations: 6.875 kB / 485.7 MB, free: 9.191 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.006004, allocations: 89.38 kB / 485.8 MB, free: 9.145 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.006359, allocations: 197.1 kB / 486 MB, free: 9.027 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.006808, allocations: 231 kB / 486.2 MB, free: 8.914 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.00716, allocations: 414.1 kB / 486.6 MB, free: 8.727 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.007448, allocations: 172.2 kB / 486.8 MB, free: 8.648 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.007785, allocations: 226.2 kB / 487 MB, free: 8.555 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.008054, allocations: 171 kB / 487.2 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.578e-05/0.008099, allocations: 27.53 kB / 487.2 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.008378, allocations: 193.1 kB / 487.4 MB, free: 8.449 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.008475, allocations: 108.1 kB / 487.5 MB, free: 8.395 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.008579, allocations: 100.8 kB / 487.6 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.008993, allocations: 367.2 kB / 488 MB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.008996, allocations: 1.031 kB / 488 MB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.008998, allocations: 0 / 488 MB, free: 8.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.009004, allocations: 1.688 kB / 488 MB, free: 8.203 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.0008056/0.00981, allocations: 0.6648 MB / 488.6 MB, free: 7.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.009854, allocations: 9.75 kB / 488.6 MB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/0.01056, allocations: 175.8 kB / 488.8 MB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.01087, allocations: 233.8 kB / 489 MB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.01089, allocations: 14.03 kB / 489 MB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.01094, allocations: 23.81 kB / 489.1 MB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.01141, allocations: 345.6 kB / 489.4 MB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.01142, allocations: 1.25 kB / 489.4 MB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.01145, allocations: 11.64 kB / 489.4 MB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/0.01149, allocations: 32.11 kB / 489.4 MB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.01178, allocations: 147 kB / 489.6 MB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.01311, allocations: 1.477 MB / 491.1 MB, free: 21.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.01365, allocations: 274.5 kB / 491.3 MB, free: 21.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.01378, allocations: 73.28 kB / 491.4 MB, free: 21.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.01388, allocations: 15.09 kB / 491.4 MB, free: 21.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.01411, allocations: 199.5 kB / 491.6 MB, free: 21.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.774e-06/0.01412, allocations: 0 / 491.6 MB, free: 21.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008352/0.01495, allocations: 365.6 kB / 492 MB, free: 21.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.01498, allocations: 87.73 kB / 492.1 MB, free: 21.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.01515, allocations: 276.8 kB / 492.3 MB, free: 21.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.01517, allocations: 32.05 kB / 492.4 MB, free: 21.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.01526, allocations: 210.3 kB / 492.6 MB, free: 20.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.01531, allocations: 107.5 kB / 492.7 MB, free: 20.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.0154, allocations: 66.61 kB / 492.7 MB, free: 20.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.01554, allocations: 0.5091 MB / 493.2 MB, free: 20.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.01567, allocations: 100.6 kB / 493.3 MB, free: 20.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.01583, allocations: 198.3 kB / 493.5 MB, free: 20.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.0161, allocations: 278 kB / 493.8 MB, free: 19.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.0161, allocations: 0 / 493.8 MB, free: 19.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004879/0.01658, allocations: 389.4 kB / 494.2 MB, free: 19.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.01662, allocations: 36.05 kB / 494.2 MB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.01662, allocations: 2.25 kB / 494.2 MB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.01683, allocations: 43.69 kB / 494.3 MB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.01707, allocations: 85.73 kB / 494.4 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.01807, allocations: 1.853 MB / 496.2 MB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.01825, allocations: 47.47 kB / 496.3 MB, free: 17.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.01828, allocations: 18.62 kB / 496.3 MB, free: 17.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001799/0.01846, allocations: 216.1 kB / 496.5 MB, free: 17.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001427/0.0186, allocations: 197.1 kB / 496.7 MB, free: 17.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002492/0.01885, allocations: 270.5 kB / 496.9 MB, free: 17.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.01885, allocations: 0 / 496.9 MB, free: 17.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004408/0.01929, allocations: 368.8 kB / 497.3 MB, free: 17.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01931, allocations: 33.11 kB / 497.3 MB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.01931, allocations: 6.453 kB / 497.3 MB, free: 17.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.01944, allocations: 45.64 kB / 497.4 MB, free: 17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.01966, allocations: 83.78 kB / 497.5 MB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000896/0.02056, allocations: 1.848 MB / 499.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.02072, allocations: 47.34 kB / 499.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.02074, allocations: 11.38 kB / 499.4 MB, free: 15.15 MB / 426.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.0001812/0.02092, allocations: 298.2 kB / 499.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.02098, allocations: 35.55 kB / 499.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.02144, allocations: 272.6 kB / 500 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.02145, allocations: 4.125 kB / 500 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.02145, allocations: 0.5 kB / 500 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.02146, allocations: 5.094 kB / 500 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.02193, allocations: 471.4 kB / 0.4887 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.02193, allocations: 1.156 kB / 0.4887 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.02212, allocations: 71.88 kB / 0.4888 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.02226, allocations: 35.53 kB / 0.4888 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.02228, allocations: 6.219 kB / 0.4888 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009224/0.02321, allocations: 1.807 MB / 0.4906 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.02321, allocations: 1.344 kB / 0.4906 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.02367, allocations: 413.7 kB / 0.491 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.61e-05/0.02377, allocations: 60.08 kB / 0.491 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.0238, allocations: 6.438 kB / 0.491 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.02394, allocations: 30.2 kB / 0.4911 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.02405, allocations: 37.8 kB / 0.4911 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.02407, allocations: 10.5 kB / 0.4911 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.02422, allocations: 204.3 kB / 0.4913 GB, free: 12.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02422, allocations: 1.062 kB / 0.4913 GB, free: 12.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005267/0.02475, allocations: 129.8 kB / 0.4914 GB, free: 12.01 MB / 426.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.0001689/0.02492, allocations: 109.5 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009568/0.02587, allocations: 0.8519 MB / 0.4924 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02588, allocations: 0 / 0.4924 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.02611, allocations: 283.8 kB / 0.4926 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.02643, allocations: 56.08 kB / 0.4927 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.02744, allocations: 0.557 MB / 0.4932 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.546e-05/0.02751, allocations: 108.1 kB / 0.4933 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.0277, allocations: 82.81 kB / 0.4934 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.315e-05/0.02779, allocations: 32.06 kB / 0.4934 GB, free: 10.61 MB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02779, allocations: 1.25 kB / 0.4935 GB, free: 10.61 MB / 426.7 MB Notification: Performance of Templates: time 0.009064/0.03686, allocations: 5.201 MB / 0.4985 GB, free: 9.645 MB / 426.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.825151232071221]