Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009207/0.0009207, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.000991/0.000991, allocations: 173 kB / 23.36 MB, free: 1.133 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.9932/0.9932, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001783/0.001783, allocations: 238.5 kB / 260.5 MB, free: 12.72 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7387/0.7387, allocations: 138.4 MB / 402.2 MB, free: 0.5938 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0.6094 kB / 462.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.248e-05, allocations: 5.578 kB / 462.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005297/0.005329, allocations: 4.176 MB / 466.5 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.008166, allocations: 1.563 MB / 468.1 MB, free: 12.89 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.00853, allocations: 35.69 kB / 468.1 MB, free: 12.85 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005395/0.00907, allocations: 174.7 kB / 468.3 MB, free: 12.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006908/0.00976, allocations: 366.3 kB / 468.7 MB, free: 12.32 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.01037, allocations: 348 kB / 469 MB, free: 11.99 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007699/0.01114, allocations: 0.989 MB / 470 MB, free: 11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004282/0.01157, allocations: 415.7 kB / 470.4 MB, free: 10.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005141/0.01208, allocations: 0.5155 MB / 470.9 MB, free: 10.08 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.01252, allocations: 368.2 kB / 471.3 MB, free: 9.723 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.487e-05/0.01258, allocations: 48 kB / 471.3 MB, free: 9.676 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.01281, allocations: 135.7 kB / 471.5 MB, free: 9.543 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.01298, allocations: 268 kB / 471.7 MB, free: 9.281 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.01315, allocations: 239.4 kB / 472 MB, free: 9.047 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005697/0.01372, allocations: 0.5969 MB / 472.5 MB, free: 8.449 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01372, allocations: 0 / 472.5 MB, free: 8.449 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.01372, allocations: 0 / 472.5 MB, free: 8.449 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.01373, allocations: 0 / 472.5 MB, free: 8.449 MB / 426.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.0008657/0.0146, allocations: 0.8482 MB / 473.4 MB, free: 7.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.01463, allocations: 8.75 kB / 473.4 MB, free: 7.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/0.01541, allocations: 236.3 kB / 473.6 MB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.01591, allocations: 443 kB / 474.1 MB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.01594, allocations: 41.36 kB / 474.1 MB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.01605, allocations: 58.42 kB / 474.2 MB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.0166, allocations: 0.6978 MB / 474.9 MB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.01662, allocations: 8.078 kB / 474.9 MB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.01665, allocations: 28.11 kB / 474.9 MB, free: 5.949 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.01676, allocations: 61.48 kB / 475 MB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.017, allocations: 205.4 kB / 475.2 MB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.01905, allocations: 3.026 MB / 478.2 MB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.01924, allocations: 164.9 kB / 478.3 MB, free: 2.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.01932, allocations: 62.95 kB / 478.4 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.01935, allocations: 9.875 kB / 478.4 MB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.01938, allocations: 38.83 kB / 478.5 MB, free: 2.277 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.734e-06/0.01938, allocations: 0 / 478.5 MB, free: 2.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.00177/0.02115, allocations: 0.9941 MB / 479.4 MB, free: 1.258 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.02118, allocations: 59.41 kB / 479.5 MB, free: 1.188 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.02141, allocations: 401 kB / 479.9 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.02144, allocations: 29.7 kB / 479.9 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.02156, allocations: 313.4 kB / 480.2 MB, free: 448 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.02163, allocations: 134.8 kB / 480.4 MB, free: 312 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.02172, allocations: 94.25 kB / 480.5 MB, free: 212 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.02183, allocations: 364 kB / 480.8 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.02192, allocations: 68.11 kB / 480.9 MB, free: 15.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.02208, allocations: 227.4 kB / 481.1 MB, free: 15.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.0224, allocations: 338.6 kB / 481.4 MB, free: 15.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.02241, allocations: 5.031 kB / 481.4 MB, free: 15.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006883/0.02309, allocations: 421.9 kB / 481.8 MB, free: 14.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.02312, allocations: 9.031 kB / 481.9 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.02313, allocations: 4 kB / 481.9 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/0.02365, allocations: 157.4 kB / 482 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.02403, allocations: 117.1 kB / 482.1 MB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.02609, allocations: 2.644 MB / 484.8 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.02634, allocations: 21.36 kB / 484.8 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.02637, allocations: 16 kB / 484.8 MB, free: 11.52 MB / 442.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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.02653, allocations: 150.2 kB / 485 MB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.02661, allocations: 44.84 kB / 485 MB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.02716, allocations: 322.4 kB / 485.3 MB, free: 11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.02716, allocations: 4 kB / 485.3 MB, free: 11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.02716, allocations: 0.9688 kB / 485.3 MB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.02717, allocations: 7.922 kB / 485.3 MB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.0282, allocations: 0.6937 MB / 486 MB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.02821, allocations: 5.234 kB / 486 MB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.02846, allocations: 55.91 kB / 486.1 MB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.02892, allocations: 151.8 kB / 486.2 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.02894, allocations: 9.094 kB / 486.2 MB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.03085, allocations: 2.639 MB / 488.9 MB, free: 7.219 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.03085, allocations: 5.344 kB / 488.9 MB, free: 7.215 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/0.03153, allocations: 0.5257 MB / 489.4 MB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.03165, allocations: 73.73 kB / 489.5 MB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.03169, allocations: 8 kB / 489.5 MB, free: 6.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.03187, allocations: 8 kB / 489.5 MB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.03194, allocations: 27.95 kB / 489.5 MB, free: 6.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.03196, allocations: 4 kB / 489.5 MB, free: 6.531 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.03212, allocations: 172.4 kB / 489.7 MB, free: 6.359 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03212, allocations: 1.844 kB / 489.7 MB, free: 6.359 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005476/0.03266, allocations: 156 kB / 489.9 MB, free: 6.207 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001404/0.0328, allocations: 91.05 kB / 489.9 MB, free: 6.109 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006945/0.0335, allocations: 0.5167 MB / 490.5 MB, free: 5.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/0.03351, allocations: 4 kB / 490.5 MB, free: 5.566 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.03392, allocations: 397.5 kB / 490.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/0.03455, allocations: 167.2 kB / 491 MB, free: 5.012 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.03629, allocations: 1.058 MB / 492.1 MB, free: 3.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.03644, allocations: 174.3 kB / 492.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.03667, allocations: 62.5 kB / 492.3 MB, free: 3.691 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.037, allocations: 174.5 kB / 492.5 MB, free: 3.523 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/0.037, allocations: 0 / 492.5 MB, free: 3.523 MB / 442.7 MB Notification: Performance of Templates: time 0.01431/0.05131, allocations: 8.616 MB / 0.4893 GB, free: 11.35 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6801189705729485]