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.825/1.825, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001105/0.001106, allocations: 183.8 kB / 371.8 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.943/1.943, allocations: 205.4 MB / 0.6306 GB, free: 9.941 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.00101/0.00101, allocations: 100.1 kB / 0.7439 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005782/0.0005782, allocations: 14.55 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2961, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004478/0.3006, allocations: 4.705 MB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003178/0.3038, allocations: 2.492 MB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.3042, allocations: 19.81 kB / 0.9865 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.3044, allocations: 95.36 kB / 0.9866 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007102/0.3052, allocations: 319 kB / 0.9869 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.3059, allocations: 310.2 kB / 0.9872 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005187/0.3064, allocations: 0.5824 MB / 0.9877 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000969/0.3074, allocations: 0.7359 MB / 0.9885 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.3077, allocations: 286.9 kB / 0.9887 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.3081, allocations: 302.8 kB / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.3082, allocations: 28 kB / 0.989 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.3085, allocations: 151.8 kB / 0.9892 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3087, allocations: 203.4 kB / 0.9894 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.82e-05/0.3088, allocations: 145.3 kB / 0.9895 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.3093, allocations: 0.6937 MB / 0.9902 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.3093, allocations: 3.938 kB / 0.9902 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3093, allocations: 0 / 0.9902 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3093, allocations: 0 / 0.9902 GB, free: 16.58 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.001232/0.3106, allocations: 0.8528 MB / 0.991 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3106, allocations: 8.031 kB / 0.991 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.3117, allocations: 191 kB / 0.9912 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006852/0.3124, allocations: 473.5 kB / 0.9917 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.3125, allocations: 36.98 kB / 0.9917 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3126, allocations: 51.91 kB / 0.9918 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.3136, allocations: 0.8239 MB / 0.9926 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.3136, allocations: 7.938 kB / 0.9926 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.3137, allocations: 27.98 kB / 0.9926 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/0.3139, allocations: 68.92 kB / 0.9927 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007073/0.3146, allocations: 0.5697 MB / 0.9932 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.3182, allocations: 4.593 MB / 0.9977 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.3186, allocations: 291.3 kB / 0.998 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.3186, allocations: 4.281 kB / 0.998 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3186, allocations: 34.84 kB / 0.998 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/0.3186, allocations: 0 / 0.998 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004737/0.3234, allocations: 2.631 MB / 1.001 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3234, allocations: 59.39 kB / 1.001 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.3238, allocations: 458 kB / 1.001 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.3238, allocations: 33.7 kB / 1.001 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.324, allocations: 339.7 kB / 1.001 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.3241, allocations: 141.9 kB / 1.002 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.3241, allocations: 12 kB / 1.002 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.3242, allocations: 366.8 kB / 1.002 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.3245, allocations: 229 kB / 1.002 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.3248, allocations: 406.4 kB / 1.003 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.3252, allocations: 301.4 kB / 1.003 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3252, allocations: 0 / 1.003 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001367/0.3265, allocations: 0.9177 MB / 1.004 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3266, allocations: 12.12 kB / 1.004 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3266, allocations: 4 kB / 1.004 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006951/0.3273, allocations: 226.3 kB / 1.004 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.3277, allocations: 111.9 kB / 1.004 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004628/0.3324, allocations: 5.017 MB / 1.009 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.3328, allocations: 31.97 kB / 1.009 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.3329, allocations: 24 kB / 1.009 GB, free: 12.09 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.0003037/0.3332, allocations: 233.7 kB / 1.009 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.3333, allocations: 59.28 kB / 1.009 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.3348, allocations: 0.7665 MB / 1.01 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3348, allocations: 4 kB / 1.01 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3349, allocations: 4 kB / 1.01 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3349, allocations: 0 / 1.01 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.3373, allocations: 1.498 MB / 1.012 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3373, allocations: 7.984 kB / 1.012 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.3377, allocations: 67.89 kB / 1.012 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000693/0.3384, allocations: 206.5 kB / 1.012 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.3384, allocations: 11.98 kB / 1.012 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004968/0.3434, allocations: 4.939 MB / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3434, allocations: 8.031 kB / 1.017 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.3452, allocations: 1.213 MB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.3455, allocations: 172.6 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.3456, allocations: 16 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.3459, allocations: 27.86 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.346, allocations: 43.94 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.3461, allocations: 16 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003992/0.3465, allocations: 314.9 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.3465, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007024/0.3472, allocations: 168 kB / 1.019 GB, free: 1.715 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.0001761/0.3474, allocations: 115.1 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.349, allocations: 1.004 MB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.349, allocations: 0 / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009966/0.35, allocations: 0.6799 MB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.3507, allocations: 159.8 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.3529, allocations: 1.504 MB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006464/0.3536, allocations: 0.9611 MB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004242/0.354, allocations: 113 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3541, allocations: 35.44 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.774e-06/0.3541, allocations: 4 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.01457/0.3687, allocations: 8.151 MB / 1.031 GB, free: 4.945 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)