Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.549/2.549, allocations: 287.5 MB / 303.2 MB, free: 8.336 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.001383/0.001383, allocations: 179.5 kB / 371.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.0009298/0.0009296, allocations: 90.53 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004934, allocations: 16.31 kB / 0.8667 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2125, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9705/1.183, allocations: 196.2 MB / 1.171 GB, free: 3.805 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/1.184, allocations: 105.1 kB / 1.171 GB, free: 3.746 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.45/1.634, allocations: 113.8 MB / 1.282 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.035e-06/1.634, allocations: 4 kB / 1.282 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002995/1.634, allocations: 71.98 kB / 1.282 GB, free: 12.52 MB / 0.8073 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.01234/1.646, allocations: 2.856 MB / 1.285 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.646, allocations: 16.02 kB / 1.285 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006905/1.653, allocations: 0.6662 MB / 1.286 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007565/1.661, allocations: 2.113 MB / 1.288 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/1.661, allocations: 218 kB / 1.288 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/1.663, allocations: 303.9 kB / 1.288 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/1.679, allocations: 4.637 MB / 1.293 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001849/1.679, allocations: 11.84 kB / 1.293 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001151/1.68, allocations: 132 kB / 1.293 GB, free: 1.195 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003174/1.681, allocations: 173.8 kB / 1.293 GB, free: 1.023 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/1.692, allocations: 3.407 MB / 1.296 GB, free: 13.61 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0381/1.73, allocations: 21.61 MB / 1.318 GB, free: 6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/1.734, allocations: 1.28 MB / 1.319 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002576/1.736, allocations: 1.034 MB / 1.32 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/1.736, allocations: 9 kB / 1.32 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/1.737, allocations: 47.56 kB / 1.32 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 4.498e-06/1.737, allocations: 0 / 1.32 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.04388/1.78, allocations: 8.634 MB / 1.328 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/1.781, allocations: 68.66 kB / 1.328 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/1.783, allocations: 1.111 MB / 1.329 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003163/1.783, allocations: 49.7 kB / 1.329 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/1.785, allocations: 1.307 MB / 1.331 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000771/1.785, allocations: 485 kB / 1.331 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/1.786, allocations: 32 kB / 1.331 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002108/1.786, allocations: 373.8 kB / 1.332 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/1.788, allocations: 0.8745 MB / 1.332 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/1.79, allocations: 1.342 MB / 1.334 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00523/1.796, allocations: 2.426 MB / 1.336 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/1.796, allocations: 4 kB / 1.336 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01062/1.806, allocations: 3.409 MB / 1.339 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/1.807, allocations: 12 kB / 1.339 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/1.807, allocations: 16 kB / 1.339 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005219/1.812, allocations: 1.142 MB / 1.341 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/1.814, allocations: 267.5 kB / 1.341 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0268/1.841, allocations: 12.5 MB / 1.353 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/1.843, allocations: 91.97 kB / 1.353 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/1.843, allocations: 64 kB / 1.353 GB, free: 500 kB / 0.8698 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.003558/1.847, allocations: 1.122 MB / 1.354 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/1.847, allocations: 158.1 kB / 1.354 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009987/1.857, allocations: 3.118 MB / 1.358 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/1.858, allocations: 12 kB / 1.358 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.475e-05/1.858, allocations: 12 kB / 1.358 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.913e-05/1.858, allocations: 11.91 kB / 1.358 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/1.877, allocations: 6.12 MB / 1.364 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/1.877, allocations: 8.359 kB / 1.364 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.878, allocations: 151.8 kB / 1.364 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004982/1.883, allocations: 1.03 MB / 1.365 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/1.883, allocations: 24 kB / 1.365 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0258/1.909, allocations: 12.19 MB / 1.377 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.909, allocations: 15.94 kB / 1.377 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008697/1.918, allocations: 3.095 MB / 1.38 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.919, allocations: 415.1 kB / 1.38 GB, free: 4.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/1.92, allocations: 32.38 kB / 1.38 GB, free: 4.312 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/1.921, allocations: 75.84 kB / 1.38 GB, free: 4.238 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004785/1.922, allocations: 128.7 kB / 1.38 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.922, allocations: 40 kB / 1.38 GB, free: 4.074 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001607/1.923, allocations: 0.7475 MB / 1.381 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.61e-07/1.923, allocations: 0 / 1.381 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003249/1.927, allocations: 0.668 MB / 1.382 GB, free: 2.656 MB / 0.9011 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.0003795/1.927, allocations: 143.1 kB / 1.382 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007987/1.935, allocations: 3.069 MB / 1.385 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.935, allocations: 384 / 1.385 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005167/1.94, allocations: 1.936 MB / 1.387 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00482/1.945, allocations: 448.2 kB / 1.387 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/1.961, allocations: 6.402 MB / 1.393 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00398/1.965, allocations: 2.346 MB / 1.396 GB, free: 4.121 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001967/1.967, allocations: 346 kB / 1.396 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/1.967, allocations: 87.44 kB / 1.396 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of SimCode: time 4.589e-06/1.967, allocations: 0 / 1.396 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of Templates: time 0.08282/2.05, allocations: 29.14 MB / 1.425 GB, free: 6.898 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)