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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 109.9 kB / 16.37 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001104, allocations: 191.3 kB / 17.31 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 292.3 MB / 0.5496 GB, free: 17.4 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2607, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.3645/0.6252, allocations: 6.774 MB / 0.7914 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003706/0.629, allocations: 3.085 MB / 0.7944 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.6293, allocations: 29.56 kB / 0.7944 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.6313, allocations: 0.9499 MB / 0.7954 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007835/0.6321, allocations: 0.4994 MB / 0.7959 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.6328, allocations: 446.7 kB / 0.7963 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008112/0.6337, allocations: 1.228 MB / 0.7975 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006864/0.6344, allocations: 0.6679 MB / 0.7981 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.6348, allocations: 480.3 kB / 0.7986 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005323/0.6353, allocations: 0.5126 MB / 0.7991 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.325e-05/0.6354, allocations: 67.5 kB / 0.7992 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005222/0.6359, allocations: 377.5 kB / 0.7995 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.6362, allocations: 313.1 kB / 0.7998 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.6365, allocations: 450.3 kB / 0.8003 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.6376, allocations: 1.224 MB / 0.8014 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6376, allocations: 0 / 0.8014 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6376, allocations: 5.219 kB / 0.8015 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.6376, allocations: 0 / 0.8015 GB, free: 42.63 MB / 0.6544 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.001641/0.6393, allocations: 1.162 MB / 0.8026 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6393, allocations: 8.5 kB / 0.8026 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.6409, allocations: 235.2 kB / 0.8028 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008644/0.6417, allocations: 0.6089 MB / 0.8034 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.6418, allocations: 47.03 kB / 0.8035 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.6419, allocations: 71.23 kB / 0.8035 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.6434, allocations: 1.085 MB / 0.8046 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.6434, allocations: 10.41 kB / 0.8046 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.6435, allocations: 26.89 kB / 0.8046 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/0.6437, allocations: 84.5 kB / 0.8047 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.6448, allocations: 0.754 MB / 0.8054 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.649, allocations: 5.874 MB / 0.8112 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009448/0.65, allocations: 0.5512 MB / 0.8117 GB, free: 35.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.6504, allocations: 324.8 kB / 0.812 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.6505, allocations: 5.938 kB / 0.812 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.6505, allocations: 39.12 kB / 0.8121 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 1.754e-06/0.6505, allocations: 0.5312 kB / 0.8121 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.003573/0.6541, allocations: 1.99 MB / 0.814 GB, free: 33.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.6541, allocations: 57.22 kB / 0.8141 GB, free: 33.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.6547, allocations: 0.5641 MB / 0.8146 GB, free: 33.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.6548, allocations: 32.27 kB / 0.8146 GB, free: 33.63 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.655, allocations: 422.8 kB / 0.8151 GB, free: 33.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.263e-05/0.6551, allocations: 171.6 kB / 0.8152 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.6552, allocations: 131.8 kB / 0.8153 GB, free: 33.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6554, allocations: 379.2 kB / 0.8157 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.6557, allocations: 270.6 kB / 0.816 GB, free: 32.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.6562, allocations: 0.4914 MB / 0.8164 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008493/0.6571, allocations: 0.8029 MB / 0.8172 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6571, allocations: 9.375 kB / 0.8172 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001644/0.6587, allocations: 1.081 MB / 0.8183 GB, free: 31.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6588, allocations: 8.75 kB / 0.8183 GB, free: 31.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.6588, allocations: 10.78 kB / 0.8183 GB, free: 31.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000811/0.6596, allocations: 273.4 kB / 0.8186 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.6601, allocations: 124.4 kB / 0.8187 GB, free: 31.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005154/0.6652, allocations: 7.152 MB / 0.8257 GB, free: 24.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.6658, allocations: 36.05 kB / 0.8257 GB, free: 24.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.6659, allocations: 34.03 kB / 0.8257 GB, free: 24.92 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003159/0.6662, allocations: 251.9 kB / 0.826 GB, free: 24.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.6663, allocations: 71.75 kB / 0.826 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.6678, allocations: 0.8876 MB / 0.8269 GB, free: 24.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.6679, allocations: 6.203 kB / 0.8269 GB, free: 24.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6679, allocations: 3.531 kB / 0.8269 GB, free: 24.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6679, allocations: 3.859 kB / 0.8269 GB, free: 24.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.6705, allocations: 1.726 MB / 0.8286 GB, free: 23.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.6705, allocations: 1.375 kB / 0.8286 GB, free: 23.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.6708, allocations: 70.19 kB / 0.8287 GB, free: 23.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007571/0.6716, allocations: 264.6 kB / 0.8289 GB, free: 23.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.6716, allocations: 9.031 kB / 0.8289 GB, free: 23.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005254/0.6769, allocations: 7.124 MB / 0.8359 GB, free: 17.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6769, allocations: 1.656 kB / 0.8359 GB, free: 17.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.6784, allocations: 0.9925 MB / 0.8369 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.6787, allocations: 189.7 kB / 0.837 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/0.6788, allocations: 13.7 kB / 0.8371 GB, free: 16.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.6792, allocations: 33.89 kB / 0.8371 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6793, allocations: 44.67 kB / 0.8371 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.6794, allocations: 15.38 kB / 0.8372 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004546/0.6798, allocations: 389.8 kB / 0.8375 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6798, allocations: 0 / 0.8375 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008605/0.6807, allocations: 225.2 kB / 0.8377 GB, free: 16.21 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/0.6808, allocations: 119.6 kB / 0.8379 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.6827, allocations: 1.268 MB / 0.8391 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6827, allocations: 0 / 0.8391 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.6839, allocations: 0.8903 MB / 0.84 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.6849, allocations: 222.8 kB / 0.8402 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.687, allocations: 1.398 MB / 0.8415 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.6876, allocations: 1.009 MB / 0.8425 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.6877, allocations: 50.67 kB / 0.8426 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.6877, allocations: 0 / 0.8426 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.02282/0.7105, allocations: 20.86 MB / 0.8629 GB, free: 4.785 MB / 0.6544 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)