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.0009825/0.0009825, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001075/0.001075, allocations: 170.5 kB / 24.84 MB, free: 9.297 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.9869/0.9869, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.6366/0.6366, allocations: 115 MB / 376.8 MB, free: 7.453 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.583e-06/1.583e-06, allocations: 0 / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.936e-05, allocations: 2.312 kB / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004393/0.004422, allocations: 2.753 MB / 485.5 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.006918, allocations: 1.406 MB / 486.9 MB, free: 9.043 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.007073, allocations: 7.531 kB / 486.9 MB, free: 9.039 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.007607, allocations: 97.06 kB / 487 MB, free: 8.984 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.008079, allocations: 188.7 kB / 487.2 MB, free: 8.875 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.008621, allocations: 229.8 kB / 487.4 MB, free: 8.762 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.00913, allocations: 413.1 kB / 487.8 MB, free: 8.578 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.009472, allocations: 173.9 kB / 488 MB, free: 8.496 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.009904, allocations: 229.3 kB / 488.2 MB, free: 8.402 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.01027, allocations: 169.6 kB / 488.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.393e-05/0.01033, allocations: 27.34 kB / 488.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.01071, allocations: 193.7 kB / 488.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.01084, allocations: 108.1 kB / 488.7 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.01097, allocations: 99.5 kB / 488.8 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007121/0.01169, allocations: 363 kB / 489.2 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.0117, allocations: 0 / 489.2 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0117, allocations: 1.031 kB / 489.2 MB, free: 8.055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.01171, allocations: 5.156 kB / 489.2 MB, free: 8.051 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.0008809/0.01259, allocations: 0.6538 MB / 489.8 MB, free: 7.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.01263, allocations: 13.47 kB / 489.8 MB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/0.01332, allocations: 156.2 kB / 490 MB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.01361, allocations: 223.4 kB / 490.2 MB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.01363, allocations: 17.91 kB / 490.2 MB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.01368, allocations: 18.31 kB / 490.2 MB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.01408, allocations: 332.5 kB / 490.6 MB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.01409, allocations: 192 / 490.6 MB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.01412, allocations: 11.48 kB / 490.6 MB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.01415, allocations: 29.19 kB / 490.6 MB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.01434, allocations: 125 kB / 490.7 MB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.01551, allocations: 1.42 MB / 492.1 MB, free: 21.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.01591, allocations: 218 kB / 492.4 MB, free: 21.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.016, allocations: 74.39 kB / 492.4 MB, free: 21.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-05/0.01607, allocations: 14.05 kB / 492.4 MB, free: 21.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.01628, allocations: 191 kB / 492.6 MB, free: 21.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.322e-06/0.01628, allocations: 0 / 492.6 MB, free: 21.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006737/0.01695, allocations: 285.8 kB / 492.9 MB, free: 21.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.01697, allocations: 84.52 kB / 493 MB, free: 21.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.01712, allocations: 269.2 kB / 493.3 MB, free: 21.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.01714, allocations: 32.89 kB / 493.3 MB, free: 21.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.01722, allocations: 220.2 kB / 493.5 MB, free: 20.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.01727, allocations: 102 kB / 493.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.01735, allocations: 74.41 kB / 493.7 MB, free: 20.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.01748, allocations: 0.5072 MB / 494.2 MB, free: 20.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.01758, allocations: 86 kB / 494.3 MB, free: 20.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01769, allocations: 182.8 kB / 494.4 MB, free: 20.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.0179, allocations: 259.5 kB / 494.7 MB, free: 19.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0179, allocations: 0.9375 kB / 494.7 MB, free: 19.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003993/0.0183, allocations: 350.1 kB / 495 MB, free: 19.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.01833, allocations: 36.23 kB / 495.1 MB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01834, allocations: 2.562 kB / 495.1 MB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.01849, allocations: 45.16 kB / 495.1 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.01869, allocations: 69.86 kB / 495.2 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009379/0.01963, allocations: 1.828 MB / 497 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.0198, allocations: 29.17 kB / 497 MB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.01982, allocations: 15.27 kB / 497.1 MB, free: 17.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001716/0.02, allocations: 202.8 kB / 497.3 MB, free: 17.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001255/0.02012, allocations: 182.2 kB / 497.4 MB, free: 17.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002051/0.02033, allocations: 248.5 kB / 497.7 MB, free: 17.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.02033, allocations: 5.266 kB / 497.7 MB, free: 17.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0003715/0.0207, allocations: 334.7 kB / 498 MB, free: 17.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.02072, allocations: 33.92 kB / 498 MB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.02072, allocations: 2.125 kB / 498 MB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/0.02083, allocations: 46.52 kB / 498.1 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.02102, allocations: 72.94 kB / 498.2 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007833/0.0218, allocations: 1.827 MB / 500 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.02194, allocations: 32.5 kB / 0.4883 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.02196, allocations: 17.47 kB / 0.4883 GB, free: 15.23 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.0001216/0.02208, allocations: 286.4 kB / 0.4886 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.02212, allocations: 38.92 kB / 0.4886 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.02245, allocations: 249.4 kB / 0.4889 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.02246, allocations: 2.594 kB / 0.4889 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.02246, allocations: 1.719 kB / 0.4889 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.02246, allocations: 2 kB / 0.4889 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.0228, allocations: 432.1 kB / 0.4893 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.0228, allocations: 1.344 kB / 0.4893 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.02295, allocations: 52.14 kB / 0.4893 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.539e-05/0.02305, allocations: 35.86 kB / 0.4894 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.02307, allocations: 6.688 kB / 0.4894 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000728/0.02379, allocations: 1.77 MB / 0.4911 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.0238, allocations: 5.094 kB / 0.4911 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.0241, allocations: 400.5 kB / 0.4915 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.02416, allocations: 54.78 kB / 0.4915 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.02419, allocations: 4.375 kB / 0.4915 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.02431, allocations: 21.75 kB / 0.4916 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.02437, allocations: 38.45 kB / 0.4916 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.02439, allocations: 6.844 kB / 0.4916 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.682e-05/0.02448, allocations: 192.6 kB / 0.4918 GB, free: 12.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02448, allocations: 0 / 0.4918 GB, free: 12.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000418/0.0249, allocations: 137 kB / 0.4919 GB, free: 12.18 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.0001235/0.02503, allocations: 109.6 kB / 0.492 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006823/0.02571, allocations: 0.8215 MB / 0.4928 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02571, allocations: 0 / 0.4928 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.02602, allocations: 267 kB / 0.4931 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.02631, allocations: 62.05 kB / 0.4931 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/0.02708, allocations: 0.5535 MB / 0.4937 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.315e-05/0.02714, allocations: 107.4 kB / 0.4938 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.02729, allocations: 44.11 kB / 0.4938 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.02746, allocations: 123.5 kB / 0.4939 GB, free: 10.74 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.02746, allocations: 0 / 0.4939 GB, free: 10.74 MB / 426.7 MB Notification: Performance of Templates: time 0.008597/0.03605, allocations: 5.663 MB / 0.4995 GB, free: 9.789 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.6806048839353025]