Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001121/0.001121, allocations: 180.8 kB / 366.7 MB, free: 1.637 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.718/1.718, allocations: 205.3 MB / 0.626 GB, free: 7.141 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.0009035/0.0009035, allocations: 85.55 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.297e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6904/0.6904, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/0.9367, allocations: 209.8 MB / 1.178 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.9371, allocations: 95.22 kB / 1.178 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.6485/1.586, allocations: 84.82 MB / 1.261 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.785e-06/1.586, allocations: 0 / 1.261 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001663/1.586, allocations: 45.48 kB / 1.261 GB, free: 208.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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004158/1.59, allocations: 1.622 MB / 1.263 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.59, allocations: 9.688 kB / 1.263 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/1.603, allocations: 1.958 MB / 1.265 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006922/1.61, allocations: 2.063 MB / 1.267 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/1.61, allocations: 40.88 kB / 1.267 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/1.61, allocations: 66.77 kB / 1.267 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003513/1.614, allocations: 1.651 MB / 1.268 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/1.617, allocations: 2.057 MB / 1.27 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/1.617, allocations: 11.17 kB / 1.27 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/1.617, allocations: 6.5 kB / 1.27 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/1.618, allocations: 90.27 kB / 1.27 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/1.634, allocations: 10.44 MB / 1.281 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/1.637, allocations: 1.478 MB / 1.282 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/1.638, allocations: 0.8718 MB / 1.283 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.859e-05/1.638, allocations: 14.53 kB / 1.283 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/1.638, allocations: 44.39 kB / 1.283 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/1.638, allocations: 0 / 1.283 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.01761/1.656, allocations: 6.897 MB / 1.29 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/1.656, allocations: 222.5 kB / 1.29 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/1.657, allocations: 0.8053 MB / 1.291 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003159/1.658, allocations: 31.14 kB / 1.291 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/1.658, allocations: 0.7467 MB / 1.292 GB, free: 199.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/1.659, allocations: 0.4933 MB / 1.292 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.659, allocations: 0 / 1.292 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.659, allocations: 365 kB / 1.292 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/1.661, allocations: 1.095 MB / 1.293 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/1.663, allocations: 1.366 MB / 1.295 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/1.665, allocations: 1.265 MB / 1.296 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.665, allocations: 1.344 kB / 1.296 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0115/1.676, allocations: 4.441 MB / 1.3 GB, free: 198 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/1.676, allocations: 9.438 kB / 1.3 GB, free: 198 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/1.676, allocations: 6.984 kB / 1.3 GB, free: 198 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008854/1.685, allocations: 2.082 MB / 1.302 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/1.687, allocations: 421.4 kB / 1.303 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02504/1.712, allocations: 21.75 MB / 1.324 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/1.716, allocations: 302.9 kB / 1.324 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/1.716, allocations: 62 kB / 1.324 GB, free: 182.5 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.0004095/1.717, allocations: 130.8 kB / 1.324 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/1.717, allocations: 161.4 kB / 1.325 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009848/1.727, allocations: 4.524 MB / 1.329 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.727, allocations: 14.78 kB / 1.329 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.924e-05/1.727, allocations: 19.38 kB / 1.329 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/1.727, allocations: 8.672 kB / 1.329 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/1.74, allocations: 6.566 MB / 1.336 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.74, allocations: 3.969 kB / 1.336 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.742, allocations: 365.7 kB / 1.336 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007133/1.749, allocations: 1.939 MB / 1.338 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002954/1.749, allocations: 19.05 kB / 1.338 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/1.77, allocations: 20.91 MB / 1.358 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.77, allocations: 3.75 kB / 1.358 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009145/1.779, allocations: 4.298 MB / 1.362 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.781, allocations: 0.4897 MB / 1.363 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/1.781, allocations: 10.48 kB / 1.363 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/1.783, allocations: 306.1 kB / 1.363 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/1.784, allocations: 158.7 kB / 1.363 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.784, allocations: 51.17 kB / 1.363 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007348/1.785, allocations: 0.6042 MB / 1.364 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/1.785, allocations: 0 / 1.364 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00248/1.787, allocations: 0.6364 MB / 1.365 GB, free: 160.9 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.0004424/1.788, allocations: 177 kB / 1.365 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006183/1.794, allocations: 4.178 MB / 1.369 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.794, allocations: 4.125 kB / 1.369 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004136/1.798, allocations: 2.818 MB / 1.372 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/1.8, allocations: 441.5 kB / 1.372 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/1.805, allocations: 3.095 MB / 1.375 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/1.807, allocations: 1.61 MB / 1.377 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001627/1.808, allocations: 382 kB / 1.377 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/1.809, allocations: 107.9 kB / 1.377 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.884e-06/1.809, allocations: 1.219 kB / 1.377 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.05602/1.865, allocations: 40.84 MB / 1.417 GB, free: 124.1 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)