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.QuasiStationary.Machines.Examples.TransformerTestbench.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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma|source.voltageSource.2..pin_p.reference.gamma|source.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.594/1.594, allocations: 171.2 MB / 186.8 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003718, allocations: 8 kB / 233.2 MB, free: 3.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07153/0.07192, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3064/0.3784, allocations: 85.19 MB / 357.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.3787, allocations: 89.45 kB / 357.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.571/3.95, allocations: 0.778 GB / 1.127 GB, free: 7.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.118e-06/3.95, allocations: 4 kB / 1.127 GB, free: 7.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001101/3.951, allocations: 387.5 kB / 1.127 GB, free: 7.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.6843/4.636, allocations: 15.68 MB / 1.143 GB, free: 16.7 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/4.636, allocations: 11.94 kB / 1.143 GB, free: 16.7 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/4.647, allocations: 2.074 MB / 1.145 GB, free: 15.86 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02981/4.677, allocations: 10.59 MB / 1.155 GB, free: 14.68 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002049/4.679, allocations: 1.266 MB / 1.156 GB, free: 14.65 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006737/4.686, allocations: 1.626 MB / 1.158 GB, free: 14.64 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.081/4.767, allocations: 27.85 MB / 1.185 GB, free: 12.52 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007134/4.768, allocations: 24 kB / 1.185 GB, free: 12.52 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006147/4.774, allocations: 0.7052 MB / 1.186 GB, free: 12.52 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001036/4.775, allocations: 0.7388 MB / 1.186 GB, free: 12.52 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05358/4.829, allocations: 20.54 MB / 1.206 GB, free: 12.37 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2236/5.052, allocations: 86.09 MB / 1.291 GB, free: 14.73 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03714/5.09, allocations: 13.91 MB / 1.304 GB, free: 2.094 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/5.091, allocations: 242.1 kB / 1.304 GB, free: 1.914 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/5.091, allocations: 116.7 kB / 1.304 GB, free: 1.789 MB / 458.8 MB Notification: Performance of pre-optimization done (n=1122): time 1.885e-05/5.091, allocations: 0 / 1.304 GB, free: 1.789 MB / 458.8 MB Notification: Performance of matching and sorting (n=1122): time 0.6637/5.755, allocations: 85.04 MB / 1.388 GB, free: 49.09 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/5.755, allocations: 210.7 kB / 1.388 GB, free: 48.92 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/5.766, allocations: 2.974 MB / 1.391 GB, free: 48.71 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002147/5.768, allocations: 158.1 kB / 1.391 GB, free: 48.68 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003236/5.772, allocations: 5.395 MB / 1.396 GB, free: 45.8 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005671/5.777, allocations: 3.662 MB / 1.4 GB, free: 43.4 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/5.78, allocations: 150.2 kB / 1.4 GB, free: 43.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001463/5.781, allocations: 0.7454 MB / 1.4 GB, free: 43.06 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01736/5.799, allocations: 7.725 MB / 1.408 GB, free: 43.04 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01962/5.818, allocations: 9.244 MB / 1.417 GB, free: 41.66 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02015/5.839, allocations: 9.256 MB / 1.426 GB, free: 41.49 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-05/5.839, allocations: 17.75 kB / 1.426 GB, free: 41.49 MB / 458.8 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.05542/5.894, allocations: 23.02 MB / 1.449 GB, free: 25.87 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/5.894, allocations: 22.72 kB / 1.449 GB, free: 25.85 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/5.894, allocations: 36 kB / 1.449 GB, free: 25.81 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0266/5.921, allocations: 11.02 MB / 1.459 GB, free: 16.38 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/5.926, allocations: 0.9037 MB / 1.46 GB, free: 15.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3644/6.29, allocations: 22.84 MB / 1.483 GB, free: 61.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006802/6.297, allocations: 0.8479 MB / 1.483 GB, free: 61.69 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002419/6.299, allocations: 362.3 kB / 1.484 GB, free: 61.69 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * 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 (540): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.01635/6.316, allocations: 6.763 MB / 1.49 GB, free: 61.55 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002092/6.318, allocations: 0.5618 MB / 1.491 GB, free: 61.52 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04916/6.367, allocations: 24.03 MB / 1.514 GB, free: 60.96 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04494/6.412, allocations: 21.48 MB / 1.535 GB, free: 60.57 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/6.412, allocations: 2.812 kB / 1.535 GB, free: 60.57 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001146/6.412, allocations: 37.59 kB / 1.535 GB, free: 60.57 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1024/6.515, allocations: 44.92 MB / 1.579 GB, free: 46.36 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001686/6.515, allocations: 3.656 kB / 1.579 GB, free: 46.36 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/6.518, allocations: 0.5617 MB / 1.58 GB, free: 46.35 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02861/6.547, allocations: 11.01 MB / 1.591 GB, free: 43.24 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002243/6.549, allocations: 226 kB / 1.591 GB, free: 43.12 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0369/6.586, allocations: 22.77 MB / 1.613 GB, free: 22.66 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.829e-06/6.586, allocations: 6.469 kB / 1.613 GB, free: 22.66 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3959/6.982, allocations: 36.42 MB / 1.649 GB, free: 60.45 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007136/6.989, allocations: 2.429 MB / 1.651 GB, free: 60.21 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002871/6.992, allocations: 128.2 kB / 1.651 GB, free: 60.21 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005201/6.997, allocations: 262.5 kB / 1.651 GB, free: 60.21 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003283/7.001, allocations: 0.8788 MB / 1.652 GB, free: 60.21 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002094/7.003, allocations: 278.8 kB / 1.652 GB, free: 60.21 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005447/7.008, allocations: 2.31 MB / 1.655 GB, free: 60.06 MB / 458.8 MB Notification: Performance of sort global known variables: time 9.34e-07/7.008, allocations: 1.156 kB / 1.655 GB, free: 60.06 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01543/7.024, allocations: 3.737 MB / 1.658 GB, free: 59.07 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[1].pin_p.reference.gamma,source.voltageSource[3].pin_p.reference.gamma,source.voltageSource[2].pin_p.reference.gamma) * 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 (356): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002597/7.026, allocations: 355.9 kB / 1.659 GB, free: 58.98 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.04288/7.069, allocations: 18.67 MB / 1.677 GB, free: 58.59 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.761e-06/7.069, allocations: 2.844 kB / 1.677 GB, free: 58.59 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02461/7.094, allocations: 9.893 MB / 1.687 GB, free: 58.33 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00936/7.103, allocations: 1.325 MB / 1.688 GB, free: 58.29 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08525/7.189, allocations: 39.96 MB / 1.727 GB, free: 44.73 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02517/7.214, allocations: 11.21 MB / 1.738 GB, free: 43.54 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/7.216, allocations: 264.9 kB / 1.738 GB, free: 43.53 MB / 458.8 MB Notification: Performance of SimCode: time 1.706e-06/7.216, allocations: 0 / 1.738 GB, free: 43.53 MB / 458.8 MB Notification: Performance of Templates: time 3.227/10.44, allocations: 0.9427 GB / 2.681 GB, free: 113.4 MB / 0.4949 GB