Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.58/1.58, allocations: 297.8 MB / 313.7 MB, free: 96 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009133/0.0009133, allocations: 190.2 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007233/0.0007235, allocations: 98.84 kB / 0.7808 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 16.53 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5934/0.5938, allocations: 120.3 MB / 1.026 GB, free: 55.83 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.7901, allocations: 174.6 MB / 1.197 GB, free: 3.156 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.7905, allocations: 94.5 kB / 1.197 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.9938/1.784, allocations: 212.3 MB / 1.404 GB, free: 144 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.615e-06/1.784, allocations: 0 / 1.404 GB, free: 144 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005286/1.785, allocations: 137 kB / 1.404 GB, free: 144 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01777/1.803, allocations: 4.692 MB / 1.409 GB, free: 142 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.803, allocations: 13.16 kB / 1.409 GB, free: 142 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007947/1.811, allocations: 1.051 MB / 1.41 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009433/1.82, allocations: 3.469 MB / 1.413 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004119/1.821, allocations: 416.9 kB / 1.414 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002464/1.823, allocations: 0.5403 MB / 1.414 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/1.851, allocations: 8.628 MB / 1.423 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004578/1.852, allocations: 36.89 kB / 1.423 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002335/1.854, allocations: 243.2 kB / 1.423 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004047/1.854, allocations: 311.2 kB / 1.423 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/1.869, allocations: 6.154 MB / 1.429 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04607/1.915, allocations: 40.12 MB / 1.468 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/1.919, allocations: 3.089 MB / 1.472 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/1.921, allocations: 1.973 MB / 1.473 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/1.922, allocations: 21.12 kB / 1.473 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.922, allocations: 49.53 kB / 1.473 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=179): time 3.747e-06/1.922, allocations: 0 / 1.473 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.02383/1.945, allocations: 10.02 MB / 1.483 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/1.946, allocations: 73.38 kB / 1.483 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003514/1.949, allocations: 1.512 MB / 1.485 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002673/1.949, allocations: 53.86 kB / 1.485 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.951, allocations: 2.233 MB / 1.487 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007863/1.952, allocations: 0.6275 MB / 1.488 GB, free: 109 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/1.952, allocations: 51.06 kB / 1.488 GB, free: 109 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.952, allocations: 398 kB / 1.488 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/1.954, allocations: 1.166 MB / 1.489 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/1.957, allocations: 1.854 MB / 1.491 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/1.961, allocations: 3.335 MB / 1.494 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.333e-05/1.961, allocations: 6.25 kB / 1.494 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.009592/1.971, allocations: 4.541 MB / 1.499 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/1.971, allocations: 14.41 kB / 1.499 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.278e-05/1.971, allocations: 22.34 kB / 1.499 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004071/1.975, allocations: 1.582 MB / 1.5 GB, free: 104 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.977, allocations: 352.2 kB / 1.501 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02372/2.001, allocations: 17.06 MB / 1.517 GB, free: 93.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/2.003, allocations: 116.8 kB / 1.517 GB, free: 93.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004979/2.003, allocations: 97 kB / 1.518 GB, free: 93.59 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004785/2.008, allocations: 1.894 MB / 1.519 GB, free: 92.77 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008298/2.009, allocations: 225.6 kB / 1.52 GB, free: 92.65 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007685/2.017, allocations: 4.087 MB / 1.524 GB, free: 90.98 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/2.017, allocations: 17.88 kB / 1.524 GB, free: 90.98 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.295e-05/2.017, allocations: 20.33 kB / 1.524 GB, free: 90.98 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/2.017, allocations: 7.734 kB / 1.524 GB, free: 90.98 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/2.037, allocations: 9.406 MB / 1.533 GB, free: 86.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-05/2.037, allocations: 3.719 kB / 1.533 GB, free: 86.88 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/2.038, allocations: 184 kB / 1.533 GB, free: 86.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/2.041, allocations: 1.359 MB / 1.534 GB, free: 86.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/2.041, allocations: 35.55 kB / 1.534 GB, free: 86.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/2.058, allocations: 15.94 MB / 1.55 GB, free: 76.74 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/2.058, allocations: 7.875 kB / 1.55 GB, free: 76.74 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006983/2.065, allocations: 4.053 MB / 1.554 GB, free: 74.95 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/2.066, allocations: 0.5248 MB / 1.554 GB, free: 74.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006935/2.067, allocations: 35.31 kB / 1.554 GB, free: 74.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/2.069, allocations: 90.58 kB / 1.555 GB, free: 74.57 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005549/2.069, allocations: 163.6 kB / 1.555 GB, free: 74.54 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/2.069, allocations: 43.12 kB / 1.555 GB, free: 74.53 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001812/2.071, allocations: 0.9941 MB / 1.556 GB, free: 74.11 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/2.071, allocations: 0 / 1.556 GB, free: 74.11 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004796/2.076, allocations: 1.031 MB / 1.557 GB, free: 74.03 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003356/2.076, allocations: 157 kB / 1.557 GB, free: 73.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006483/2.083, allocations: 4.258 MB / 1.561 GB, free: 71.98 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/2.083, allocations: 3.812 kB / 1.561 GB, free: 71.98 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004168/2.087, allocations: 2.667 MB / 1.564 GB, free: 70.65 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/2.092, allocations: 0.6856 MB / 1.564 GB, free: 70.48 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/2.114, allocations: 10.51 MB / 1.575 GB, free: 64.76 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007373/2.122, allocations: 3.571 MB / 1.578 GB, free: 63.39 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002004/2.124, allocations: 465.8 kB / 1.578 GB, free: 63.34 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/2.124, allocations: 117 kB / 1.579 GB, free: 63.34 MB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/2.124, allocations: 0 / 1.579 GB, free: 63.34 MB / 0.9323 GB Notification: Performance of Templates: time 0.0698/2.194, allocations: 41.52 MB / 1.619 GB, free: 61.51 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)