Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.805/1.805, allocations: 288.4 MB / 303.6 MB, free: 8.117 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.00109/0.00109, allocations: 183 kB / 372.3 MB, free: 10.12 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.695/1.695, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0009743/0.0009742, allocations: 86.36 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004237, allocations: 16.38 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2454, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01427/0.2597, allocations: 18.32 MB / 0.998 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008101/0.2679, allocations: 6.186 MB / 1.004 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.269, allocations: 75.56 kB / 1.004 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007908/0.2698, allocations: 392.8 kB / 1.005 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.2719, allocations: 1.026 MB / 1.006 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.2738, allocations: 0.8217 MB / 1.006 GB, free: 448 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005318/0.2792, allocations: 5.532 MB / 1.012 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009682/0.2889, allocations: 7.161 MB / 1.019 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.2916, allocations: 1.51 MB / 1.02 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.2941, allocations: 1.974 MB / 1.022 GB, free: 160 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003066/0.2945, allocations: 180 kB / 1.022 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.2962, allocations: 0.8889 MB / 1.023 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.2974, allocations: 1.341 MB / 1.024 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.2988, allocations: 1.503 MB / 1.026 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004861/0.3037, allocations: 5.4 MB / 1.031 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.199e-05/0.3038, allocations: 3.984 kB / 1.031 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3038, allocations: 0 / 1.031 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000125/0.3039, allocations: 0 / 1.031 GB, free: 6.812 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005768/0.3097, allocations: 2.813 MB / 1.034 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3097, allocations: 8.031 kB / 1.034 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.3127, allocations: 0.645 MB / 1.035 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/0.3158, allocations: 1.939 MB / 1.036 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.3159, allocations: 222.3 kB / 1.037 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004106/0.3163, allocations: 292.4 kB / 1.037 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007173/0.3235, allocations: 4.859 MB / 1.042 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.264e-05/0.3236, allocations: 15.83 kB / 1.042 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/0.3239, allocations: 132 kB / 1.042 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003982/0.3243, allocations: 233.7 kB / 1.042 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005731/0.3301, allocations: 3.731 MB / 1.046 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5136/0.8436, allocations: 21.61 MB / 1.067 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.8465, allocations: 1.307 MB / 1.068 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.8481, allocations: 1.033 MB / 1.069 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.366e-05/0.8482, allocations: 11.5 kB / 1.069 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.8483, allocations: 48.52 kB / 1.069 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 2.986e-06/0.8483, allocations: 0 / 1.069 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.02751/0.8758, allocations: 8.704 MB / 1.078 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.8759, allocations: 70.47 kB / 1.078 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.8784, allocations: 1.116 MB / 1.079 GB, free: 77.83 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.8786, allocations: 51.58 kB / 1.079 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.8797, allocations: 1.295 MB / 1.08 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/0.8802, allocations: 485.3 kB / 1.081 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.8803, allocations: 30.25 kB / 1.081 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.8805, allocations: 367.7 kB / 1.081 GB, free: 76.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.8822, allocations: 0.9107 MB / 1.082 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.8839, allocations: 1.319 MB / 1.083 GB, free: 74.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.8873, allocations: 2.415 MB / 1.086 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.8873, allocations: 7.5 kB / 1.086 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006703/0.894, allocations: 3.452 MB / 1.089 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.8941, allocations: 9.125 kB / 1.089 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.8942, allocations: 13.09 kB / 1.089 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/0.8976, allocations: 1.191 MB / 1.09 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.8987, allocations: 256.7 kB / 1.09 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/0.9145, allocations: 12.7 MB / 1.103 GB, free: 64.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.9162, allocations: 94.22 kB / 1.103 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.9163, allocations: 63.31 kB / 1.103 GB, free: 64.04 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00233/0.9186, allocations: 1.122 MB / 1.104 GB, free: 63.51 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/0.9191, allocations: 169.1 kB / 1.104 GB, free: 63.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005539/0.9247, allocations: 3.156 MB / 1.107 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.9247, allocations: 14.38 kB / 1.107 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/0.9247, allocations: 11.75 kB / 1.107 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.9248, allocations: 7.969 kB / 1.107 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.9354, allocations: 6.233 MB / 1.113 GB, free: 58.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.9355, allocations: 8.094 kB / 1.113 GB, free: 58.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.9361, allocations: 146.5 kB / 1.114 GB, free: 58.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/0.9391, allocations: 1.067 MB / 1.115 GB, free: 57.51 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.9392, allocations: 31.41 kB / 1.115 GB, free: 57.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/0.9536, allocations: 12.44 MB / 1.127 GB, free: 48.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.9536, allocations: 10.91 kB / 1.127 GB, free: 48.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004521/0.9581, allocations: 3.14 MB / 1.13 GB, free: 46.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000891/0.9591, allocations: 434.7 kB / 1.13 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.9592, allocations: 27.39 kB / 1.13 GB, free: 46.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007767/0.96, allocations: 84.09 kB / 1.13 GB, free: 46.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/0.9605, allocations: 124.1 kB / 1.13 GB, free: 46.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/0.9606, allocations: 39.59 kB / 1.13 GB, free: 46.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001085/0.9617, allocations: 0.7577 MB / 1.131 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9617, allocations: 0 / 1.131 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002937/0.9646, allocations: 0.6573 MB / 1.132 GB, free: 45.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000287/0.9649, allocations: 137.9 kB / 1.132 GB, free: 45.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004875/0.9698, allocations: 3.124 MB / 1.135 GB, free: 42.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.9698, allocations: 0 / 1.135 GB, free: 42.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002651/0.9725, allocations: 1.971 MB / 1.137 GB, free: 40.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/0.9755, allocations: 472.7 kB / 1.137 GB, free: 40 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008485/0.984, allocations: 6.455 MB / 1.144 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.9859, allocations: 2.336 MB / 1.146 GB, free: 31.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001173/0.9871, allocations: 350.1 kB / 1.146 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.9873, allocations: 87.44 kB / 1.146 GB, free: 30.67 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/0.9873, allocations: 0 / 1.146 GB, free: 30.67 MB / 0.6823 GB Notification: Performance of Templates: time 0.04656/1.034, allocations: 30.46 MB / 1.176 GB, free: 0.6367 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)