Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadModel(Buildings): time 3.814/3.814, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.037e-05, allocations: 5.547 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2809, allocations: 98.72 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8242/1.105, allocations: 181.5 MB / 0.812 GB, free: 54.81 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004805/1.106, allocations: 96.61 kB / 0.8121 GB, free: 54.81 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5134/1.619, allocations: 145.7 MB / 0.9544 GB, free: 13.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.57e-06/1.619, allocations: 0 / 0.9544 GB, free: 13.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003058/1.619, allocations: 99.97 kB / 0.9545 GB, free: 13.23 MB / 0.698 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.01029/1.63, allocations: 3.216 MB / 0.9576 GB, free: 9.949 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.63, allocations: 8.031 kB / 0.9576 GB, free: 9.941 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007224/1.637, allocations: 0.8303 MB / 0.9584 GB, free: 9.105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007968/1.645, allocations: 2.561 MB / 0.9609 GB, free: 6.488 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005388/1.646, allocations: 271.3 kB / 0.9612 GB, free: 6.223 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/1.648, allocations: 375.9 kB / 0.9615 GB, free: 5.855 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/1.664, allocations: 5.644 MB / 0.967 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/1.664, allocations: 23.72 kB / 0.9671 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006669/1.664, allocations: 164 kB / 0.9672 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003171/1.665, allocations: 211 kB / 0.9674 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/1.676, allocations: 4.053 MB / 0.9714 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04396/1.72, allocations: 27.67 MB / 0.9984 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/1.723, allocations: 1.091 MB / 0.9995 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/1.725, allocations: 0.9916 MB / 1 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.635e-05/1.725, allocations: 9 kB / 1 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.725, allocations: 43.55 kB / 1 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=110): time 4.579e-06/1.725, allocations: 4 kB / 1 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=131): time 0.02527/1.75, allocations: 7.981 MB / 1.008 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/1.751, allocations: 64.72 kB / 1.008 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/1.753, allocations: 1.259 MB / 1.01 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002649/1.754, allocations: 57.7 kB / 1.01 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001569/1.755, allocations: 1.659 MB / 1.011 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006687/1.756, allocations: 469.3 kB / 1.012 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/1.756, allocations: 36 kB / 1.012 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002505/1.756, allocations: 377.9 kB / 1.012 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/1.758, allocations: 0.8551 MB / 1.013 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/1.761, allocations: 1.444 MB / 1.014 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/1.763, allocations: 1.113 MB / 1.015 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/1.763, allocations: 4 kB / 1.015 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00847/1.772, allocations: 3.204 MB / 1.019 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/1.772, allocations: 12 kB / 1.019 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.713e-05/1.772, allocations: 20 kB / 1.019 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003104/1.775, allocations: 0.7179 MB / 1.019 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/1.778, allocations: 391.4 kB / 1.02 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/1.8, allocations: 15.57 MB / 1.035 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/1.802, allocations: 99.91 kB / 1.035 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.802, allocations: 79.98 kB / 1.035 GB, free: 6.031 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.000481/1.803, allocations: 220.4 kB / 1.035 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005344/1.803, allocations: 201.5 kB / 1.035 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007125/1.81, allocations: 2.722 MB / 1.038 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/1.81, allocations: 12 kB / 1.038 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/1.81, allocations: 12 kB / 1.038 GB, free: 2.824 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/1.81, allocations: 7.969 kB / 1.038 GB, free: 2.816 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.826, allocations: 6.057 MB / 1.044 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.855e-05/1.826, allocations: 8 kB / 1.044 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.828, allocations: 236.3 kB / 1.044 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/1.831, allocations: 0.6398 MB / 1.045 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002567/1.831, allocations: 39.98 kB / 1.045 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02091/1.852, allocations: 15.29 MB / 1.06 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/1.852, allocations: 8 kB / 1.06 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009308/1.862, allocations: 4.23 MB / 1.064 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.863, allocations: 450.5 kB / 1.064 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004978/1.864, allocations: 35.98 kB / 1.064 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.865, allocations: 83.89 kB / 1.065 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/1.865, allocations: 112.8 kB / 1.065 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/1.865, allocations: 36.19 kB / 1.065 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002062/1.867, allocations: 0.9554 MB / 1.066 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.18e-07/1.868, allocations: 0 / 1.066 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003553/1.871, allocations: 0.6992 MB / 1.066 GB, free: 4.332 MB / 0.8073 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 () * 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.0004124/1.872, allocations: 165.2 kB / 1.066 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.007264/1.879, allocations: 3.392 MB / 1.07 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.879, allocations: 5.438 kB / 1.07 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.004572/1.883, allocations: 2.22 MB / 1.072 GB, free: 14.31 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/1.887, allocations: 0.58 MB / 1.073 GB, free: 13.74 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.901, allocations: 5.23 MB / 1.078 GB, free: 8.398 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005318/1.906, allocations: 2.734 MB / 1.08 GB, free: 5.629 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002435/1.909, allocations: 477 kB / 1.081 GB, free: 5.16 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/1.909, allocations: 115.4 kB / 1.081 GB, free: 5.047 MB / 0.823 GB Notification: Performance of SimCode: time 2.076e-06/1.909, allocations: 0 / 1.081 GB, free: 5.047 MB / 0.823 GB Notification: Performance of Templates: time 0.5576/2.467, allocations: 30.24 MB / 1.11 GB, free: 208.2 MB / 0.823 GB