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.Machines.Examples.Transformers.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.665/1.665, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.506e-05, allocations: 0 / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2994, allocations: 38.78 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.436, allocations: 82.41 MB / 350 MB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.4363, allocations: 83.95 kB / 350.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4468/0.8832, allocations: 75.09 MB / 425.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.353e-06/0.8833, allocations: 0 / 425.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000522/0.8838, allocations: 91.81 kB / 425.3 MB, free: 21.28 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01606/0.8999, allocations: 2.858 MB / 428.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.459e-05/0.9, allocations: 8.031 kB / 428.1 MB, free: 18.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/0.9039, allocations: 399.7 kB / 428.5 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.9149, allocations: 1.981 MB / 430.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/0.9155, allocations: 217.8 kB / 430.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/0.9174, allocations: 291.8 kB / 431 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.9377, allocations: 4.063 MB / 435.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.9379, allocations: 0 / 435.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.9389, allocations: 124 kB / 435.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003046/0.9393, allocations: 133.9 kB / 435.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.9562, allocations: 3.123 MB / 438.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03776/0.994, allocations: 10.91 MB / 449.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00422/0.9983, allocations: 2.592 MB / 452 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003432/1.002, allocations: 1.457 MB / 453.4 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004344/1.002, allocations: 146 kB / 453.6 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/1.002, allocations: 43.56 kB / 453.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 5.378e-06/1.002, allocations: 4 kB / 453.6 MB, free: 8.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.01152/1.014, allocations: 4.37 MB / 458 MB, free: 3.793 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/1.014, allocations: 98.36 kB / 458.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/1.018, allocations: 1.587 MB / 459.7 MB, free: 2.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002742/1.018, allocations: 49.7 kB / 459.7 MB, free: 2.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.019, allocations: 1.248 MB / 460.9 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006563/1.02, allocations: 453.5 kB / 461.4 MB, free: 332 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/1.02, allocations: 32 kB / 461.4 MB, free: 300 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000266/1.02, allocations: 370.8 kB / 461.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/1.022, allocations: 0.7809 MB / 462.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/1.024, allocations: 1.13 MB / 463.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/1.026, allocations: 0.9769 MB / 464.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/1.026, allocations: 4 kB / 464.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005663/1.032, allocations: 2.325 MB / 467 MB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/1.032, allocations: 12 kB / 467 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.313e-05/1.032, allocations: 12 kB / 467 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/1.034, allocations: 363.3 kB / 467.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/1.036, allocations: 335.5 kB / 467.7 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00849/1.044, allocations: 4.049 MB / 471.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/1.046, allocations: 91.89 kB / 471.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/1.046, allocations: 63.98 kB / 471.9 MB, free: 5.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004365/1.047, allocations: 192.5 kB / 472.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006404/1.047, allocations: 189.8 kB / 472.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005034/1.052, allocations: 2.109 MB / 474.4 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/1.052, allocations: 12 kB / 474.4 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.052, allocations: 4 kB / 474.4 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/1.053, allocations: 7.969 kB / 474.4 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/1.066, allocations: 5.12 MB / 479.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/1.066, allocations: 4 kB / 479.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.067, allocations: 231.6 kB / 479.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/1.069, allocations: 336.7 kB / 480.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/1.069, allocations: 35.98 kB / 480.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007336/1.076, allocations: 3.966 MB / 484.1 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.188e-06/1.076, allocations: 4.031 kB / 484.1 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007134/1.084, allocations: 3.268 MB / 487.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.085, allocations: 462.7 kB / 487.8 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004267/1.086, allocations: 28 kB / 487.8 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.087, allocations: 104 kB / 487.9 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/1.087, allocations: 100.8 kB / 488 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.088, allocations: 43.98 kB / 488.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002816/1.09, allocations: 1.232 MB / 489.3 MB, free: 3.727 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.177e-06/1.09, allocations: 4 kB / 489.3 MB, free: 3.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002747/1.093, allocations: 0.5469 MB / 489.9 MB, free: 3.176 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006177/1.094, allocations: 214.6 kB / 490.1 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004977/1.099, allocations: 2.229 MB / 492.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.099, allocations: 4 kB / 492.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1968/1.296, allocations: 1.289 MB / 493.6 MB, free: 74.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.299, allocations: 477.5 kB / 494.1 MB, free: 74.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.309, allocations: 4.483 MB / 498.6 MB, free: 73.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002613/1.312, allocations: 2.41 MB / 0.4892 GB, free: 73.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008048/1.313, allocations: 117.9 kB / 0.4893 GB, free: 73.18 MB / 346.7 MB Notification: Performance of SimCode: time 2.227e-06/1.313, allocations: 1 kB / 0.4893 GB, free: 73.18 MB / 346.7 MB Notification: Performance of Templates: time 0.06802/1.381, allocations: 48.11 MB / 0.5363 GB, free: 60.89 MB / 346.7 MB