Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadModel(Modelica): time 1.608/1.608, allocations: 171.2 MB / 184.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.529e-05, allocations: 0 / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2088, allocations: 38.77 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.3774, allocations: 70.99 MB / 338.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.3777, allocations: 67.97 kB / 338.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2567/0.6344, allocations: 18.89 MB / 357.5 MB, free: 71.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.541e-06/0.6344, allocations: 4.531 kB / 357.5 MB, free: 71.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.6346, allocations: 32.28 kB / 357.6 MB, free: 71.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003721/0.6383, allocations: 1.324 MB / 358.9 MB, free: 71.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6384, allocations: 9.125 kB / 358.9 MB, free: 71.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005314/0.6389, allocations: 143.2 kB / 359 MB, free: 70.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.641, allocations: 0.8562 MB / 359.9 MB, free: 70.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.403e-05/0.6412, allocations: 83.55 kB / 360 MB, free: 70.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.6414, allocations: 108 kB / 360.1 MB, free: 70.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.6443, allocations: 1.464 MB / 361.6 MB, free: 70.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.6443, allocations: 3.75 kB / 361.6 MB, free: 70.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.6445, allocations: 46.06 kB / 361.6 MB, free: 70.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.6445, allocations: 30.03 kB / 361.6 MB, free: 70.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.647, allocations: 1.171 MB / 362.8 MB, free: 70.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008533/0.6556, allocations: 4.26 MB / 367.1 MB, free: 69.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.6567, allocations: 1.293 MB / 368.4 MB, free: 68.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007591/0.6575, allocations: 438.1 kB / 368.8 MB, free: 68.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.6575, allocations: 9.188 kB / 368.8 MB, free: 68.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.6576, allocations: 42.94 kB / 368.8 MB, free: 68.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 4.302e-06/0.6576, allocations: 0 / 368.8 MB, free: 68.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.00332/0.6609, allocations: 1.641 MB / 370.5 MB, free: 67.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.661, allocations: 59.25 kB / 370.5 MB, free: 67.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.6622, allocations: 0.7295 MB / 371.3 MB, free: 66.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.6623, allocations: 36.86 kB / 371.3 MB, free: 66.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.6626, allocations: 0.5578 MB / 371.9 MB, free: 66.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.6627, allocations: 177.2 kB / 372 MB, free: 66.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.6627, allocations: 11.84 kB / 372 MB, free: 66.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.6628, allocations: 336 kB / 372.4 MB, free: 66.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.6633, allocations: 284.6 kB / 372.6 MB, free: 65.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.6638, allocations: 375.2 kB / 373 MB, free: 65.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.6644, allocations: 350.5 kB / 373.4 MB, free: 65.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6644, allocations: 3.953 kB / 373.4 MB, free: 65.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001519/0.6659, allocations: 0.8263 MB / 374.2 MB, free: 65.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.666, allocations: 6.031 kB / 374.2 MB, free: 65.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.666, allocations: 3.5 kB / 374.2 MB, free: 65.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.6664, allocations: 112.5 kB / 374.3 MB, free: 65.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/0.667, allocations: 125.9 kB / 374.4 MB, free: 65.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.6695, allocations: 2.176 MB / 376.6 MB, free: 63.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.6701, allocations: 34.84 kB / 376.6 MB, free: 63.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.6702, allocations: 19.62 kB / 376.7 MB, free: 63.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.6704, allocations: 132.3 kB / 376.8 MB, free: 63.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.6706, allocations: 83.27 kB / 376.9 MB, free: 63.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.6708, allocations: 92.98 kB / 377 MB, free: 63.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.119e-06/0.6708, allocations: 3.969 kB / 377 MB, free: 63.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.6709, allocations: 0 / 377 MB, free: 63.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.891e-06/0.6709, allocations: 11.41 kB / 377 MB, free: 63.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.6746, allocations: 2 MB / 379 MB, free: 62.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.6747, allocations: 0 / 379 MB, free: 62.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.6752, allocations: 97.42 kB / 379.1 MB, free: 62.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003197/0.6755, allocations: 103.4 kB / 379.2 MB, free: 62.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.6756, allocations: 8 kB / 379.2 MB, free: 62.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.6778, allocations: 2.122 MB / 381.3 MB, free: 60.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6778, allocations: 0 / 381.3 MB, free: 60.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.6797, allocations: 1.215 MB / 382.5 MB, free: 58.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/0.6802, allocations: 229.6 kB / 382.7 MB, free: 58.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.6803, allocations: 12 kB / 382.8 MB, free: 58.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.6809, allocations: 50.94 kB / 382.8 MB, free: 58.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.6811, allocations: 46.58 kB / 382.8 MB, free: 58.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.6811, allocations: 16 kB / 382.9 MB, free: 58.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008879/0.682, allocations: 0.5772 MB / 383.4 MB, free: 58.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.79e-07/0.682, allocations: 0 / 383.4 MB, free: 58.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00104/0.6831, allocations: 215.4 kB / 383.6 MB, free: 57.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.6833, allocations: 117.1 kB / 383.8 MB, free: 57.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.6847, allocations: 0.7815 MB / 384.5 MB, free: 57.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.282e-06/0.6847, allocations: 4.625 kB / 384.5 MB, free: 57.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008305/0.6856, allocations: 479 kB / 385 MB, free: 56.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6867, allocations: 167.5 kB / 385.2 MB, free: 56.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.6903, allocations: 1.763 MB / 386.9 MB, free: 54.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/0.6913, allocations: 1.337 MB / 388.3 MB, free: 53.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.6916, allocations: 47.44 kB / 388.3 MB, free: 53.71 MB / 298.7 MB Notification: Performance of SimCode: time 2.721e-06/0.6916, allocations: 4 kB / 388.3 MB, free: 53.71 MB / 298.7 MB Notification: Performance of Templates: time 0.02398/0.7156, allocations: 18.18 MB / 406.5 MB, free: 36.7 MB / 298.7 MB