Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 293 MB / 309 MB, free: 4.793 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.001114/0.001114, allocations: 182.8 kB / 378.7 MB, free: 1.016 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.788/1.788, allocations: 205.4 MB / 0.6383 GB, free: 8.238 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007681/0.000768, allocations: 89.28 kB / 0.7527 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2908, allocations: 116.4 MB / 0.9905 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8559/1.147, allocations: 197.4 MB / 1.183 GB, free: 16 kB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.147, allocations: 106.1 kB / 1.183 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2776/1.425, allocations: 113.8 MB / 1.295 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.445e-06/1.425, allocations: 0 / 1.295 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004017/1.425, allocations: 75.98 kB / 1.295 GB, free: 12.83 MB / 0.8698 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.0114/1.437, allocations: 2.862 MB / 1.297 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.437, allocations: 12.03 kB / 1.297 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004818/1.442, allocations: 0.6663 MB / 1.298 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005834/1.447, allocations: 2.109 MB / 1.3 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/1.448, allocations: 218 kB / 1.3 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/1.449, allocations: 303.9 kB / 1.301 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/1.461, allocations: 4.629 MB / 1.305 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/1.462, allocations: 23.77 kB / 1.305 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00055/1.462, allocations: 128 kB / 1.305 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/1.462, allocations: 165.8 kB / 1.305 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007661/1.47, allocations: 3.403 MB / 1.309 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02727/1.497, allocations: 21.62 MB / 1.33 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/1.499, allocations: 1.28 MB / 1.331 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/1.5, allocations: 1.034 MB / 1.332 GB, free: 3.988 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.6e-05/1.501, allocations: 13 kB / 1.332 GB, free: 3.977 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/1.501, allocations: 47.5 kB / 1.332 GB, free: 3.922 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=107): time 2.915e-06/1.501, allocations: 0 / 1.332 GB, free: 3.922 MB / 0.9011 GB Notification: Performance of matching and sorting (n=138): time 0.02317/1.524, allocations: 8.635 MB / 1.341 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/1.524, allocations: 68.72 kB / 1.341 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/1.525, allocations: 1.111 MB / 1.342 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/1.525, allocations: 45.7 kB / 1.342 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008405/1.526, allocations: 1.307 MB / 1.343 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/1.527, allocations: 481.1 kB / 1.344 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/1.527, allocations: 28 kB / 1.344 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.527, allocations: 377.8 kB / 1.344 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.528, allocations: 0.8706 MB / 1.345 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/1.53, allocations: 1.35 MB / 1.346 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/1.533, allocations: 2.43 MB / 1.348 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.533, allocations: 7.938 kB / 1.348 GB, free: 2.711 MB / 0.9167 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005965/1.539, allocations: 3.405 MB / 1.352 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/1.539, allocations: 12 kB / 1.352 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/1.539, allocations: 12 kB / 1.352 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/1.542, allocations: 1.142 MB / 1.353 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009289/1.543, allocations: 267.6 kB / 1.353 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/1.559, allocations: 12.5 MB / 1.365 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.56, allocations: 87.97 kB / 1.365 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/1.561, allocations: 68 kB / 1.366 GB, free: 0.8008 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 131 * 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,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.5821/2.143, allocations: 1.117 MB / 1.367 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/2.143, allocations: 158.1 kB / 1.367 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005677/2.149, allocations: 3.114 MB / 1.37 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/2.149, allocations: 18.62 kB / 1.37 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/2.149, allocations: 10.88 kB / 1.37 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/2.149, allocations: 10.48 kB / 1.37 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/2.16, allocations: 6.126 MB / 1.376 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/2.16, allocations: 3.438 kB / 1.376 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/2.161, allocations: 150.1 kB / 1.376 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002493/2.163, allocations: 1.024 MB / 1.377 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.575e-05/2.164, allocations: 28.72 kB / 1.377 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/2.18, allocations: 12.19 MB / 1.389 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/2.181, allocations: 5.312 kB / 1.389 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006441/2.187, allocations: 3.089 MB / 1.392 GB, free: 197.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/2.188, allocations: 425.3 kB / 1.392 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/2.188, allocations: 26.31 kB / 1.392 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/2.189, allocations: 78.31 kB / 1.392 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005904/2.19, allocations: 126 kB / 1.393 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/2.19, allocations: 40.06 kB / 1.393 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001357/2.191, allocations: 0.7449 MB / 1.393 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.4e-07/2.191, allocations: 0 / 1.393 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002565/2.194, allocations: 0.6701 MB / 1.394 GB, free: 197.2 MB / 0.9323 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,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002642/2.194, allocations: 140.8 kB / 1.394 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005095/2.199, allocations: 3.069 MB / 1.397 GB, free: 196.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.199, allocations: 3.062 kB / 1.397 GB, free: 196.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00345/2.203, allocations: 1.943 MB / 1.399 GB, free: 196.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/2.206, allocations: 444.2 kB / 1.399 GB, free: 196.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009531/2.215, allocations: 6.409 MB / 1.406 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/2.218, allocations: 2.337 MB / 1.408 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00142/2.219, allocations: 351.8 kB / 1.408 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/2.219, allocations: 86.44 kB / 1.408 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.152e-06/2.219, allocations: 1.125 kB / 1.408 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.05352/2.273, allocations: 29.38 MB / 1.437 GB, free: 191.9 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)