Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.559/1.559, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.000936/0.000936, allocations: 184.8 kB / 366.7 MB, free: 1.668 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.551/1.551, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008384/0.0008384, allocations: 91.8 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.931e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.685/0.685, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2342/0.9193, allocations: 171.1 MB / 1.14 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.9196, allocations: 91.94 kB / 1.14 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.9182/1.838, allocations: 180.8 MB / 1.317 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.766e-06/1.838, allocations: 0 / 1.317 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003456/1.838, allocations: 127.5 kB / 1.317 GB, free: 185.4 MB / 0.8542 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.01371/1.852, allocations: 4.153 MB / 1.321 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.852, allocations: 7.625 kB / 1.321 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007295/1.859, allocations: 1.017 MB / 1.322 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007982/1.867, allocations: 3.212 MB / 1.325 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/1.868, allocations: 154.9 kB / 1.325 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/1.869, allocations: 279.3 kB / 1.326 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01032/1.88, allocations: 4.723 MB / 1.33 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/1.901, allocations: 6.694 MB / 1.337 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002815/1.902, allocations: 22.31 kB / 1.337 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002068/1.904, allocations: 11.25 kB / 1.337 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003048/1.904, allocations: 274.6 kB / 1.337 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04314/1.947, allocations: 35.21 MB / 1.372 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/1.95, allocations: 2.043 MB / 1.374 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/1.952, allocations: 1.411 MB / 1.375 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/1.952, allocations: 23.53 kB / 1.375 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/1.952, allocations: 53.31 kB / 1.375 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 3.917e-06/1.952, allocations: 4 kB / 1.375 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.008321/1.961, allocations: 4.759 MB / 1.38 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/1.961, allocations: 69.66 kB / 1.38 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/1.963, allocations: 1.242 MB / 1.381 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/1.963, allocations: 29.67 kB / 1.381 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.964, allocations: 2.101 MB / 1.383 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/1.965, allocations: 0.532 MB / 1.384 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/1.965, allocations: 0 / 1.384 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.965, allocations: 391.2 kB / 1.384 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/1.966, allocations: 0.947 MB / 1.385 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/1.967, allocations: 1.666 MB / 1.386 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.969, allocations: 1.238 MB / 1.388 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/1.969, allocations: 9.344 kB / 1.388 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005275/1.974, allocations: 3.495 MB / 1.391 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/1.974, allocations: 15.88 kB / 1.391 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/1.974, allocations: 22.06 kB / 1.391 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/1.976, allocations: 0.8804 MB / 1.392 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/1.978, allocations: 417.8 kB / 1.392 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/1.992, allocations: 20.19 MB / 1.412 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/1.995, allocations: 81.56 kB / 1.412 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/1.995, allocations: 98.03 kB / 1.412 GB, free: 121.8 MB / 0.8542 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 () * 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.000661/1.996, allocations: 174 kB / 1.412 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006701/1.997, allocations: 233.9 kB / 1.413 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/2.002, allocations: 3.062 MB / 1.416 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/2.002, allocations: 12 kB / 1.416 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-05/2.002, allocations: 19.09 kB / 1.416 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/2.002, allocations: 10.56 kB / 1.416 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/2.014, allocations: 6.572 MB / 1.422 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/2.014, allocations: 4 kB / 1.422 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009058/2.015, allocations: 219.6 kB / 1.422 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/2.017, allocations: 0.8583 MB / 1.423 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/2.017, allocations: 8 kB / 1.423 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/2.03, allocations: 20.16 MB / 1.443 GB, free: 91.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/2.03, allocations: 12.08 kB / 1.443 GB, free: 91.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004534/2.035, allocations: 3.497 MB / 1.446 GB, free: 87.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/2.036, allocations: 0.506 MB / 1.447 GB, free: 86.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/2.036, allocations: 8 kB / 1.447 GB, free: 86.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/2.038, allocations: 67.88 kB / 1.447 GB, free: 86.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/2.038, allocations: 141 kB / 1.447 GB, free: 86.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/2.038, allocations: 44 kB / 1.447 GB, free: 86.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001093/2.039, allocations: 0.9138 MB / 1.448 GB, free: 85.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/2.039, allocations: 4 kB / 1.448 GB, free: 85.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003174/2.042, allocations: 0.8438 MB / 1.449 GB, free: 84.95 MB / 0.8542 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 () * 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.0002841/2.043, allocations: 135 kB / 1.449 GB, free: 84.81 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004984/2.048, allocations: 4.071 MB / 1.453 GB, free: 80.63 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/2.048, allocations: 0 / 1.453 GB, free: 80.63 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003149/2.051, allocations: 2.831 MB / 1.456 GB, free: 77.69 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/2.054, allocations: 0.6394 MB / 1.456 GB, free: 77.05 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/2.066, allocations: 5.901 MB / 1.462 GB, free: 71.06 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002831/2.069, allocations: 3.293 MB / 1.465 GB, free: 67.73 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001919/2.071, allocations: 0.4968 MB / 1.466 GB, free: 67.26 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/2.071, allocations: 127.4 kB / 1.466 GB, free: 67.14 MB / 0.8542 GB Notification: Performance of SimCode: time 1.623e-06/2.071, allocations: 0 / 1.466 GB, free: 67.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.0545/2.126, allocations: 35.29 MB / 1.5 GB, free: 32.47 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)