Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0008762/0.0008762, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.0009255/0.0009255, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9861/0.9861, allocations: 177.1 MB / 204.2 MB, free: 5.656 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.6331/0.6331, allocations: 115 MB / 375.7 MB, free: 7.668 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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.282e-05, allocations: 2.312 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004253/0.004286, allocations: 4.169 MB / 485.7 MB, free: 9.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.006752, allocations: 1.538 MB / 487.2 MB, free: 8.203 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.007071, allocations: 33.38 kB / 487.2 MB, free: 8.184 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.007677, allocations: 180.5 kB / 487.4 MB, free: 8.082 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006786/0.008356, allocations: 367.8 kB / 487.8 MB, free: 7.852 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.009069, allocations: 340.9 kB / 488.1 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008666/0.009936, allocations: 0.9992 MB / 489.1 MB, free: 7.215 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.0104, allocations: 376 kB / 489.5 MB, free: 7.043 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005509/0.01095, allocations: 0.5213 MB / 490 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.01137, allocations: 368.2 kB / 490.4 MB, free: 6.734 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.01144, allocations: 47.47 kB / 490.4 MB, free: 6.734 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.01175, allocations: 132.5 kB / 490.5 MB, free: 6.703 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.01196, allocations: 262.9 kB / 490.8 MB, free: 6.586 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.01219, allocations: 240 kB / 491 MB, free: 6.492 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.0129, allocations: 0.5988 MB / 491.6 MB, free: 6.246 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.0129, allocations: 1.125 kB / 491.6 MB, free: 6.246 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.0129, allocations: 0 / 491.6 MB, free: 6.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.01291, allocations: 0 / 491.6 MB, free: 6.246 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001078/0.01399, allocations: 0.9906 MB / 492.6 MB, free: 5.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.01404, allocations: 11.03 kB / 492.6 MB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009268/0.01496, allocations: 288.3 kB / 492.9 MB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.01556, allocations: 498.2 kB / 493.4 MB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.01559, allocations: 35.72 kB / 493.4 MB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.01572, allocations: 63.28 kB / 493.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.01641, allocations: 0.7873 MB / 494.3 MB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.01643, allocations: 11.89 kB / 494.3 MB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.01647, allocations: 27.67 kB / 494.3 MB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.0166, allocations: 68.34 kB / 494.4 MB, free: 4.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.01704, allocations: 274.8 kB / 494.7 MB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.0199, allocations: 4.417 MB / 499.1 MB, free: 16.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.02016, allocations: 146.4 kB / 499.2 MB, free: 16.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.0203, allocations: 98.56 kB / 499.3 MB, free: 16.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.02033, allocations: 12.72 kB / 499.3 MB, free: 16.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.02035, allocations: 37.23 kB / 499.4 MB, free: 16.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.02035, allocations: 1.125 kB / 499.4 MB, free: 16.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.002733/0.02308, allocations: 1.547 MB / 0.4892 GB, free: 15.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.02311, allocations: 61.09 kB / 0.4892 GB, free: 15.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.02341, allocations: 461.1 kB / 0.4897 GB, free: 15.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.02344, allocations: 32.23 kB / 0.4897 GB, free: 15.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.02358, allocations: 407.2 kB / 0.4901 GB, free: 15.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.352e-05/0.02365, allocations: 151.2 kB / 0.4902 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.02376, allocations: 106.9 kB / 0.4903 GB, free: 14.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.0239, allocations: 0.5379 MB / 0.4909 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.02406, allocations: 100.3 kB / 0.491 GB, free: 14.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.02431, allocations: 344.3 kB / 0.4913 GB, free: 13.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.02472, allocations: 493.2 kB / 0.4918 GB, free: 13.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.02473, allocations: 2.094 kB / 0.4918 GB, free: 13.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009003/0.02563, allocations: 0.6382 MB / 0.4924 GB, free: 13.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.02565, allocations: 6.75 kB / 0.4924 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.02566, allocations: 6.188 kB / 0.4924 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006773/0.02634, allocations: 235.7 kB / 0.4926 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.02665, allocations: 111.8 kB / 0.4927 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.0299, allocations: 5.645 MB / 0.4982 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.03024, allocations: 30.64 kB / 0.4983 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.03027, allocations: 32.91 kB / 0.4983 GB, free: 7.812 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.03047, allocations: 191.4 kB / 0.4985 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.03056, allocations: 66.11 kB / 0.4985 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008161/0.03137, allocations: 494 kB / 0.499 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.03138, allocations: 4.094 kB / 0.499 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.03138, allocations: 3.031 kB / 0.499 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.03139, allocations: 2.953 kB / 0.499 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.03287, allocations: 1.068 MB / 0.5001 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.03288, allocations: 4 kB / 0.5001 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.03309, allocations: 70.19 kB / 0.5001 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005489/0.03364, allocations: 212.9 kB / 0.5003 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.03367, allocations: 19.84 kB / 0.5004 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/0.03655, allocations: 5.639 MB / 0.5059 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.03655, allocations: 2.562 kB / 0.5059 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009121/0.03746, allocations: 0.7515 MB / 0.5066 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.03763, allocations: 95.58 kB / 0.5067 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.03767, allocations: 12.55 kB / 0.5067 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.03784, allocations: 28.72 kB / 0.5067 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.03794, allocations: 32.69 kB / 0.5068 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.03796, allocations: 12 kB / 0.5068 GB, free: 15.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002607/0.03822, allocations: 296.1 kB / 0.5071 GB, free: 15.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.03822, allocations: 0 / 0.5071 GB, free: 15.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006247/0.03884, allocations: 168 kB / 0.5072 GB, free: 15.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,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.0001421/0.03899, allocations: 118 kB / 0.5073 GB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.04, allocations: 0.9272 MB / 0.5082 GB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.04001, allocations: 0 / 0.5082 GB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.04061, allocations: 0.7417 MB / 0.509 GB, free: 13.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.04124, allocations: 181.7 kB / 0.5091 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.04314, allocations: 1.142 MB / 0.5102 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.0433, allocations: 184.4 kB / 0.5104 GB, free: 12.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.04355, allocations: 93.45 kB / 0.5105 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.04362, allocations: 41.11 kB / 0.5105 GB, free: 12.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.522e-06/0.04362, allocations: 0 / 0.5105 GB, free: 12.04 MB / 442.7 MB Notification: Performance of Templates: time 0.01204/0.05567, allocations: 9.178 MB / 0.5195 GB, free: 4.086 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.842986580915749]