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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.6 MB / 307.6 MB, free: 5.18 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.00122/0.00122, allocations: 179.7 kB / 377.1 MB, free: 1.547 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.881/1.881, allocations: 205.4 MB / 0.6367 GB, free: 9.574 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.0009477/0.0009471, allocations: 87.03 kB / 0.751 GB, free: 62.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 8 kB / 0.8748 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3407, allocations: 116.3 MB / 0.9884 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9608/1.302, allocations: 197.4 MB / 1.181 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/1.302, allocations: 96.5 kB / 1.181 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.279/1.581, allocations: 113.7 MB / 1.292 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.087e-06/1.581, allocations: 0 / 1.292 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004159/1.582, allocations: 75.98 kB / 1.292 GB, free: 14.18 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.01123/1.593, allocations: 2.882 MB / 1.295 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.593, allocations: 16.02 kB / 1.295 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/1.598, allocations: 0.6733 MB / 1.296 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006562/1.605, allocations: 2.063 MB / 1.298 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/1.605, allocations: 231.2 kB / 1.298 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/1.606, allocations: 288 kB / 1.298 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/1.618, allocations: 4.614 MB / 1.303 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-05/1.618, allocations: 11.84 kB / 1.303 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003951/1.619, allocations: 137.7 kB / 1.303 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000266/1.619, allocations: 165.8 kB / 1.303 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007722/1.627, allocations: 3.407 MB / 1.306 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03071/1.658, allocations: 21.6 MB / 1.328 GB, free: 7.715 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/1.66, allocations: 1.284 MB / 1.329 GB, free: 6.414 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.41e-05/1.66, allocations: 9 kB / 1.329 GB, free: 6.406 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/1.66, allocations: 43.56 kB / 1.329 GB, free: 6.355 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=107): time 3.356e-06/1.66, allocations: 4 kB / 1.329 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of matching and sorting (n=138): time 0.02517/1.685, allocations: 8.579 MB / 1.337 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/1.685, allocations: 68.72 kB / 1.337 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.687, allocations: 0.9635 MB / 1.338 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/1.687, allocations: 49.7 kB / 1.338 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/1.688, allocations: 1.3 MB / 1.34 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005896/1.689, allocations: 489 kB / 1.34 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/1.689, allocations: 36 kB / 1.34 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000224/1.689, allocations: 373.9 kB / 1.34 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/1.691, allocations: 0.8784 MB / 1.341 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/1.693, allocations: 1.331 MB / 1.343 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/1.694, allocations: 1.111 MB / 1.344 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/1.694, allocations: 4 kB / 1.344 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006359/1.701, allocations: 3.405 MB / 1.347 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/1.701, allocations: 17.81 kB / 1.347 GB, free: 3.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/1.701, allocations: 12 kB / 1.347 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/1.704, allocations: 1.144 MB / 1.348 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.705, allocations: 271.5 kB / 1.348 GB, free: 2.012 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/1.722, allocations: 12.96 MB / 1.361 GB, free: 4.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.724, allocations: 91.92 kB / 1.361 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/1.724, allocations: 67.98 kB / 1.361 GB, free: 4.504 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.002646/1.727, allocations: 1.122 MB / 1.362 GB, free: 3.371 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/1.727, allocations: 162.1 kB / 1.362 GB, free: 3.211 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006037/1.733, allocations: 3.114 MB / 1.365 GB, free: 72 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.733, allocations: 15.95 kB / 1.365 GB, free: 56 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.72e-05/1.733, allocations: 12 kB / 1.365 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/1.733, allocations: 7.969 kB / 1.366 GB, free: 36 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6641/2.397, allocations: 6.111 MB / 1.371 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/2.397, allocations: 5.375 kB / 1.371 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/2.398, allocations: 149.8 kB / 1.372 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00261/2.401, allocations: 1.03 MB / 1.373 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.365e-05/2.401, allocations: 27.38 kB / 1.373 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/2.418, allocations: 12.66 MB / 1.385 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/2.418, allocations: 5.312 kB / 1.385 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006532/2.424, allocations: 3.326 MB / 1.388 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/2.426, allocations: 418.6 kB / 1.389 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/2.426, allocations: 33.66 kB / 1.389 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/2.427, allocations: 75.42 kB / 1.389 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005716/2.427, allocations: 126.8 kB / 1.389 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.736e-05/2.427, allocations: 41.44 kB / 1.389 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00165/2.429, allocations: 0.7417 MB / 1.39 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.41e-07/2.429, allocations: 0 / 1.39 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003082/2.432, allocations: 0.6743 MB / 1.39 GB, free: 198.1 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.0002713/2.433, allocations: 142.7 kB / 1.39 GB, free: 198 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00535/2.438, allocations: 3.078 MB / 1.393 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/2.438, allocations: 0 / 1.393 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003171/2.441, allocations: 1.933 MB / 1.395 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/2.443, allocations: 422.7 kB / 1.396 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009119/2.452, allocations: 6.415 MB / 1.402 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/2.455, allocations: 2.391 MB / 1.404 GB, free: 193.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0013/2.456, allocations: 347.6 kB / 1.405 GB, free: 193.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/2.456, allocations: 85.27 kB / 1.405 GB, free: 193.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.683e-06/2.456, allocations: 0 / 1.405 GB, free: 193.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.04801/2.504, allocations: 29.13 MB / 1.433 GB, free: 192.8 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)