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.833/1.833, allocations: 288.3 MB / 303.2 MB, free: 8.148 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.001218/0.001218, allocations: 181.9 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 95.42 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004892, allocations: 15.31 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.251, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8518/1.103, allocations: 209.6 MB / 1.184 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003814/1.103, allocations: 96.75 kB / 1.184 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.2295/1.333, allocations: 85.72 MB / 1.268 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.854e-06/1.333, allocations: 4 kB / 1.268 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002217/1.333, allocations: 43.92 kB / 1.268 GB, free: 10.71 MB / 0.7917 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.006068/1.339, allocations: 1.855 MB / 1.27 GB, free: 8.805 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.339, allocations: 16 kB / 1.27 GB, free: 8.789 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/1.351, allocations: 1.971 MB / 1.272 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007896/1.359, allocations: 2.075 MB / 1.274 GB, free: 4.68 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/1.359, allocations: 86.31 kB / 1.274 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008304/1.36, allocations: 123.9 kB / 1.274 GB, free: 4.473 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008408/1.369, allocations: 2.72 MB / 1.277 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.169e-05/1.369, allocations: 7.906 kB / 1.277 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005391/1.369, allocations: 55.97 kB / 1.277 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/1.369, allocations: 90.28 kB / 1.277 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008562/1.378, allocations: 2.854 MB / 1.28 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/1.396, allocations: 10.72 MB / 1.29 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006815/1.403, allocations: 2.401 MB / 1.292 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/1.403, allocations: 9 kB / 1.292 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/1.403, allocations: 43.56 kB / 1.292 GB, free: 0.7578 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 4.288e-06/1.403, allocations: 0 / 1.292 GB, free: 0.7578 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.06177/1.465, allocations: 17.33 MB / 1.309 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/1.465, allocations: 222.9 kB / 1.31 GB, free: 15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/1.468, allocations: 1.024 MB / 1.311 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002755/1.468, allocations: 53.7 kB / 1.311 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006485/1.468, allocations: 0.7245 MB / 1.311 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006222/1.469, allocations: 0.5159 MB / 1.312 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/1.469, allocations: 31.94 kB / 1.312 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.469, allocations: 361.9 kB / 1.312 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003387/1.473, allocations: 1.546 MB / 1.314 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/1.477, allocations: 1.821 MB / 1.315 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/1.48, allocations: 1.673 MB / 1.317 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.48, allocations: 4 kB / 1.317 GB, free: 7.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0147/1.495, allocations: 5.406 MB / 1.322 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/1.495, allocations: 8 kB / 1.322 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/1.495, allocations: 4 kB / 1.322 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00891/1.504, allocations: 2.138 MB / 1.324 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/1.506, allocations: 419.3 kB / 1.325 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03175/1.538, allocations: 23.29 MB / 1.348 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/1.541, allocations: 327.5 kB / 1.348 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004684/1.541, allocations: 67.95 kB / 1.348 GB, free: 6.348 MB / 0.8698 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 () * Number of clocked 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.001506/1.543, allocations: 466.2 kB / 1.348 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007839/1.544, allocations: 177.9 kB / 1.349 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/1.559, allocations: 5.472 MB / 1.354 GB, free: 192 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/1.559, allocations: 12 kB / 1.354 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.368e-05/1.559, allocations: 20 kB / 1.354 GB, free: 160 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/1.559, allocations: 9 kB / 1.354 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/1.578, allocations: 7.692 MB / 1.362 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.578, allocations: 8.031 kB / 1.362 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.58, allocations: 359.4 kB / 1.362 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008471/1.589, allocations: 1.993 MB / 1.364 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/1.589, allocations: 47.95 kB / 1.364 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03078/1.62, allocations: 22.5 MB / 1.386 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.62, allocations: 0 / 1.386 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/1.634, allocations: 5.243 MB / 1.391 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.636, allocations: 0.5027 MB / 1.391 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006724/1.636, allocations: 28 kB / 1.391 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/1.639, allocations: 339.4 kB / 1.392 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006796/1.64, allocations: 145 kB / 1.392 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.64, allocations: 59.95 kB / 1.392 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001774/1.642, allocations: 0.786 MB / 1.393 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.8e-07/1.642, allocations: 0 / 1.393 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00338/1.645, allocations: 0.7226 MB / 1.393 GB, free: 6.352 MB / 0.9167 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 () * Number of clocked 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.0007075/1.646, allocations: 214.9 kB / 1.394 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.658, allocations: 5.202 MB / 1.399 GB, free: 0.832 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.658, allocations: 0 / 1.399 GB, free: 0.832 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007722/1.666, allocations: 3.402 MB / 1.402 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003044/1.669, allocations: 0.5057 MB / 1.403 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.68, allocations: 4.872 MB / 1.407 GB, free: 7.895 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/1.682, allocations: 1.611 MB / 1.409 GB, free: 6.242 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00228/1.684, allocations: 394.7 kB / 1.409 GB, free: 5.852 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/1.685, allocations: 119.4 kB / 1.409 GB, free: 5.734 MB / 0.9323 GB Notification: Performance of SimCode: time 1.062e-06/1.685, allocations: 0 / 1.409 GB, free: 5.734 MB / 0.9323 GB Notification: Performance of Templates: time 0.5915/2.276, allocations: 44.22 MB / 1.453 GB, free: 280.9 MB / 0.948 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)