Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.00111/0.00111, allocations: 176.4 kB / 361.4 MB, free: 6.836 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.684/1.684, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008324/0.0008324, allocations: 96.94 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.728e-05, allocations: 4 kB / 0.8517 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7462, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2762/1.022, allocations: 208.9 MB / 1.168 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/1.023, allocations: 95.94 kB / 1.168 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2175/1.24, allocations: 84.82 MB / 1.251 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/1.24, allocations: 4 kB / 1.251 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002354/1.241, allocations: 51.86 kB / 1.251 GB, free: 5.363 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00491/1.246, allocations: 1.618 MB / 1.253 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.246, allocations: 8.031 kB / 1.253 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/1.258, allocations: 1.971 MB / 1.255 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5337/1.792, allocations: 2.056 MB / 1.257 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/1.792, allocations: 39.34 kB / 1.257 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004564/1.792, allocations: 67.25 kB / 1.257 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003914/1.796, allocations: 1.651 MB / 1.259 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/1.8, allocations: 2.048 MB / 1.261 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.717e-05/1.8, allocations: 7.453 kB / 1.261 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/1.801, allocations: 5.781 kB / 1.261 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/1.801, allocations: 91.16 kB / 1.261 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/1.816, allocations: 10.44 MB / 1.271 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/1.818, allocations: 1.48 MB / 1.272 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/1.819, allocations: 0.8659 MB / 1.273 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.369e-05/1.819, allocations: 9.281 kB / 1.273 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.819, allocations: 48.97 kB / 1.273 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/1.819, allocations: 0 / 1.273 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.01754/1.837, allocations: 6.905 MB / 1.28 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/1.837, allocations: 223.4 kB / 1.28 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.838, allocations: 0.8086 MB / 1.281 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003002/1.839, allocations: 27.53 kB / 1.281 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005439/1.839, allocations: 0.7563 MB / 1.282 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004821/1.84, allocations: 0.4885 MB / 1.282 GB, free: 201 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/1.84, allocations: 1.094 kB / 1.282 GB, free: 201 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.84, allocations: 365 kB / 1.283 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/1.842, allocations: 1.092 MB / 1.284 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/1.843, allocations: 1.369 MB / 1.285 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/1.846, allocations: 1.262 MB / 1.286 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.846, allocations: 6.25 kB / 1.286 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01149/1.857, allocations: 4.439 MB / 1.29 GB, free: 200 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/1.857, allocations: 7.609 kB / 1.291 GB, free: 200 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/1.857, allocations: 6.219 kB / 1.291 GB, free: 200 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008879/1.866, allocations: 2.087 MB / 1.293 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/1.868, allocations: 421.1 kB / 1.293 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02649/1.895, allocations: 21.74 MB / 1.314 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/1.898, allocations: 297.7 kB / 1.314 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/1.898, allocations: 64.75 kB / 1.315 GB, free: 184.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004002/1.899, allocations: 130.8 kB / 1.315 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005489/1.899, allocations: 161.8 kB / 1.315 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.911, allocations: 4.518 MB / 1.319 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/1.911, allocations: 17.86 kB / 1.319 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.416e-05/1.911, allocations: 19.91 kB / 1.319 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.022e-05/1.911, allocations: 8.844 kB / 1.319 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/1.925, allocations: 6.568 MB / 1.326 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.925, allocations: 3.812 kB / 1.326 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.927, allocations: 366 kB / 1.326 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008214/1.935, allocations: 1.941 MB / 1.328 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/1.935, allocations: 23.55 kB / 1.328 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/1.957, allocations: 20.91 MB / 1.348 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.957, allocations: 4.906 kB / 1.348 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009021/1.966, allocations: 4.298 MB / 1.353 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.968, allocations: 0.4886 MB / 1.353 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/1.968, allocations: 9.25 kB / 1.353 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/1.97, allocations: 303.5 kB / 1.353 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005642/1.971, allocations: 149.8 kB / 1.353 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/1.971, allocations: 55.81 kB / 1.354 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008581/1.972, allocations: 0.6067 MB / 1.354 GB, free: 163 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.972, allocations: 0 / 1.354 GB, free: 163 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002936/1.975, allocations: 0.633 MB / 1.355 GB, free: 163 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005094/1.975, allocations: 184 kB / 1.355 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006489/1.982, allocations: 4.176 MB / 1.359 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.982, allocations: 0 / 1.359 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004405/1.986, allocations: 2.823 MB / 1.362 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/1.989, allocations: 434.2 kB / 1.362 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/1.994, allocations: 3.097 MB / 1.365 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/1.995, allocations: 1.606 MB / 1.367 GB, free: 157 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001761/1.997, allocations: 389.2 kB / 1.367 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/1.997, allocations: 105.9 kB / 1.367 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/1.997, allocations: 0 / 1.367 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.0568/2.054, allocations: 40.85 MB / 1.407 GB, free: 134 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)