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.001384/0.001384, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001231/0.001231, allocations: 173 kB / 24.05 MB, free: 456 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.9871/0.9871, allocations: 177.1 MB / 204.5 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.5963/0.5963, allocations: 115 MB / 376 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.453e-06/1.453e-06, allocations: 0 / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.034e-05, allocations: 2.312 kB / 482 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.002822/0.002842, allocations: 2.751 MB / 484.7 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.004531, allocations: 1.419 MB / 486.1 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.00465, allocations: 8.094 kB / 486.1 MB, free: 9.043 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.005043, allocations: 84.16 kB / 486.2 MB, free: 9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.005342, allocations: 190.4 kB / 486.4 MB, free: 8.887 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.005684, allocations: 230 kB / 486.6 MB, free: 8.773 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003684/0.006052, allocations: 415.1 kB / 487 MB, free: 8.586 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.006314, allocations: 173.5 kB / 487.2 MB, free: 8.508 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.00663, allocations: 227.5 kB / 487.4 MB, free: 8.414 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.006925, allocations: 172.2 kB / 487.6 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.006969, allocations: 26 kB / 487.6 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.007212, allocations: 192 kB / 487.8 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.007306, allocations: 111.9 kB / 487.9 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.007402, allocations: 96.5 kB / 488 MB, free: 8.211 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.007838, allocations: 366.3 kB / 488.4 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.007842, allocations: 1.219 kB / 488.4 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007843, allocations: 0.5 kB / 488.4 MB, free: 8.062 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.007853, allocations: 0 / 488.4 MB, free: 8.062 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.0008988/0.008752, allocations: 0.6494 MB / 489 MB, free: 7.512 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.008794, allocations: 12.53 kB / 489 MB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008675/0.009661, allocations: 160.5 kB / 489.2 MB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.009993, allocations: 233 kB / 489.4 MB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.01001, allocations: 12.56 kB / 489.4 MB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.01007, allocations: 20.91 kB / 489.5 MB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.01057, allocations: 333.5 kB / 489.8 MB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.01059, allocations: 1.531 kB / 489.8 MB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.01062, allocations: 9.875 kB / 489.8 MB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.01067, allocations: 30.11 kB / 489.8 MB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.01094, allocations: 117.2 kB / 489.9 MB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.01247, allocations: 1.422 MB / 491.4 MB, free: 21.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.01299, allocations: 221.2 kB / 491.6 MB, free: 21.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.01311, allocations: 64.27 kB / 491.6 MB, free: 21.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.194e-05/0.0132, allocations: 15.25 kB / 491.6 MB, free: 21.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.01346, allocations: 189.2 kB / 491.8 MB, free: 21.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.034e-06/0.01346, allocations: 0 / 491.8 MB, free: 21.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008605/0.01432, allocations: 287.2 kB / 492.1 MB, free: 21.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.01435, allocations: 89.3 kB / 492.2 MB, free: 21.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.01454, allocations: 277.6 kB / 492.5 MB, free: 21.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.01457, allocations: 32.14 kB / 492.5 MB, free: 21.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01467, allocations: 214.6 kB / 492.7 MB, free: 20.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/0.01474, allocations: 102.6 kB / 492.8 MB, free: 20.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.01485, allocations: 77.94 kB / 492.9 MB, free: 20.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.01501, allocations: 0.505 MB / 493.4 MB, free: 20.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.01514, allocations: 86.95 kB / 493.5 MB, free: 20.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.01531, allocations: 184.9 kB / 493.7 MB, free: 20.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.01561, allocations: 248.7 kB / 493.9 MB, free: 19.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01562, allocations: 4.812 kB / 493.9 MB, free: 19.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005664/0.01618, allocations: 349.6 kB / 494.2 MB, free: 19.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.01621, allocations: 32.39 kB / 494.3 MB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01622, allocations: 2.406 kB / 494.3 MB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001863/0.01641, allocations: 51.41 kB / 494.3 MB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.01673, allocations: 69.36 kB / 494.4 MB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.01796, allocations: 1.829 MB / 496.2 MB, free: 17.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.01825, allocations: 30.08 kB / 496.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.01827, allocations: 15.5 kB / 496.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001863/0.01845, allocations: 204.9 kB / 496.5 MB, free: 17.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001083/0.01856, allocations: 186.1 kB / 496.7 MB, free: 17.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001876/0.01875, allocations: 249.5 kB / 496.9 MB, free: 17.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.01875, allocations: 1.188 kB / 496.9 MB, free: 17.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0003824/0.01913, allocations: 333 kB / 497.2 MB, free: 17.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.01916, allocations: 36.02 kB / 497.3 MB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.01916, allocations: 2.875 kB / 497.3 MB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001144/0.01928, allocations: 45.27 kB / 497.3 MB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.01947, allocations: 70.36 kB / 497.4 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008176/0.02029, allocations: 1.83 MB / 499.2 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.02044, allocations: 30.86 kB / 499.2 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.02046, allocations: 15.11 kB / 499.3 MB, free: 15.25 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.0001246/0.02058, allocations: 288.2 kB / 499.5 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.02063, allocations: 37.61 kB / 499.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.02095, allocations: 254.5 kB / 499.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.02095, allocations: 4.469 kB / 499.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.02095, allocations: 1.469 kB / 499.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02096, allocations: 0 / 499.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.02136, allocations: 437.2 kB / 0.4885 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.02136, allocations: 1.188 kB / 0.4885 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.0215, allocations: 51.83 kB / 0.4886 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-05/0.02159, allocations: 39.78 kB / 0.4886 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.02161, allocations: 11.52 kB / 0.4886 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006133/0.02222, allocations: 1.758 MB / 0.4903 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.02222, allocations: 4.906 kB / 0.4903 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.02253, allocations: 401.5 kB / 0.4907 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.0226, allocations: 53.67 kB / 0.4908 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.02262, allocations: 8.688 kB / 0.4908 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.02275, allocations: 22.73 kB / 0.4908 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.0228, allocations: 26.36 kB / 0.4908 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.02282, allocations: 9.938 kB / 0.4908 GB, free: 12.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.558e-05/0.0229, allocations: 192.7 kB / 0.491 GB, free: 12.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0229, allocations: 5 kB / 0.491 GB, free: 12.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004131/0.02332, allocations: 132.9 kB / 0.4912 GB, free: 12.2 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.0001282/0.02344, allocations: 109.1 kB / 0.4913 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007823/0.02423, allocations: 0.8204 MB / 0.4921 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02423, allocations: 0 / 0.4921 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.02442, allocations: 267.1 kB / 0.4923 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.0247, allocations: 74.58 kB / 0.4924 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.02548, allocations: 0.5438 MB / 0.4929 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.02554, allocations: 106.1 kB / 0.493 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.02569, allocations: 44.52 kB / 0.4931 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.02585, allocations: 126 kB / 0.4932 GB, free: 10.75 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02585, allocations: 2.062 kB / 0.4932 GB, free: 10.75 MB / 426.7 MB Notification: Performance of Templates: time 0.008535/0.03438, allocations: 5.547 MB / 0.4986 GB, free: 9.848 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.6825072709470987]