Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.72/1.72, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003327, allocations: 4 kB / 233.8 MB, free: 3.078 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.0824, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.4423, allocations: 71.07 MB / 343.6 MB, free: 2.898 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.4427, allocations: 82.39 kB / 343.7 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09266/0.5354, allocations: 18.84 MB / 362.5 MB, free: 2.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5355, allocations: 0 / 362.5 MB, free: 2.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001734/0.5357, allocations: 28 kB / 362.6 MB, free: 2.828 MB / 282.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.006538/0.5422, allocations: 1.456 MB / 364 MB, free: 1.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.5423, allocations: 8.031 kB / 364 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007637/0.5431, allocations: 142.3 kB / 364.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.5464, allocations: 0.8552 MB / 365 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.5465, allocations: 88.42 kB / 365.1 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.5469, allocations: 106.6 kB / 365.2 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005695/0.5526, allocations: 1.51 MB / 366.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/0.5528, allocations: 0 / 366.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.553, allocations: 48.81 kB / 366.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.5531, allocations: 28 kB / 366.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00504/0.5581, allocations: 1.239 MB / 368 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.5713, allocations: 4.25 MB / 372.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.5733, allocations: 1.318 MB / 373.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/0.5733, allocations: 4.438 kB / 373.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.5734, allocations: 38.38 kB / 373.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.926e-06/0.5734, allocations: 0 / 373.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.005532/0.579, allocations: 1.966 MB / 375.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.5791, allocations: 63.78 kB / 375.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.5808, allocations: 0.8169 MB / 376.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.5809, allocations: 44.56 kB / 376.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/0.5814, allocations: 0.5525 MB / 377.1 MB, free: 6.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.5817, allocations: 176.8 kB / 377.3 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.5817, allocations: 16 kB / 377.3 MB, free: 6.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5819, allocations: 334.8 kB / 377.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009288/0.5829, allocations: 308.9 kB / 377.9 MB, free: 6.168 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009592/0.5838, allocations: 419.2 kB / 378.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5849, allocations: 374 kB / 378.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5849, allocations: 4 kB / 378.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002423/0.5873, allocations: 0.8703 MB / 379.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.5874, allocations: 8 kB / 379.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5874, allocations: 4 kB / 379.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/0.5879, allocations: 104.8 kB / 379.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/0.5889, allocations: 131.9 kB / 379.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/0.5924, allocations: 2.189 MB / 382 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007957/0.5932, allocations: 31.97 kB / 382 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.5933, allocations: 16 kB / 382 MB, free: 1.859 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.001199/0.5945, allocations: 461.5 kB / 382.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.5948, allocations: 79.06 kB / 382.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.5951, allocations: 91.08 kB / 382.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.5951, allocations: 8.141 kB / 382.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.5951, allocations: 4 kB / 382.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.5951, allocations: 11.91 kB / 382.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/0.6007, allocations: 2.012 MB / 384.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.6008, allocations: 0 / 384.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007239/0.6015, allocations: 95.83 kB / 384.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004139/0.6019, allocations: 100.8 kB / 384.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.602, allocations: 12 kB / 384.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.6054, allocations: 2.158 MB / 387 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6054, allocations: 0 / 387 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.6086, allocations: 1.204 MB / 388.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006585/0.6093, allocations: 224.1 kB / 388.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.6095, allocations: 20.31 kB / 388.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.6103, allocations: 51.95 kB / 388.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.6104, allocations: 48.27 kB / 388.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.6105, allocations: 19.94 kB / 388.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001329/0.6119, allocations: 0.5849 MB / 389.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6119, allocations: 0 / 389.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001128/0.613, allocations: 212 kB / 389.4 MB, free: 10.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (41): * Single equations (assignments): 40 * 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.0002386/0.6133, allocations: 115.2 kB / 389.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.6156, allocations: 0.8324 MB / 390.3 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6156, allocations: 0.625 kB / 390.3 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.6169, allocations: 492.9 kB / 390.8 MB, free: 8.762 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.6184, allocations: 163.1 kB / 391 MB, free: 8.602 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/0.6248, allocations: 2.619 MB / 393.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.6263, allocations: 1.34 MB / 394.9 MB, free: 4.562 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.6267, allocations: 51.44 kB / 395 MB, free: 4.512 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6267, allocations: 3.938 kB / 395 MB, free: 4.508 MB / 314.7 MB Notification: Performance of Templates: time 0.0411/0.6678, allocations: 18.16 MB / 413.2 MB, free: 2.367 MB / 330.7 MB