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.001094/0.001094, allocations: 102.6 kB / 16.35 MB, free: 5.879 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.001282/0.001282, allocations: 198.1 kB / 17.29 MB, free: 5.516 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.379/1.379, 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001652/0.001652, allocations: 70.88 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2378, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.3782/0.6161, allocations: 6.761 MB / 0.7914 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003553/0.6196, allocations: 3.084 MB / 0.7944 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.6199, allocations: 28.19 kB / 0.7944 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.6219, allocations: 0.9527 MB / 0.7954 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000748/0.6226, allocations: 0.5019 MB / 0.7958 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.6234, allocations: 446.7 kB / 0.7963 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007844/0.6242, allocations: 1.226 MB / 0.7975 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/0.6249, allocations: 0.6682 MB / 0.7981 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.6253, allocations: 473.9 kB / 0.7986 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.6259, allocations: 0.5226 MB / 0.7991 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.521e-05/0.626, allocations: 65.56 kB / 0.7991 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000597/0.6266, allocations: 382.6 kB / 0.7995 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.6268, allocations: 303.2 kB / 0.7998 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.6272, allocations: 456 kB / 0.8002 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.6284, allocations: 1.211 MB / 0.8014 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6285, allocations: 1.938 kB / 0.8014 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6285, allocations: 0 / 0.8014 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.6285, allocations: 0 / 0.8014 GB, free: 42.83 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.001781/0.6303, allocations: 1.17 MB / 0.8026 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6303, allocations: 8.219 kB / 0.8026 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.6319, allocations: 240.5 kB / 0.8028 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/0.6327, allocations: 0.5624 MB / 0.8033 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.6327, allocations: 47.11 kB / 0.8034 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.6329, allocations: 66.61 kB / 0.8035 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.6343, allocations: 1.081 MB / 0.8045 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.6343, allocations: 8.5 kB / 0.8045 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-05/0.6344, allocations: 38.2 kB / 0.8046 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.6346, allocations: 83.66 kB / 0.8046 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.6358, allocations: 0.7502 MB / 0.8054 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.6403, allocations: 5.869 MB / 0.8111 GB, free: 35.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009451/0.6412, allocations: 0.5563 MB / 0.8116 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/0.6417, allocations: 325.9 kB / 0.812 GB, free: 35.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.6417, allocations: 4.812 kB / 0.812 GB, free: 35.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.6418, allocations: 45.25 kB / 0.812 GB, free: 35.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/0.6418, allocations: 0 / 0.812 GB, free: 35.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.003603/0.6454, allocations: 1.983 MB / 0.8139 GB, free: 34.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.6454, allocations: 64.72 kB / 0.814 GB, free: 34.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006223/0.646, allocations: 0.5633 MB / 0.8145 GB, free: 33.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.6461, allocations: 36.98 kB / 0.8146 GB, free: 33.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.6463, allocations: 418.4 kB / 0.815 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.231e-05/0.6464, allocations: 170.9 kB / 0.8151 GB, free: 33.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.6466, allocations: 129.6 kB / 0.8153 GB, free: 33.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.6467, allocations: 377.9 kB / 0.8156 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.6471, allocations: 274.9 kB / 0.8159 GB, free: 32.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.6475, allocations: 499.7 kB / 0.8164 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008859/0.6484, allocations: 0.8023 MB / 0.8172 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6485, allocations: 1.781 kB / 0.8172 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001731/0.6502, allocations: 1.085 MB / 0.8182 GB, free: 31.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.6502, allocations: 8 kB / 0.8182 GB, free: 31.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6502, allocations: 7.391 kB / 0.8182 GB, free: 31.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008409/0.6511, allocations: 284 kB / 0.8185 GB, free: 31.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.6516, allocations: 124.3 kB / 0.8186 GB, free: 31.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.6568, allocations: 7.143 MB / 0.8256 GB, free: 25.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/0.6575, allocations: 44.31 kB / 0.8256 GB, free: 25.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.6576, allocations: 28.28 kB / 0.8257 GB, free: 25.12 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.0003872/0.658, allocations: 258.4 kB / 0.8259 GB, free: 24.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.6581, allocations: 73 kB / 0.826 GB, free: 24.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.6598, allocations: 0.8885 MB / 0.8268 GB, free: 24.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6598, allocations: 4.281 kB / 0.8268 GB, free: 24.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6598, allocations: 10.25 kB / 0.8269 GB, free: 24.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6598, allocations: 2.484 kB / 0.8269 GB, free: 24.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.6624, allocations: 1.723 MB / 0.8285 GB, free: 23.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.6624, allocations: 1.062 kB / 0.8285 GB, free: 23.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.6626, allocations: 64.94 kB / 0.8286 GB, free: 23.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007568/0.6634, allocations: 264.6 kB / 0.8289 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.6635, allocations: 9.141 kB / 0.8289 GB, free: 23.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.6685, allocations: 7.123 MB / 0.8358 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6685, allocations: 3.75 kB / 0.8358 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.67, allocations: 0.9872 MB / 0.8368 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.6704, allocations: 195 kB / 0.837 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.347e-05/0.6704, allocations: 8 kB / 0.837 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.6708, allocations: 33.91 kB / 0.837 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.6709, allocations: 49.83 kB / 0.8371 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.671, allocations: 11.22 kB / 0.8371 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000435/0.6714, allocations: 393 kB / 0.8375 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6714, allocations: 4 kB / 0.8375 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008385/0.6723, allocations: 221.4 kB / 0.8377 GB, free: 16.41 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.0001241/0.6724, allocations: 120 kB / 0.8378 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.6741, allocations: 1.272 MB / 0.839 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6742, allocations: 1.219 kB / 0.839 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.6752, allocations: 0.8892 MB / 0.8399 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.6762, allocations: 217.4 kB / 0.8401 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.678, allocations: 1.329 MB / 0.8414 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.6785, allocations: 1.024 MB / 0.8424 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003546/0.6788, allocations: 120.9 kB / 0.8425 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.6789, allocations: 42.56 kB / 0.8426 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.6789, allocations: 0 / 0.8426 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.01861/0.6975, allocations: 11.19 MB / 0.8535 GB, free: 10.59 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)