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_RLC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadModel(Buildings): time 3.945/3.945, allocations: 433.4 MB / 440.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.952e-05, allocations: 4.781 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.173, allocations: 98.72 MB / 0.6289 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7124/0.8855, allocations: 170.8 MB / 0.7957 GB, free: 62.88 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.8858, allocations: 93.7 kB / 0.7958 GB, free: 62.88 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9049/1.791, allocations: 266.4 MB / 1.056 GB, free: 7.953 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.87e-06/1.791, allocations: 3.938 kB / 1.056 GB, free: 7.949 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0005194/1.791, allocations: 140 kB / 1.056 GB, free: 7.812 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01751/1.809, allocations: 4.623 MB / 1.061 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.809, allocations: 12.02 kB / 1.061 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0142/1.823, allocations: 1.483 MB / 1.062 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/1.838, allocations: 4.211 MB / 1.066 GB, free: 13.32 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/1.838, allocations: 164 kB / 1.066 GB, free: 13.16 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002331/1.84, allocations: 296.2 kB / 1.067 GB, free: 12.88 MB / 0.8074 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01642/1.857, allocations: 5.573 MB / 1.072 GB, free: 7.297 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02478/1.882, allocations: 7.542 MB / 1.079 GB, free: 15.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002936/1.882, allocations: 31.62 kB / 1.079 GB, free: 15.27 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001968/1.884, allocations: 15.94 kB / 1.079 GB, free: 15.25 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004944/1.884, allocations: 330 kB / 1.08 GB, free: 14.93 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.55/2.434, allocations: 38.9 MB / 1.118 GB, free: 144.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005471/2.44, allocations: 2.705 MB / 1.12 GB, free: 144.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005204/2.445, allocations: 2.474 MB / 1.123 GB, free: 144.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00038/2.446, allocations: 29.02 kB / 1.123 GB, free: 144.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/2.446, allocations: 61.53 kB / 1.123 GB, free: 144.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=265): time 7.485e-06/2.446, allocations: 0 / 1.123 GB, free: 144.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=424): time 0.09579/2.542, allocations: 27.35 MB / 1.15 GB, free: 142.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/2.542, allocations: 92.7 kB / 1.15 GB, free: 142.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/2.545, allocations: 1.634 MB / 1.151 GB, free: 142.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008949/2.546, allocations: 29.09 kB / 1.151 GB, free: 142 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002466/2.548, allocations: 2.367 MB / 1.154 GB, free: 141.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003138/2.551, allocations: 1.381 MB / 1.155 GB, free: 140.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/2.552, allocations: 0 / 1.155 GB, free: 140.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0004936/2.553, allocations: 482.6 kB / 1.155 GB, free: 140.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009081/2.562, allocations: 2.642 MB / 1.158 GB, free: 140.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/2.573, allocations: 3.579 MB / 1.162 GB, free: 139.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/2.584, allocations: 3.237 MB / 1.165 GB, free: 139.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-05/2.584, allocations: 11.25 kB / 1.165 GB, free: 139.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.03887/2.623, allocations: 11.15 MB / 1.176 GB, free: 138.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/2.623, allocations: 18.56 kB / 1.176 GB, free: 138.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.173e-05/2.623, allocations: 25.38 kB / 1.176 GB, free: 138.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02234/2.645, allocations: 4.896 MB / 1.18 GB, free: 138.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/2.648, allocations: 0.5058 MB / 1.181 GB, free: 138.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08902/2.737, allocations: 62.26 MB / 1.242 GB, free: 99.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00477/2.742, allocations: 112.4 kB / 1.242 GB, free: 99.86 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/2.743, allocations: 160 kB / 1.242 GB, free: 99.82 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001094/2.744, allocations: 192.9 kB / 1.242 GB, free: 99.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/2.745, allocations: 371.4 kB / 1.242 GB, free: 99.52 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03277/2.778, allocations: 11 MB / 1.253 GB, free: 95.36 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-05/2.778, allocations: 42.44 kB / 1.253 GB, free: 95.36 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001186/2.778, allocations: 51.66 kB / 1.253 GB, free: 95.36 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.921e-05/2.778, allocations: 23.02 kB / 1.253 GB, free: 95.36 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04566/2.824, allocations: 16.53 MB / 1.269 GB, free: 89.03 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.357e-05/2.824, allocations: 13.16 kB / 1.269 GB, free: 89.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/2.826, allocations: 290.7 kB / 1.27 GB, free: 89.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0217/2.848, allocations: 4.42 MB / 1.274 GB, free: 87.79 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008765/2.849, allocations: 16.12 kB / 1.274 GB, free: 87.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08079/2.93, allocations: 60.02 MB / 1.333 GB, free: 37.17 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/2.93, allocations: 9.875 kB / 1.333 GB, free: 37.16 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03288/2.963, allocations: 14.7 MB / 1.347 GB, free: 24.31 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003309/2.966, allocations: 0.9628 MB / 1.348 GB, free: 23.43 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/2.967, allocations: 15.61 kB / 1.348 GB, free: 23.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003715/2.971, allocations: 110.3 kB / 1.348 GB, free: 23.36 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001944/2.973, allocations: 402.8 kB / 1.349 GB, free: 23.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006233/2.974, allocations: 110.9 kB / 1.349 GB, free: 23.01 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004328/2.978, allocations: 1.188 MB / 1.35 GB, free: 21.94 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.541e-06/2.978, allocations: 0 / 1.35 GB, free: 21.94 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01208/2.99, allocations: 1.533 MB / 1.351 GB, free: 20.41 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/2.991, allocations: 161 kB / 1.351 GB, free: 20.27 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02255/3.014, allocations: 10.95 MB / 1.362 GB, free: 10.12 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/3.014, allocations: 0 / 1.362 GB, free: 10.12 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01632/3.03, allocations: 7.599 MB / 1.37 GB, free: 3.082 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/3.036, allocations: 0.8687 MB / 1.37 GB, free: 2.434 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02719/3.063, allocations: 9.828 MB / 1.38 GB, free: 9.914 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009356/3.073, allocations: 4.189 MB / 1.384 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00372/3.076, allocations: 0.6545 MB / 1.385 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008215/3.077, allocations: 165.3 kB / 1.385 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of SimCode: time 2.497e-06/3.077, allocations: 0 / 1.385 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of Templates: time 0.7649/3.842, allocations: 90.75 MB / 1.474 GB, free: 163.8 MB / 0.8542 GB