Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.592/1.592, allocations: 297.8 MB / 313.7 MB, free: 56 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.0009113/0.0009114, allocations: 182.9 kB / 384.6 MB, free: 10.79 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.376/1.376, allocations: 223.2 MB / 0.6626 GB, free: 4.27 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.000751/0.000751, allocations: 96.34 kB / 0.7808 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.000427, allocations: 12.53 kB / 0.9088 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7025/0.703, allocations: 120.3 MB / 1.026 GB, free: 55.71 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.9185, allocations: 174.4 MB / 1.197 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.9189, allocations: 96.83 kB / 1.197 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.8693/1.788, allocations: 194.1 MB / 1.386 GB, free: 145.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.743e-06/1.788, allocations: 1.031 kB / 1.386 GB, free: 145.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003911/1.789, allocations: 129.5 kB / 1.386 GB, free: 145.2 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01281/1.801, allocations: 4.443 MB / 1.391 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/1.801, allocations: 8.812 kB / 1.391 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006212/1.808, allocations: 1.013 MB / 1.392 GB, free: 143 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007435/1.815, allocations: 3.297 MB / 1.395 GB, free: 142.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/1.816, allocations: 365.3 kB / 1.395 GB, free: 142.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001731/1.817, allocations: 471.8 kB / 1.396 GB, free: 142.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/1.835, allocations: 7.541 MB / 1.403 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002025/1.835, allocations: 26.8 kB / 1.403 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/1.836, allocations: 221.9 kB / 1.403 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003099/1.837, allocations: 265.6 kB / 1.404 GB, free: 141 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/1.848, allocations: 5.4 MB / 1.409 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03209/1.88, allocations: 36.27 MB / 1.444 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/1.883, allocations: 2.134 MB / 1.446 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/1.885, allocations: 1.475 MB / 1.448 GB, free: 117 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-05/1.885, allocations: 17.12 kB / 1.448 GB, free: 117 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/1.885, allocations: 49.44 kB / 1.448 GB, free: 117 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=157): time 4.248e-06/1.885, allocations: 4.875 kB / 1.448 GB, free: 117 MB / 0.9323 GB Notification: Performance of matching and sorting (n=160): time 0.01184/1.897, allocations: 7.561 MB / 1.455 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/1.897, allocations: 68.34 kB / 1.455 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/1.899, allocations: 1.81 MB / 1.457 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/1.899, allocations: 53.23 kB / 1.457 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009228/1.9, allocations: 2.094 MB / 1.459 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000349/1.9, allocations: 0.5506 MB / 1.46 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.056e-05/1.9, allocations: 47.09 kB / 1.46 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.901, allocations: 393.2 kB / 1.46 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/1.902, allocations: 1.011 MB / 1.461 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/1.903, allocations: 1.741 MB / 1.463 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/1.906, allocations: 2.997 MB / 1.466 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/1.906, allocations: 6.188 kB / 1.466 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005324/1.911, allocations: 3.816 MB / 1.47 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/1.911, allocations: 16.12 kB / 1.47 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/1.912, allocations: 25.56 kB / 1.47 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/1.913, allocations: 0.9104 MB / 1.47 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.915, allocations: 425.3 kB / 1.471 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/1.929, allocations: 21.03 MB / 1.491 GB, free: 95.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/1.931, allocations: 120.9 kB / 1.492 GB, free: 95.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/1.931, allocations: 93.84 kB / 1.492 GB, free: 95.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003325/1.935, allocations: 1.649 MB / 1.493 GB, free: 95.02 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005588/1.935, allocations: 256.1 kB / 1.493 GB, free: 94.89 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/1.94, allocations: 3.254 MB / 1.497 GB, free: 93.48 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.94, allocations: 15.34 kB / 1.497 GB, free: 93.48 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.94, allocations: 10.47 kB / 1.497 GB, free: 93.48 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.94, allocations: 6.844 kB / 1.497 GB, free: 93.48 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.951, allocations: 7.517 MB / 1.504 GB, free: 90.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.951, allocations: 6.344 kB / 1.504 GB, free: 90.33 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008454/1.952, allocations: 218.8 kB / 1.504 GB, free: 90.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001934/1.954, allocations: 0.8779 MB / 1.505 GB, free: 90 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.954, allocations: 32.69 kB / 1.505 GB, free: 89.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.969, allocations: 21.01 MB / 1.526 GB, free: 71.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.969, allocations: 4.219 kB / 1.526 GB, free: 71.97 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005574/1.975, allocations: 3.355 MB / 1.529 GB, free: 70.37 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.976, allocations: 0.5351 MB / 1.529 GB, free: 70.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/1.977, allocations: 35.56 kB / 1.53 GB, free: 70 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.978, allocations: 95.44 kB / 1.53 GB, free: 69.97 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004454/1.978, allocations: 140.3 kB / 1.53 GB, free: 69.94 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.978, allocations: 42.91 kB / 1.53 GB, free: 69.93 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001922/1.98, allocations: 1.18 MB / 1.531 GB, free: 69.47 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/1.98, allocations: 3.938 kB / 1.531 GB, free: 69.46 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00369/1.984, allocations: 0.9331 MB / 1.532 GB, free: 69.39 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003302/1.984, allocations: 168.3 kB / 1.532 GB, free: 69.26 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00698/1.991, allocations: 4.339 MB / 1.536 GB, free: 66.79 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.991, allocations: 2.438 kB / 1.536 GB, free: 66.79 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004067/1.996, allocations: 2.993 MB / 1.539 GB, free: 64.81 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005878/2.001, allocations: 0.7302 MB / 1.54 GB, free: 64.61 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/2.019, allocations: 9.217 MB / 1.549 GB, free: 59.48 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005357/2.024, allocations: 3.202 MB / 1.552 GB, free: 58.22 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002341/2.026, allocations: 0.5181 MB / 1.553 GB, free: 58.15 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/2.027, allocations: 143 kB / 1.553 GB, free: 58.14 MB / 0.9323 GB Notification: Performance of SimCode: time 1.072e-06/2.027, allocations: 0 / 1.553 GB, free: 58.14 MB / 0.9323 GB Notification: Performance of Templates: time 0.06145/2.088, allocations: 39.35 MB / 1.591 GB, free: 56.58 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)