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.001266/0.001266, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.555/1.555, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.709/1.709, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001463/0.001463, allocations: 69.39 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3111, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009735/0.3209, allocations: 6.769 MB / 0.79 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0059/0.3269, allocations: 3.087 MB / 0.793 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.3279, allocations: 27.81 kB / 0.793 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.3308, allocations: 0.952 MB / 0.794 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.3324, allocations: 0.4934 MB / 0.7944 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3337, allocations: 446.3 kB / 0.7949 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001673/0.3354, allocations: 1.228 MB / 0.7961 GB, free: 428 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.3366, allocations: 0.6664 MB / 0.7967 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007547/0.3373, allocations: 470.3 kB / 0.7972 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009618/0.3383, allocations: 0.5214 MB / 0.7977 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.3384, allocations: 64 kB / 0.7977 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009203/0.3393, allocations: 383.3 kB / 0.7981 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.3397, allocations: 311.1 kB / 0.7984 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004607/0.3401, allocations: 453.7 kB / 0.7988 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.342, allocations: 1.203 MB / 0.8 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.342, allocations: 4 kB / 0.8 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.214e-06/0.342, allocations: 0 / 0.8 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.3421, allocations: 0 / 0.8 GB, free: 12.36 MB / 0.6231 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.002799/0.3449, allocations: 1.169 MB / 0.8011 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.3449, allocations: 12.03 kB / 0.8012 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.3467, allocations: 239.5 kB / 0.8014 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.3478, allocations: 0.553 MB / 0.8019 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.3479, allocations: 45.69 kB / 0.802 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.348, allocations: 68.36 kB / 0.802 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.3498, allocations: 1.085 MB / 0.8031 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.3498, allocations: 7.938 kB / 0.8031 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/0.3499, allocations: 28 kB / 0.8031 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.35, allocations: 81.25 kB / 0.8032 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.3511, allocations: 0.762 MB / 0.8039 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006416/0.3576, allocations: 5.893 MB / 0.8097 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3587, allocations: 0.5477 MB / 0.8102 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.3591, allocations: 333.9 kB / 0.8106 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.3592, allocations: 4.438 kB / 0.8106 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.3592, allocations: 43 kB / 0.8106 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.3592, allocations: 3.938 kB / 0.8106 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003949/0.3632, allocations: 1.982 MB / 0.8125 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.3632, allocations: 55.84 kB / 0.8126 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006557/0.3639, allocations: 0.5665 MB / 0.8131 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.3639, allocations: 33.7 kB / 0.8132 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.3643, allocations: 418.9 kB / 0.8136 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.3644, allocations: 173.5 kB / 0.8137 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.3646, allocations: 126.5 kB / 0.8139 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.3649, allocations: 382.7 kB / 0.8142 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.3654, allocations: 273.9 kB / 0.8145 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.366, allocations: 493 kB / 0.815 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.3671, allocations: 0.8132 MB / 0.8158 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3671, allocations: 0 / 0.8158 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001766/0.3689, allocations: 1.09 MB / 0.8168 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3689, allocations: 8.875 kB / 0.8168 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.369, allocations: 8 kB / 0.8168 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008566/0.3698, allocations: 291.1 kB / 0.8171 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.3703, allocations: 123.8 kB / 0.8172 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007185/0.3775, allocations: 7.133 MB / 0.8242 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.3782, allocations: 39.97 kB / 0.8242 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.3783, allocations: 24 kB / 0.8243 GB, free: 1.934 MB / 0.6387 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.0004102/0.3787, allocations: 260.6 kB / 0.8245 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3788, allocations: 71.16 kB / 0.8246 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.3804, allocations: 0.8887 MB / 0.8254 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3804, allocations: 4 kB / 0.8254 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3804, allocations: 4 kB / 0.8255 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3804, allocations: 3.984 kB / 0.8255 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.3831, allocations: 1.732 MB / 0.8271 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.3831, allocations: 8.188 kB / 0.8272 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.3834, allocations: 59.89 kB / 0.8272 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007487/0.3842, allocations: 275.1 kB / 0.8275 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.3842, allocations: 8 kB / 0.8275 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007078/0.3913, allocations: 7.123 MB / 0.8344 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3913, allocations: 4.031 kB / 0.8344 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.3935, allocations: 0.9877 MB / 0.8354 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/0.394, allocations: 200.1 kB / 0.8356 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.3941, allocations: 11.98 kB / 0.8356 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.3945, allocations: 35.91 kB / 0.8356 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.3946, allocations: 48.02 kB / 0.8357 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.3947, allocations: 12 kB / 0.8357 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004744/0.3951, allocations: 387.1 kB / 0.8361 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3951, allocations: 0 / 0.8361 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008617/0.396, allocations: 224 kB / 0.8363 GB, free: 4.867 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.000181/0.3962, allocations: 123.2 kB / 0.8364 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002235/0.3984, allocations: 1.338 MB / 0.8377 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3985, allocations: 4.062 kB / 0.8377 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.3997, allocations: 0.8814 MB / 0.8386 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4008, allocations: 221.4 kB / 0.8388 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.4038, allocations: 1.345 MB / 0.8401 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.4049, allocations: 1.013 MB / 0.8411 GB, free: 15.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000459/0.4054, allocations: 126 kB / 0.8412 GB, free: 15.64 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.4056, allocations: 39.44 kB / 0.8412 GB, free: 15.6 MB / 0.67 GB Notification: Performance of SimCode: time 3.006e-06/0.4056, allocations: 0 / 0.8412 GB, free: 15.6 MB / 0.67 GB Notification: Performance of Templates: time 0.02253/0.4282, allocations: 11.2 MB / 0.8522 GB, free: 4.539 MB / 0.67 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)