Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 108 kB / 15.61 MB, free: 148 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.00214/0.002139, allocations: 193.1 kB / 16.53 MB, free: 6.691 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.697/1.697, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.654/1.654, allocations: 251.7 MB / 0.5092 GB, free: 3.105 MB / 414.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.001469/0.001469, allocations: 68.47 kB / 0.6223 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5099/0.5114, allocations: 104.7 MB / 0.7245 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02547/0.5369, allocations: 20.18 MB / 0.7442 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.5493, allocations: 6.512 MB / 0.7506 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.5522, allocations: 87.56 kB / 0.7507 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006178/0.5585, allocations: 2.225 MB / 0.7528 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004604/0.5631, allocations: 1.185 MB / 0.754 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004397/0.5675, allocations: 1.281 MB / 0.7553 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00701/0.5746, allocations: 4.842 MB / 0.76 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009136/0.5837, allocations: 5.628 MB / 0.7655 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.5876, allocations: 2.076 MB / 0.7675 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004754/0.5924, allocations: 2.348 MB / 0.7698 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.5943, allocations: 428 kB / 0.7702 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/0.5988, allocations: 0.9986 MB / 0.7712 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003181/0.602, allocations: 1.668 MB / 0.7728 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00493/0.6069, allocations: 1.914 MB / 0.7747 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007518/0.6145, allocations: 6.478 MB / 0.781 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.6145, allocations: 0 / 0.781 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.956e-06/0.6145, allocations: 0 / 0.781 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001895/0.6147, allocations: 0 / 0.781 GB, free: 2.988 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008768/0.6235, allocations: 3.456 MB / 0.7844 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.6235, allocations: 8.031 kB / 0.7844 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.627, allocations: 0.6372 MB / 0.785 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003541/0.6306, allocations: 1.939 MB / 0.7869 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.6308, allocations: 234.2 kB / 0.7871 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/0.6312, allocations: 288.4 kB / 0.7874 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00835/0.6396, allocations: 4.886 MB / 0.7922 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.657e-05/0.6397, allocations: 15.83 kB / 0.7922 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003204/0.64, allocations: 140 kB / 0.7923 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004676/0.6405, allocations: 221.7 kB / 0.7925 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006682/0.6472, allocations: 3.75 MB / 0.7962 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02637/0.6736, allocations: 21.57 MB / 0.8173 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.6754, allocations: 1.312 MB / 0.8185 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.6768, allocations: 1.049 MB / 0.8196 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.876e-05/0.6769, allocations: 13 kB / 0.8196 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.6769, allocations: 43.56 kB / 0.8196 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 2.535e-06/0.6769, allocations: 3.938 kB / 0.8196 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=138): time 0.02515/0.7021, allocations: 8.648 MB / 0.8281 GB, free: 392 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.7022, allocations: 64.72 kB / 0.8281 GB, free: 316 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.7038, allocations: 1.134 MB / 0.8292 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.7039, allocations: 45.7 kB / 0.8293 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009435/0.7049, allocations: 1.3 MB / 0.8305 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005176/0.7054, allocations: 485 kB / 0.831 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004611/0.7059, allocations: 291.3 kB / 0.8313 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.706, allocations: 305.1 kB / 0.8316 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.7073, allocations: 0.9174 MB / 0.8325 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.7089, allocations: 1.322 MB / 0.8338 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.712, allocations: 2.426 MB / 0.8361 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.7121, allocations: 4 kB / 0.8361 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006378/0.7184, allocations: 3.471 MB / 0.8395 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.7185, allocations: 13.88 kB / 0.8395 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.7186, allocations: 12 kB / 0.8396 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/0.7218, allocations: 1.187 MB / 0.8407 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.7229, allocations: 263.5 kB / 0.841 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/0.7403, allocations: 13.84 MB / 0.8545 GB, free: 4.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.7419, allocations: 91.97 kB / 0.8546 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.742, allocations: 60 kB / 0.8546 GB, free: 4.352 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002136/0.7442, allocations: 1.122 MB / 0.8557 GB, free: 3.219 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.7445, allocations: 162.1 kB / 0.8559 GB, free: 3.059 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005588/0.7501, allocations: 3.173 MB / 0.859 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.7502, allocations: 12 kB / 0.859 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.7502, allocations: 15.94 kB / 0.859 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.7502, allocations: 7.969 kB / 0.859 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009945/0.7602, allocations: 6.238 MB / 0.8651 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.7602, allocations: 12.08 kB / 0.8651 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/0.7609, allocations: 151.8 kB / 0.8653 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002865/0.7637, allocations: 1.083 MB / 0.8663 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/0.7638, allocations: 28 kB / 0.8663 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/0.78, allocations: 13.54 MB / 0.8796 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.78, allocations: 11.94 kB / 0.8796 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005073/0.7851, allocations: 3.146 MB / 0.8826 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007843/0.7859, allocations: 419.1 kB / 0.883 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.7861, allocations: 40.23 kB / 0.8831 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008057/0.7869, allocations: 79.91 kB / 0.8832 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.7873, allocations: 128.7 kB / 0.8833 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.81e-05/0.7874, allocations: 43.94 kB / 0.8833 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001001/0.7884, allocations: 0.7671 MB / 0.8841 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7884, allocations: 0 / 0.8841 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001922/0.7903, allocations: 0.6602 MB / 0.8847 GB, free: 4.82 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002779/0.7906, allocations: 144.4 kB / 0.8849 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00573/0.7964, allocations: 3.63 MB / 0.8884 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.7964, allocations: 4 kB / 0.8884 GB, free: 1 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002968/0.7994, allocations: 1.947 MB / 0.8903 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.8018, allocations: 0.4985 MB / 0.8908 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009447/0.8112, allocations: 5.454 MB / 0.8961 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.8136, allocations: 2.336 MB / 0.8984 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001183/0.8148, allocations: 350.1 kB / 0.8987 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.815, allocations: 87.42 kB / 0.8988 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.815, allocations: 4 kB / 0.8988 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of Templates: time 0.5226/1.338, allocations: 32.66 MB / 0.9307 GB, free: 154.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)