Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.817/1.817, allocations: 288.4 MB / 303.4 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 180.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009147/0.0009147, allocations: 96.53 kB / 0.7441 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003821, allocations: 16.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2464, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004735/0.2512, allocations: 4.879 MB / 0.9844 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003552/0.2548, allocations: 2.512 MB / 0.9868 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.2553, allocations: 23.81 kB / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.2556, allocations: 103.1 kB / 0.9869 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007477/0.2564, allocations: 334.2 kB / 0.9873 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000722/0.2571, allocations: 301.2 kB / 0.9875 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008437/0.258, allocations: 1.049 MB / 0.9886 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.259, allocations: 0.732 MB / 0.9893 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.2594, allocations: 310.7 kB / 0.9896 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.2598, allocations: 382.5 kB / 0.9899 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.2598, allocations: 24 kB / 0.99 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.2602, allocations: 187.7 kB / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.2604, allocations: 219.4 kB / 0.9904 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.2605, allocations: 145.3 kB / 0.9905 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.261, allocations: 0.7209 MB / 0.9912 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.261, allocations: 0 / 0.9912 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.043e-06/0.2611, allocations: 4 kB / 0.9912 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.2611, allocations: 0 / 0.9912 GB, free: 15.72 MB / 0.6198 GB 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.001216/0.2623, allocations: 0.8667 MB / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2623, allocations: 8.031 kB / 0.9921 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.2636, allocations: 195 kB / 0.9922 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.2642, allocations: 485.4 kB / 0.9927 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.2642, allocations: 36.98 kB / 0.9927 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.2644, allocations: 51.98 kB / 0.9928 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000939/0.2653, allocations: 0.82 MB / 0.9936 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.2653, allocations: 7.938 kB / 0.9936 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.2654, allocations: 27.92 kB / 0.9936 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001973/0.2656, allocations: 64.95 kB / 0.9937 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.2663, allocations: 0.5697 MB / 0.9942 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.2696, allocations: 4.585 MB / 0.9987 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.27, allocations: 299.3 kB / 0.999 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.2703, allocations: 229.3 kB / 0.9992 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.2703, allocations: 4.281 kB / 0.9992 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2703, allocations: 30.84 kB / 0.9993 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.956e-06/0.2703, allocations: 0 / 0.9993 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004773/0.2751, allocations: 2.63 MB / 1.002 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2752, allocations: 59.41 kB / 1.002 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.2755, allocations: 458 kB / 1.002 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.2756, allocations: 33.7 kB / 1.002 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.2757, allocations: 339.6 kB / 1.003 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.2758, allocations: 149.9 kB / 1.003 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.2758, allocations: 8 kB / 1.003 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.2759, allocations: 366.8 kB / 1.003 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.2762, allocations: 237 kB / 1.003 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.2766, allocations: 410.4 kB / 1.004 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.2769, allocations: 293.5 kB / 1.004 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2769, allocations: 0 / 1.004 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001387/0.2783, allocations: 0.9211 MB / 1.005 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2783, allocations: 8 kB / 1.005 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2784, allocations: 4.656 kB / 1.005 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/0.2791, allocations: 234.3 kB / 1.005 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.2796, allocations: 115.8 kB / 1.005 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/0.2843, allocations: 4.935 MB / 1.01 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.2849, allocations: 31.97 kB / 1.01 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.285, allocations: 23.94 kB / 1.01 GB, free: 11.05 MB / 0.6355 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003627/0.2853, allocations: 233.7 kB / 1.01 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.2854, allocations: 55.34 kB / 1.01 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.287, allocations: 0.7704 MB / 1.011 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.287, allocations: 4 kB / 1.011 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2871, allocations: 4 kB / 1.011 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2871, allocations: 3.984 kB / 1.011 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.2894, allocations: 1.495 MB / 1.013 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2895, allocations: 4.031 kB / 1.013 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.2899, allocations: 67.89 kB / 1.013 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006742/0.2905, allocations: 202.4 kB / 1.013 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.2906, allocations: 15.98 kB / 1.013 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004456/0.2951, allocations: 4.868 MB / 1.018 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.2951, allocations: 4 kB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.2969, allocations: 1.135 MB / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.2972, allocations: 176.3 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.2973, allocations: 12 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.2977, allocations: 27.91 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/0.2978, allocations: 43.91 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.2978, allocations: 12.19 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003751/0.2982, allocations: 314.9 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2982, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007005/0.2989, allocations: 164 kB / 1.02 GB, free: 0.8789 MB / 0.6355 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001816/0.2991, allocations: 119.2 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.3006, allocations: 1 MB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3006, allocations: 0 / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000947/0.3016, allocations: 0.6721 MB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008605/0.3025, allocations: 167.8 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3045, allocations: 1.507 MB / 1.023 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.305, allocations: 0.9455 MB / 1.024 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003733/0.3054, allocations: 113 kB / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.3055, allocations: 35.44 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/0.3055, allocations: 3.938 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.01404/0.3195, allocations: 8.163 MB / 1.032 GB, free: 4.109 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)