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.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009556/0.0009556, allocations: 174.5 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.5783 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008317/0.0008317, allocations: 99.84 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 14.41 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2739, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02205/0.296, allocations: 24.21 MB / 0.9245 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.3088, allocations: 7.742 MB / 0.932 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.312, allocations: 95.44 kB / 0.9321 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.3141, allocations: 0.5115 MB / 0.9326 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.3184, allocations: 1.279 MB / 0.9339 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.322, allocations: 0.9989 MB / 0.9349 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007177/0.3292, allocations: 6.869 MB / 0.9416 GB, free: 22.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.3417, allocations: 8.16 MB / 0.9495 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004157/0.3459, allocations: 1.883 MB / 0.9514 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005298/0.3512, allocations: 2.398 MB / 0.9537 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001506/0.3527, allocations: 212 kB / 0.9539 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.3558, allocations: 0.5931 MB / 0.9545 GB, free: 8.723 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00288/0.3587, allocations: 1.664 MB / 0.9561 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.361, allocations: 0.8043 MB / 0.9569 GB, free: 6.242 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00713/0.3682, allocations: 6.624 MB / 0.9634 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.3682, allocations: 0 / 0.9634 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.106e-06/0.3682, allocations: 0 / 0.9634 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003564/0.3686, allocations: 0 / 0.9634 GB, free: 15.6 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01075/0.3794, allocations: 3.464 MB / 0.9668 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3794, allocations: 8.031 kB / 0.9668 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005516/0.3849, allocations: 0.803 MB / 0.9676 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00636/0.3913, allocations: 2.366 MB / 0.9699 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.3917, allocations: 275.2 kB / 0.9701 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/0.3933, allocations: 371.9 kB / 0.9705 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/0.4094, allocations: 5.969 MB / 0.9763 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002084/0.4097, allocations: 23.72 kB / 0.9763 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/0.4108, allocations: 156 kB / 0.9765 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007235/0.4116, allocations: 282.9 kB / 0.9767 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/0.4239, allocations: 4.5 MB / 0.9811 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03988/0.4638, allocations: 27.68 MB / 1.008 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.4659, allocations: 1.119 MB / 1.009 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.4676, allocations: 1.019 MB / 1.01 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.4678, allocations: 13 kB / 1.01 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/0.4678, allocations: 43.56 kB / 1.01 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 6.282e-06/0.4679, allocations: 0 / 1.01 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.02471/0.4926, allocations: 9.658 MB / 1.02 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.4927, allocations: 72.7 kB / 1.02 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.496, allocations: 1.482 MB / 1.021 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.4961, allocations: 53.7 kB / 1.021 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.4977, allocations: 1.667 MB / 1.023 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000607/0.4983, allocations: 469.3 kB / 1.023 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.4985, allocations: 36 kB / 1.023 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.4987, allocations: 373.9 kB / 1.024 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.5004, allocations: 0.9096 MB / 1.025 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.5025, allocations: 1.459 MB / 1.026 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.5044, allocations: 1.142 MB / 1.027 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.5044, allocations: 8 kB / 1.027 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006594/0.511, allocations: 3.266 MB / 1.03 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.5111, allocations: 16 kB / 1.03 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/0.5111, allocations: 16 kB / 1.03 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00244/0.5136, allocations: 0.7459 MB / 1.031 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.5153, allocations: 387.3 kB / 1.032 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/0.5319, allocations: 15.75 MB / 1.047 GB, free: 5.359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.534, allocations: 99.91 kB / 1.047 GB, free: 5.262 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/0.5344, allocations: 83.89 kB / 1.047 GB, free: 5.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003392/0.5378, allocations: 1.313 MB / 1.048 GB, free: 3.855 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007043/0.5385, allocations: 197.7 kB / 1.049 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005876/0.5444, allocations: 2.78 MB / 1.051 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.5445, allocations: 12 kB / 1.051 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.388e-05/0.5445, allocations: 11.95 kB / 1.051 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.5445, allocations: 7.969 kB / 1.051 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5703/1.115, allocations: 6.197 MB / 1.057 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.115, allocations: 7.562 kB / 1.057 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.116, allocations: 231.4 kB / 1.058 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/1.118, allocations: 0.6684 MB / 1.058 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/1.118, allocations: 33.91 kB / 1.058 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/1.133, allocations: 15.5 MB / 1.073 GB, free: 123.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.133, allocations: 7.938 kB / 1.073 GB, free: 123.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008327/1.142, allocations: 3.998 MB / 1.077 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.143, allocations: 457 kB / 1.078 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.143, allocations: 32.36 kB / 1.078 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.144, allocations: 88.03 kB / 1.078 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/1.145, allocations: 111.8 kB / 1.078 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.603e-05/1.145, allocations: 37.38 kB / 1.078 GB, free: 123.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001721/1.147, allocations: 0.9882 MB / 1.079 GB, free: 123.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.147, allocations: 0 / 1.079 GB, free: 123.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002725/1.149, allocations: 0.6891 MB / 1.08 GB, free: 123 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002727/1.15, allocations: 149.2 kB / 1.08 GB, free: 122.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005552/1.155, allocations: 3.489 MB / 1.083 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.155, allocations: 2.188 kB / 1.083 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003044/1.158, allocations: 2.292 MB / 1.085 GB, free: 119.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/1.161, allocations: 0.6161 MB / 1.086 GB, free: 119.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.173, allocations: 8.345 MB / 1.094 GB, free: 114.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003912/1.177, allocations: 2.723 MB / 1.097 GB, free: 113.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006393/1.178, allocations: 131.1 kB / 1.097 GB, free: 113.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/1.178, allocations: 0 / 1.097 GB, free: 113.4 MB / 0.698 GB Notification: Performance of Templates: time 0.1767/1.354, allocations: 209.3 MB / 1.301 GB, free: 4.852 MB / 0.7917 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)