Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001089/0.001089, allocations: 184.8 kB / 366.7 MB, free: 1.648 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.744/1.744, allocations: 205.2 MB / 0.626 GB, free: 7.137 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.000844/0.0008439, allocations: 98.27 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.767e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6274/0.6274, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/0.8678, allocations: 207.3 MB / 1.176 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.8682, allocations: 101 kB / 1.176 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2021/1.07, allocations: 83.87 MB / 1.258 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/1.07, allocations: 0 / 1.258 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001063/1.07, allocations: 43.92 kB / 1.258 GB, free: 2.16 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.003239/1.074, allocations: 1.575 MB / 1.259 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.074, allocations: 8.031 kB / 1.259 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5183/1.592, allocations: 1.873 MB / 1.261 GB, free: 210 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/1.596, allocations: 1.216 MB / 1.262 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.175e-05/1.596, allocations: 41.09 kB / 1.262 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/1.596, allocations: 69.44 kB / 1.262 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003358/1.599, allocations: 1.697 MB / 1.264 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003273/1.603, allocations: 2.062 MB / 1.266 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/1.603, allocations: 9.812 kB / 1.266 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/1.603, allocations: 5.094 kB / 1.266 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/1.603, allocations: 86.17 kB / 1.266 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/1.617, allocations: 10.43 MB / 1.276 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/1.62, allocations: 1.657 MB / 1.278 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/1.621, allocations: 0.8797 MB / 1.279 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.844e-05/1.621, allocations: 17.33 kB / 1.279 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/1.621, allocations: 45.7 kB / 1.279 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 4.198e-06/1.621, allocations: 0 / 1.279 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.01346/1.635, allocations: 5.725 MB / 1.284 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/1.635, allocations: 221 kB / 1.285 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/1.636, allocations: 0.7646 MB / 1.285 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/1.636, allocations: 27.11 kB / 1.285 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004744/1.637, allocations: 0.7105 MB / 1.286 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/1.637, allocations: 434.2 kB / 1.287 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/1.637, allocations: 0 / 1.287 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.637, allocations: 358.9 kB / 1.287 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/1.639, allocations: 0.9299 MB / 1.288 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/1.64, allocations: 1.186 MB / 1.289 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/1.642, allocations: 1.074 MB / 1.29 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.642, allocations: 1.344 kB / 1.29 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008382/1.65, allocations: 3.615 MB / 1.294 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/1.65, allocations: 9.484 kB / 1.294 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.65, allocations: 14.31 kB / 1.294 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006262/1.656, allocations: 1.569 MB / 1.295 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/1.659, allocations: 443.7 kB / 1.296 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/1.679, allocations: 23.89 MB / 1.319 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/1.682, allocations: 297.1 kB / 1.319 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/1.682, allocations: 63.94 kB / 1.319 GB, free: 181.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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003778/1.683, allocations: 131.5 kB / 1.319 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/1.683, allocations: 154 kB / 1.319 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007835/1.691, allocations: 3.671 MB / 1.323 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/1.691, allocations: 12.09 kB / 1.323 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/1.691, allocations: 12.84 kB / 1.323 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/1.691, allocations: 8.656 kB / 1.323 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/1.703, allocations: 5.947 MB / 1.329 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.703, allocations: 2.625 kB / 1.329 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/1.705, allocations: 393.1 kB / 1.329 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00561/1.71, allocations: 1.476 MB / 1.331 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002958/1.711, allocations: 21.36 kB / 1.331 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/1.728, allocations: 22.92 MB / 1.353 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.728, allocations: 1.594 kB / 1.353 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006439/1.734, allocations: 3.617 MB / 1.357 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007825/1.735, allocations: 457.1 kB / 1.357 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/1.735, allocations: 3.344 kB / 1.357 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.737, allocations: 299.6 kB / 1.357 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003217/1.738, allocations: 121.3 kB / 1.358 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.738, allocations: 51.62 kB / 1.358 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006578/1.738, allocations: 0.5721 MB / 1.358 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/1.738, allocations: 4 kB / 1.358 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001965/1.74, allocations: 0.5429 MB / 1.359 GB, free: 156.3 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003165/1.741, allocations: 148.7 kB / 1.359 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005525/1.746, allocations: 4.147 MB / 1.363 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.746, allocations: 4.125 kB / 1.363 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003971/1.75, allocations: 2.994 MB / 1.366 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/1.752, allocations: 436 kB / 1.366 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/1.758, allocations: 2.8 MB / 1.369 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009662/1.759, allocations: 1.508 MB / 1.37 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001593/1.76, allocations: 410.7 kB / 1.371 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/1.761, allocations: 107.2 kB / 1.371 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.593e-06/1.761, allocations: 0 / 1.371 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.04354/1.804, allocations: 34.62 MB / 1.405 GB, free: 134.4 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)