Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 293 MB / 309 MB, free: 4.82 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.001099/0.001098, allocations: 175.7 kB / 378.7 MB, free: 1.016 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.7/1.7, allocations: 205.4 MB / 0.6383 GB, free: 9.191 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.0007242/0.0007243, allocations: 95.83 kB / 0.7527 GB, free: 62.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004264, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2542, allocations: 116.4 MB / 0.9904 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7242/0.9785, allocations: 164.7 MB / 1.151 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.9788, allocations: 96.69 kB / 1.151 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08664/1.065, allocations: 37.15 MB / 1.188 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.783e-06/1.066, allocations: 4 kB / 1.188 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.23e-05/1.066, allocations: 23.98 kB / 1.188 GB, free: 11.45 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002013/1.068, allocations: 1.03 MB / 1.189 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/1.068, allocations: 8.031 kB / 1.189 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/1.069, allocations: 251.5 kB / 1.189 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/1.07, allocations: 0.5597 MB / 1.189 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/1.07, allocations: 50.38 kB / 1.19 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/1.07, allocations: 64.36 kB / 1.19 GB, free: 9.402 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/1.072, allocations: 1.148 MB / 1.191 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/1.072, allocations: 7.938 kB / 1.191 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/1.072, allocations: 32 kB / 1.191 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.785e-05/1.072, allocations: 53.28 kB / 1.191 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/1.074, allocations: 0.7465 MB / 1.192 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005663/1.079, allocations: 5.913 MB / 1.197 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/1.08, allocations: 0.5516 MB / 1.198 GB, free: 380 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/1.081, allocations: 333 kB / 1.198 GB, free: 48 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/1.081, allocations: 4.438 kB / 1.198 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/1.081, allocations: 43 kB / 1.198 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 3.316e-06/1.081, allocations: 3.984 kB / 1.198 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.003737/1.085, allocations: 1.994 MB / 1.2 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/1.085, allocations: 55.84 kB / 1.2 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/1.085, allocations: 0.5587 MB / 1.201 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/1.085, allocations: 33.7 kB / 1.201 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/1.086, allocations: 411.1 kB / 1.201 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/1.086, allocations: 165.6 kB / 1.201 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/1.086, allocations: 16 kB / 1.201 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.086, allocations: 382.7 kB / 1.202 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/1.086, allocations: 265.2 kB / 1.202 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/1.087, allocations: 466.8 kB / 1.202 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009608/1.088, allocations: 0.7748 MB / 1.203 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.088, allocations: 4 kB / 1.203 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001787/1.09, allocations: 1.051 MB / 1.204 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.09, allocations: 8 kB / 1.204 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.09, allocations: 8.75 kB / 1.204 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008597/1.091, allocations: 279.9 kB / 1.204 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/1.091, allocations: 121.9 kB / 1.205 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006066/1.097, allocations: 6.593 MB / 1.211 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/1.098, allocations: 35.97 kB / 1.211 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/1.098, allocations: 24 kB / 1.211 GB, free: 1.918 MB / 0.7761 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004231/1.098, allocations: 257.6 kB / 1.211 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/1.098, allocations: 75.16 kB / 1.211 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/1.1, allocations: 0.8847 MB / 1.212 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.1, allocations: 12.02 kB / 1.212 GB, free: 0.668 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.1, allocations: 5.875 kB / 1.212 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.1, allocations: 4 kB / 1.212 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/1.103, allocations: 1.721 MB / 1.214 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.103, allocations: 0 / 1.214 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/1.103, allocations: 59.89 kB / 1.214 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007322/1.104, allocations: 268.3 kB / 1.214 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/1.104, allocations: 8 kB / 1.214 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006947/1.111, allocations: 6.595 MB / 1.221 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.111, allocations: 0 / 1.221 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/1.112, allocations: 0.9761 MB / 1.222 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/1.113, allocations: 200.3 kB / 1.222 GB, free: 6.156 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/1.113, allocations: 19.92 kB / 1.222 GB, free: 6.137 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/1.113, allocations: 23.97 kB / 1.222 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.114, allocations: 47.94 kB / 1.222 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/1.114, allocations: 12 kB / 1.222 GB, free: 6.055 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005265/1.114, allocations: 387.1 kB / 1.222 GB, free: 5.68 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.01e-07/1.114, allocations: 0 / 1.222 GB, free: 5.68 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009063/1.115, allocations: 235.9 kB / 1.223 GB, free: 5.449 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/1.115, allocations: 116.2 kB / 1.223 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001965/1.117, allocations: 1.265 MB / 1.224 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.117, allocations: 0 / 1.224 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/1.118, allocations: 0.8893 MB / 1.225 GB, free: 3.07 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.12, allocations: 203.6 kB / 1.225 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/1.122, allocations: 1.59 MB / 1.227 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/1.123, allocations: 1.009 MB / 1.228 GB, free: 212 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004628/1.123, allocations: 115.5 kB / 1.228 GB, free: 96 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.123, allocations: 51.38 kB / 1.228 GB, free: 44 kB / 0.7917 GB Notification: Performance of SimCode: time 3.4e-07/1.123, allocations: 0 / 1.228 GB, free: 44 kB / 0.7917 GB Notification: Performance of Templates: time 0.01874/1.142, allocations: 10.48 MB / 1.238 GB, free: 5.691 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)