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.64/1.64, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001107/0.001107, allocations: 185.1 kB / 371.6 MB, free: 3.344 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.722/1.722, allocations: 205.2 MB / 0.6309 GB, free: 11.73 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.0008471/0.0008469, allocations: 88.03 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.252e-05/5.254e-05, allocations: 4 kB / 0.8662 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3075, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8297/1.137, allocations: 210.5 MB / 1.185 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/1.138, allocations: 97.98 kB / 1.185 GB, free: 5.113 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2256/1.363, allocations: 85.3 MB / 1.269 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.964e-06/1.363, allocations: 0 / 1.269 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001172/1.363, allocations: 47.86 kB / 1.269 GB, free: 10.54 MB / 0.8386 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.003675/1.367, allocations: 1.619 MB / 1.27 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.367, allocations: 12.03 kB / 1.27 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/1.379, allocations: 1.963 MB / 1.272 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005771/1.385, allocations: 2.071 MB / 1.274 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/1.385, allocations: 82.31 kB / 1.274 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/1.386, allocations: 127.9 kB / 1.275 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003617/1.389, allocations: 2.214 MB / 1.277 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/1.389, allocations: 19.92 kB / 1.277 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/1.389, allocations: 63.89 kB / 1.277 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/1.39, allocations: 90.3 kB / 1.277 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/1.393, allocations: 1.863 MB / 1.279 GB, free: 116 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/1.409, allocations: 10.72 MB / 1.289 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/1.411, allocations: 1.511 MB / 1.291 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/1.413, allocations: 0.894 MB / 1.292 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.708e-05/1.413, allocations: 12.78 kB / 1.292 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/1.413, allocations: 43.34 kB / 1.292 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/1.413, allocations: 0 / 1.292 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.04961/1.462, allocations: 13.69 MB / 1.305 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.463, allocations: 226.9 kB / 1.305 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/1.464, allocations: 1.003 MB / 1.306 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000218/1.464, allocations: 53.7 kB / 1.306 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005437/1.465, allocations: 0.7283 MB / 1.307 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004501/1.465, allocations: 0.5159 MB / 1.307 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/1.465, allocations: 28 kB / 1.307 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.466, allocations: 365.9 kB / 1.308 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/1.467, allocations: 1.125 MB / 1.309 GB, free: 488 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/1.469, allocations: 1.407 MB / 1.31 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/1.471, allocations: 1.246 MB / 1.311 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/1.471, allocations: 7.938 kB / 1.311 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01073/1.482, allocations: 4.579 MB / 1.316 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/1.482, allocations: 8.938 kB / 1.316 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.482, allocations: 4.75 kB / 1.316 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008668/1.49, allocations: 2.129 MB / 1.318 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/1.493, allocations: 419.3 kB / 1.318 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02881/1.521, allocations: 22.49 MB / 1.34 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/1.525, allocations: 323.5 kB / 1.341 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/1.525, allocations: 68.14 kB / 1.341 GB, free: 14.59 MB / 0.9167 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.0006267/1.526, allocations: 183.2 kB / 1.341 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007601/1.527, allocations: 185.8 kB / 1.341 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.538, allocations: 4.653 MB / 1.346 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.538, allocations: 19.98 kB / 1.346 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.319e-05/1.538, allocations: 16 kB / 1.346 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.538, allocations: 7.984 kB / 1.346 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/1.553, allocations: 6.871 MB / 1.352 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.553, allocations: 4 kB / 1.352 GB, free: 2.484 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/1.555, allocations: 363.7 kB / 1.353 GB, free: 2.129 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007908/1.563, allocations: 1.987 MB / 1.355 GB, free: 124 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/1.563, allocations: 43.97 kB / 1.355 GB, free: 80 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02797/1.591, allocations: 21.66 MB / 1.376 GB, free: 9.352 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/1.591, allocations: 11.89 kB / 1.376 GB, free: 9.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.602, allocations: 4.411 MB / 1.38 GB, free: 4.766 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/1.604, allocations: 0.5105 MB / 1.381 GB, free: 4.234 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006331/1.604, allocations: 28 kB / 1.381 GB, free: 4.207 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.607, allocations: 327.5 kB / 1.381 GB, free: 3.887 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006317/1.608, allocations: 153 kB / 1.381 GB, free: 3.738 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/1.608, allocations: 55.97 kB / 1.381 GB, free: 3.684 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001494/1.609, allocations: 0.7729 MB / 1.382 GB, free: 2.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/1.609, allocations: 0 / 1.382 GB, free: 2.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00289/1.612, allocations: 0.7226 MB / 1.383 GB, free: 2.188 MB / 0.948 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.0006315/1.613, allocations: 223.1 kB / 1.383 GB, free: 1.961 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.5029/2.116, allocations: 4.335 MB / 1.387 GB, free: 228.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.116, allocations: 2.344 kB / 1.387 GB, free: 228.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005239/2.121, allocations: 2.95 MB / 1.39 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/2.124, allocations: 499.6 kB / 1.391 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/2.13, allocations: 3.177 MB / 1.394 GB, free: 227.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/2.132, allocations: 1.607 MB / 1.395 GB, free: 226.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001991/2.134, allocations: 405.4 kB / 1.396 GB, free: 226.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/2.134, allocations: 115.7 kB / 1.396 GB, free: 226.4 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/2.134, allocations: 0.6875 kB / 1.396 GB, free: 226.4 MB / 0.948 GB Notification: Performance of Templates: time 0.06937/2.204, allocations: 44.29 MB / 1.439 GB, free: 224.8 MB / 0.948 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)