Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.0009716/0.0009714, allocations: 172.9 kB / 361.4 MB, free: 6.871 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.55/1.55, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008221/0.000822, allocations: 90 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.04e-05, allocations: 4 kB / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.717/0.717, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.9508, allocations: 170.1 MB / 1.131 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.9511, allocations: 100.4 kB / 1.131 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.9946/1.946, allocations: 180.8 MB / 1.307 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.344e-06/1.946, allocations: 1.125 kB / 1.307 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003664/1.946, allocations: 124.7 kB / 1.307 GB, free: 184.8 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.01557/1.962, allocations: 4.147 MB / 1.311 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.962, allocations: 9.156 kB / 1.311 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008288/1.97, allocations: 1.014 MB / 1.312 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009015/1.979, allocations: 3.22 MB / 1.315 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/1.979, allocations: 155.5 kB / 1.316 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/1.982, allocations: 283.8 kB / 1.316 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01053/1.992, allocations: 4.713 MB / 1.32 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/2.009, allocations: 6.7 MB / 1.327 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/2.009, allocations: 20.94 kB / 1.327 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006294/2.009, allocations: 14.56 kB / 1.327 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002714/2.01, allocations: 275.8 kB / 1.327 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03275/2.042, allocations: 35.21 MB / 1.362 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/2.045, allocations: 2.048 MB / 1.364 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/2.047, allocations: 1.408 MB / 1.365 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.634e-05/2.047, allocations: 20.34 kB / 1.365 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/2.047, allocations: 59.25 kB / 1.365 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 4.749e-06/2.047, allocations: 0 / 1.365 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.007952/2.055, allocations: 4.757 MB / 1.37 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/2.055, allocations: 77.78 kB / 1.37 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/2.057, allocations: 1.242 MB / 1.371 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/2.057, allocations: 25.7 kB / 1.371 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008801/2.058, allocations: 2.101 MB / 1.373 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/2.058, allocations: 0.5333 MB / 1.374 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/2.058, allocations: 0 / 1.374 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001063/2.058, allocations: 385.7 kB / 1.374 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/2.059, allocations: 0.9504 MB / 1.375 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/2.061, allocations: 1.666 MB / 1.377 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/2.062, allocations: 1.24 MB / 1.378 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/2.062, allocations: 3.969 kB / 1.378 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004958/2.067, allocations: 3.495 MB / 1.381 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/2.067, allocations: 18.06 kB / 1.381 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/2.067, allocations: 26.25 kB / 1.381 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/2.069, allocations: 0.8845 MB / 1.382 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/2.07, allocations: 422 kB / 1.383 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/2.084, allocations: 20.18 MB / 1.402 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/2.086, allocations: 80.23 kB / 1.402 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/2.086, allocations: 93.88 kB / 1.402 GB, free: 123.2 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.0003685/2.087, allocations: 180.6 kB / 1.403 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/2.087, allocations: 234.2 kB / 1.403 GB, free: 123 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/2.091, allocations: 3.055 MB / 1.406 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/2.091, allocations: 16.88 kB / 1.406 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/2.091, allocations: 13.78 kB / 1.406 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/2.091, allocations: 13.28 kB / 1.406 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009842/2.101, allocations: 6.569 MB / 1.412 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/2.101, allocations: 10.56 kB / 1.412 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009113/2.102, allocations: 220.3 kB / 1.412 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/2.104, allocations: 0.8629 MB / 1.413 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/2.104, allocations: 3.781 kB / 1.413 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/2.117, allocations: 20.15 MB / 1.433 GB, free: 99.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/2.117, allocations: 15.89 kB / 1.433 GB, free: 99.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004654/2.122, allocations: 3.496 MB / 1.436 GB, free: 95.94 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/2.123, allocations: 0.506 MB / 1.437 GB, free: 95.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/2.123, allocations: 11.75 kB / 1.437 GB, free: 95.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009927/2.124, allocations: 62.05 kB / 1.437 GB, free: 95.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/2.125, allocations: 141.5 kB / 1.437 GB, free: 95.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-05/2.125, allocations: 48 kB / 1.437 GB, free: 95.28 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001104/2.126, allocations: 0.9094 MB / 1.438 GB, free: 94.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.71e-07/2.126, allocations: 0 / 1.438 GB, free: 94.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004144/2.13, allocations: 0.8398 MB / 1.439 GB, free: 93.6 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.0004525/2.131, allocations: 139.3 kB / 1.439 GB, free: 93.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008061/2.139, allocations: 4.078 MB / 1.443 GB, free: 89.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/2.139, allocations: 0 / 1.443 GB, free: 89.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005163/2.144, allocations: 2.824 MB / 1.446 GB, free: 86.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005193/2.149, allocations: 0.6461 MB / 1.446 GB, free: 86.42 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/2.165, allocations: 5.904 MB / 1.452 GB, free: 81.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00478/2.17, allocations: 3.287 MB / 1.455 GB, free: 78.33 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002831/2.173, allocations: 0.4958 MB / 1.456 GB, free: 77.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/2.173, allocations: 135.4 kB / 1.456 GB, free: 77.73 MB / 0.8542 GB Notification: Performance of SimCode: time 1.533e-06/2.173, allocations: 0 / 1.456 GB, free: 77.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.08095/2.254, allocations: 35.27 MB / 1.49 GB, free: 43.12 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)