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.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.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.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.001063/0.001063, allocations: 184.8 kB / 366.7 MB, free: 1.684 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.73/1.73, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.0008018/0.0008018, allocations: 101.9 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.928e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.713, allocations: 116.3 MB / 0.9733 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2166/0.9296, allocations: 163.8 MB / 1.133 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.9299, allocations: 95.94 kB / 1.133 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08582/1.016, allocations: 36.76 MB / 1.169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.013e-06/1.016, allocations: 0 / 1.169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.124e-05/1.016, allocations: 24 kB / 1.169 GB, free: 13.23 MB / 0.7761 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.001683/1.018, allocations: 0.9622 MB / 1.17 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.018, allocations: 8.031 kB / 1.17 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/1.019, allocations: 242.6 kB / 1.17 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/1.02, allocations: 0.5376 MB / 1.171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/1.02, allocations: 20 kB / 1.171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.279e-05/1.02, allocations: 40 kB / 1.171 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009932/1.021, allocations: 0.6013 MB / 1.172 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/1.022, allocations: 1.021 MB / 1.173 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/1.022, allocations: 3.938 kB / 1.173 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/1.022, allocations: 4 kB / 1.173 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.877e-05/1.023, allocations: 57.28 kB / 1.173 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/1.028, allocations: 5.763 MB / 1.178 GB, free: 3.324 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/1.029, allocations: 0.5235 MB / 1.179 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/1.029, allocations: 314.6 kB / 1.179 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/1.029, allocations: 4.438 kB / 1.179 GB, free: 2.477 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/1.029, allocations: 43 kB / 1.179 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 1.754e-06/1.029, allocations: 0 / 1.179 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.002035/1.031, allocations: 1.159 MB / 1.18 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/1.031, allocations: 55.84 kB / 1.18 GB, free: 1.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/1.032, allocations: 406.1 kB / 1.181 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/1.032, allocations: 25.7 kB / 1.181 GB, free: 0.7461 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/1.032, allocations: 414.8 kB / 1.181 GB, free: 344 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/1.032, allocations: 161.6 kB / 1.181 GB, free: 180 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/1.032, allocations: 0 / 1.181 GB, free: 180 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.032, allocations: 366.8 kB / 1.182 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/1.033, allocations: 253.5 kB / 1.182 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/1.033, allocations: 438.5 kB / 1.182 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/1.034, allocations: 325.9 kB / 1.183 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.034, allocations: 4 kB / 1.183 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001573/1.035, allocations: 0.9539 MB / 1.184 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.035, allocations: 8.75 kB / 1.184 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.035, allocations: 8 kB / 1.184 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007992/1.036, allocations: 275.2 kB / 1.184 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/1.037, allocations: 116.3 kB / 1.184 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005938/1.043, allocations: 6.336 MB / 1.19 GB, free: 6.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/1.043, allocations: 23.97 kB / 1.19 GB, free: 6.531 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/1.043, allocations: 24 kB / 1.19 GB, free: 6.508 MB / 0.7917 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 (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.0001616/1.043, allocations: 128.8 kB / 1.19 GB, free: 6.375 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/1.043, allocations: 67.25 kB / 1.19 GB, free: 6.309 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/1.045, allocations: 0.8214 MB / 1.191 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.045, allocations: 4.891 kB / 1.191 GB, free: 5.457 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.045, allocations: 7.984 kB / 1.191 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/1.045, allocations: 11.94 kB / 1.191 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/1.047, allocations: 1.554 MB / 1.193 GB, free: 3.809 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.047, allocations: 4 kB / 1.193 GB, free: 3.805 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/1.048, allocations: 60.52 kB / 1.193 GB, free: 3.746 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006933/1.048, allocations: 263.4 kB / 1.193 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/1.048, allocations: 3.25 kB / 1.193 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005685/1.054, allocations: 6.314 MB / 1.199 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.054, allocations: 3.938 kB / 1.199 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/1.055, allocations: 0.9911 MB / 1.2 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/1.056, allocations: 184.3 kB / 1.2 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/1.056, allocations: 11.98 kB / 1.2 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/1.056, allocations: 23.92 kB / 1.2 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/1.056, allocations: 47.88 kB / 1.2 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/1.056, allocations: 12 kB / 1.2 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000362/1.057, allocations: 303 kB / 1.201 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/1.057, allocations: 0 / 1.201 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007757/1.057, allocations: 203.9 kB / 1.201 GB, free: 10.85 MB / 0.8073 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 () * 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.0001668/1.058, allocations: 118.1 kB / 1.201 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001676/1.059, allocations: 1.165 MB / 1.202 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.059, allocations: 4 kB / 1.202 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.06, allocations: 0.8387 MB / 1.203 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/1.061, allocations: 167.8 kB / 1.203 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/1.063, allocations: 0.9557 MB / 1.204 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/1.063, allocations: 1.028 MB / 1.205 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003671/1.064, allocations: 113.3 kB / 1.205 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.43e-05/1.064, allocations: 39.44 kB / 1.205 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/1.064, allocations: 0 / 1.205 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of Templates: time 0.01587/1.08, allocations: 9.304 MB / 1.214 GB, free: 13.13 MB / 0.823 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)