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.917/1.917, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001714/0.001714, allocations: 185.1 kB / 377.1 MB, free: 1.52 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.949/1.949, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.001036/0.001036, allocations: 93.38 kB / 0.751 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3282, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9722/1.3, allocations: 210.6 MB / 1.194 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/1.301, allocations: 105.4 kB / 1.194 GB, free: 3.77 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2307/1.532, allocations: 85.73 MB / 1.278 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.186e-06/1.532, allocations: 0 / 1.278 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002387/1.532, allocations: 43.94 kB / 1.278 GB, free: 13.32 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.006569/1.538, allocations: 1.863 MB / 1.28 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.539, allocations: 8.031 kB / 1.28 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/1.55, allocations: 1.96 MB / 1.282 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007463/1.558, allocations: 2.094 MB / 1.284 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/1.558, allocations: 82.31 kB / 1.284 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008064/1.559, allocations: 116 kB / 1.284 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008256/1.567, allocations: 2.736 MB / 1.287 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-05/1.567, allocations: 11.84 kB / 1.287 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004938/1.568, allocations: 51.98 kB / 1.287 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/1.568, allocations: 90.28 kB / 1.287 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008487/1.577, allocations: 2.846 MB / 1.289 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01998/1.597, allocations: 10.73 MB / 1.3 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007001/1.604, allocations: 2.386 MB / 1.302 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/1.604, allocations: 16.92 kB / 1.302 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/1.604, allocations: 47.56 kB / 1.302 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=89): time 3.867e-06/1.604, allocations: 0 / 1.302 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of matching and sorting (n=153): time 0.06546/1.669, allocations: 17.33 MB / 1.319 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/1.67, allocations: 222.9 kB / 1.319 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/1.672, allocations: 1.028 MB / 1.32 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003536/1.673, allocations: 53.7 kB / 1.321 GB, free: 0.5234 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007032/1.673, allocations: 0.7284 MB / 1.321 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007101/1.674, allocations: 0.5198 MB / 1.322 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/1.674, allocations: 24 kB / 1.322 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000217/1.674, allocations: 365.9 kB / 1.322 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/1.678, allocations: 1.538 MB / 1.324 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/1.682, allocations: 1.832 MB / 1.325 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/1.686, allocations: 1.661 MB / 1.327 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.686, allocations: 0 / 1.327 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01521/1.701, allocations: 5.409 MB / 1.332 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/1.701, allocations: 8 kB / 1.332 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.701, allocations: 8.75 kB / 1.332 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009851/1.711, allocations: 2.135 MB / 1.334 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/1.714, allocations: 419.2 kB / 1.335 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03416/1.748, allocations: 23.3 MB / 1.358 GB, free: 9.348 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/1.751, allocations: 323.5 kB / 1.358 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/1.752, allocations: 63.97 kB / 1.358 GB, free: 8.969 MB / 0.9323 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.00122/1.753, allocations: 465.5 kB / 1.358 GB, free: 8.504 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/1.753, allocations: 177.9 kB / 1.359 GB, free: 8.328 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/1.768, allocations: 5.472 MB / 1.364 GB, free: 2.816 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.768, allocations: 19.98 kB / 1.364 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.161e-05/1.768, allocations: 20 kB / 1.364 GB, free: 2.777 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/1.768, allocations: 3.984 kB / 1.364 GB, free: 2.773 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6399/2.408, allocations: 7.681 MB / 1.371 GB, free: 216.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/2.408, allocations: 4 kB / 1.371 GB, free: 216.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/2.41, allocations: 362.4 kB / 1.372 GB, free: 216.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008005/2.418, allocations: 1.992 MB / 1.374 GB, free: 216.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003127/2.418, allocations: 43.53 kB / 1.374 GB, free: 216.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02845/2.447, allocations: 22.48 MB / 1.396 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/2.447, allocations: 5.031 kB / 1.396 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/2.461, allocations: 5.236 MB / 1.401 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/2.463, allocations: 0.5044 MB / 1.401 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/2.463, allocations: 31.53 kB / 1.401 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/2.465, allocations: 332.3 kB / 1.402 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007225/2.466, allocations: 152 kB / 1.402 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/2.466, allocations: 54 kB / 1.402 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001085/2.467, allocations: 0.7959 MB / 1.403 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.61e-07/2.467, allocations: 0 / 1.403 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002635/2.47, allocations: 0.7146 MB / 1.403 GB, free: 205.8 MB / 0.9323 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.0005168/2.47, allocations: 216.6 kB / 1.404 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01021/2.48, allocations: 5.212 MB / 1.409 GB, free: 204.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.48, allocations: 0 / 1.409 GB, free: 204.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006629/2.487, allocations: 3.396 MB / 1.412 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/2.49, allocations: 0.4976 MB / 1.412 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008269/2.498, allocations: 4.869 MB / 1.417 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/2.499, allocations: 1.602 MB / 1.419 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001945/2.501, allocations: 403.5 kB / 1.419 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/2.502, allocations: 118.4 kB / 1.419 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.463e-06/2.502, allocations: 0 / 1.419 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.07894/2.581, allocations: 44.23 MB / 1.462 GB, free: 199.3 MB / 0.9323 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)