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.001848/0.001848, 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.002238/0.002238, allocations: 165.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.555/1.555, 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 1.098/1.098, allocations: 115 MB / 375.3 MB, free: 7.602 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.363e-06/1.363e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.603e-05, allocations: 5.812 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004358/0.004384, allocations: 3.606 MB / 484.4 MB, free: 9.637 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.007088, allocations: 1.922 MB / 486.3 MB, free: 8.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.007221, allocations: 7.938 kB / 486.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000761/0.007982, allocations: 244.6 kB / 486.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004676/0.008449, allocations: 223.5 kB / 486.8 MB, free: 8.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.009022, allocations: 266.4 kB / 487 MB, free: 8.043 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.009416, allocations: 409.9 kB / 487.4 MB, free: 7.859 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.009721, allocations: 181.7 kB / 487.6 MB, free: 7.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.01004, allocations: 225.9 kB / 487.8 MB, free: 7.676 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.01033, allocations: 171.8 kB / 488 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.01039, allocations: 26.25 kB / 488 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.01082, allocations: 269.1 kB / 488.3 MB, free: 7.543 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.01092, allocations: 109.9 kB / 488.4 MB, free: 7.488 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.01105, allocations: 102 kB / 488.5 MB, free: 7.445 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.01163, allocations: 0.532 MB / 489 MB, free: 7.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01164, allocations: 0 / 489 MB, free: 7.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01164, allocations: 0.9375 kB / 489 MB, free: 7.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.01165, allocations: 1.188 kB / 489 MB, free: 7.258 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.001045/0.01269, allocations: 0.6884 MB / 489.7 MB, free: 6.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.01273, allocations: 9.5 kB / 489.7 MB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.01377, allocations: 176.5 kB / 489.9 MB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.01412, allocations: 234.1 kB / 490.1 MB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.01414, allocations: 16.83 kB / 490.1 MB, free: 6.453 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.0142, allocations: 27.48 kB / 490.2 MB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.01481, allocations: 367.1 kB / 490.5 MB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.01482, allocations: 3.406 kB / 490.5 MB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.01486, allocations: 6.688 kB / 490.5 MB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.0149, allocations: 29.62 kB / 490.6 MB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.01555, allocations: 237.2 kB / 490.8 MB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.01746, allocations: 1.543 MB / 492.3 MB, free: 20.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/0.01839, allocations: 323.5 kB / 492.7 MB, free: 20.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.01868, allocations: 110.2 kB / 492.8 MB, free: 20.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.0188, allocations: 14 kB / 492.8 MB, free: 20.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004277/0.01923, allocations: 250.3 kB / 493 MB, free: 20.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.01923, allocations: 1.438 kB / 493 MB, free: 20.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001479/0.02071, allocations: 474.1 kB / 493.5 MB, free: 20.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.02073, allocations: 85.98 kB / 493.6 MB, free: 20.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.02099, allocations: 308.8 kB / 493.9 MB, free: 20.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.02102, allocations: 34.17 kB / 493.9 MB, free: 20 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.02114, allocations: 221.8 kB / 494.1 MB, free: 19.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.02121, allocations: 105.6 kB / 494.2 MB, free: 19.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.02134, allocations: 87.58 kB / 494.3 MB, free: 19.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.02161, allocations: 0.5148 MB / 494.8 MB, free: 19.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.02192, allocations: 140.7 kB / 495 MB, free: 19.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.02234, allocations: 247.8 kB / 495.2 MB, free: 18.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.02301, allocations: 354.4 kB / 495.6 MB, free: 18.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02302, allocations: 2.219 kB / 495.6 MB, free: 18.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009486/0.02396, allocations: 471.5 kB / 496 MB, free: 18.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.02401, allocations: 36.55 kB / 496.1 MB, free: 18.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.02401, allocations: 1.5 kB / 496.1 MB, free: 18.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.02426, allocations: 48.62 kB / 496.1 MB, free: 18.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.02466, allocations: 81.62 kB / 496.2 MB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.02636, allocations: 1.884 MB / 498.1 MB, free: 16.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.02669, allocations: 47.84 kB / 498.1 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.02673, allocations: 14.34 kB / 498.1 MB, free: 16.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004277/0.02716, allocations: 268.2 kB / 498.4 MB, free: 16.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003482/0.02751, allocations: 244.4 kB / 498.6 MB, free: 16.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006137/0.02812, allocations: 354.6 kB / 499 MB, free: 15.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.02812, allocations: 1.125 kB / 499 MB, free: 15.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0009266/0.02905, allocations: 448.2 kB / 499.4 MB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.02908, allocations: 36.7 kB / 499.4 MB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.02909, allocations: 2.219 kB / 499.5 MB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.02926, allocations: 43.14 kB / 499.5 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.02967, allocations: 94.25 kB / 499.6 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.03129, allocations: 1.892 MB / 0.4897 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.03161, allocations: 40.58 kB / 0.4898 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.03164, allocations: 14.53 kB / 0.4898 GB, free: 13.82 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.0002542/0.03189, allocations: 288.4 kB / 0.4901 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.03197, allocations: 41.3 kB / 0.4901 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008557/0.03283, allocations: 328.2 kB / 0.4904 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.03283, allocations: 8.359 kB / 0.4904 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.03283, allocations: 0.9375 kB / 0.4904 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.03284, allocations: 4.406 kB / 0.4904 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.0335, allocations: 0.4939 MB / 0.4909 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.0335, allocations: 1.281 kB / 0.4909 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.03383, allocations: 66.27 kB / 0.491 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.03399, allocations: 42.42 kB / 0.491 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.03402, allocations: 5.594 kB / 0.491 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.0355, allocations: 1.825 MB / 0.4928 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.0355, allocations: 1.156 kB / 0.4928 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.0363, allocations: 481.3 kB / 0.4933 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.03644, allocations: 54.92 kB / 0.4933 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.03648, allocations: 7.281 kB / 0.4933 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.03676, allocations: 34.86 kB / 0.4933 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.03687, allocations: 40.55 kB / 0.4934 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.03689, allocations: 14.28 kB / 0.4934 GB, free: 10.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003021/0.03719, allocations: 220 kB / 0.4936 GB, free: 10.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03719, allocations: 1.125 kB / 0.4936 GB, free: 10.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006261/0.03782, allocations: 135.2 kB / 0.4937 GB, free: 10.62 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.0001955/0.03802, allocations: 115.5 kB / 0.4938 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.03968, allocations: 0.9867 MB / 0.4948 GB, free: 9.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.03968, allocations: 0 / 0.4948 GB, free: 9.844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.04016, allocations: 313.8 kB / 0.4951 GB, free: 9.629 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.04061, allocations: 57.3 kB / 0.4952 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.04161, allocations: 0.5666 MB / 0.4957 GB, free: 9.242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.04177, allocations: 175 kB / 0.4959 GB, free: 9.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002998/0.04207, allocations: 77.78 kB / 0.496 GB, free: 9.156 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.04219, allocations: 32.62 kB / 0.496 GB, free: 9.145 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04219, allocations: 0 / 0.496 GB, free: 9.145 MB / 426.7 MB Notification: Performance of Templates: time 0.01146/0.05365, allocations: 5.2 MB / 0.5011 GB, free: 7.016 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: 5.842579929041676]