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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.538/1.538, allocations: 171.3 MB / 179.2 MB, free: 8.168 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.674e-05/1.683e-05, allocations: 4 kB / 222.5 MB, free: 8.781 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06774/0.06778, allocations: 38.77 MB / 261.3 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/0.3622, allocations: 81.75 MB / 343 MB, free: 6.637 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.3625, allocations: 83.83 kB / 343.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4598/0.8223, allocations: 74.22 MB / 417.3 MB, free: 68.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.8224, allocations: 0 / 417.3 MB, free: 68.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002893/0.8227, allocations: 88.95 kB / 417.4 MB, free: 68.64 MB / 346.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.008671/0.8313, allocations: 2.853 MB / 420.3 MB, free: 68.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8314, allocations: 8.594 kB / 420.3 MB, free: 68.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.8333, allocations: 399.5 kB / 420.7 MB, free: 67.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005177/0.8385, allocations: 1.974 MB / 422.7 MB, free: 67.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.8387, allocations: 99.5 kB / 422.7 MB, free: 67.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007858/0.8395, allocations: 171.9 kB / 422.9 MB, free: 67.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007487/0.847, allocations: 2.946 MB / 425.9 MB, free: 67.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009551/0.8566, allocations: 3.641 MB / 429.5 MB, free: 67.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.686e-05/0.8567, allocations: 0 / 429.5 MB, free: 67.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/0.8571, allocations: 3.625 kB / 429.5 MB, free: 67.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.8573, allocations: 133.2 kB / 429.6 MB, free: 67.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.8788, allocations: 10.32 MB / 440 MB, free: 65.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/0.8815, allocations: 2.531 MB / 442.5 MB, free: 64.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/0.884, allocations: 1.351 MB / 443.8 MB, free: 64.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.8843, allocations: 137.6 kB / 444 MB, free: 64.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.8844, allocations: 48.31 kB / 444 MB, free: 64.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 4.659e-06/0.8844, allocations: 0 / 444 MB, free: 64.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.009484/0.8939, allocations: 4.181 MB / 448.2 MB, free: 63.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.8939, allocations: 92.39 kB / 448.3 MB, free: 63.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.8962, allocations: 1.323 MB / 449.6 MB, free: 63.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.8964, allocations: 29.67 kB / 449.6 MB, free: 63.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006243/0.897, allocations: 1.267 MB / 450.9 MB, free: 62.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.8974, allocations: 441.1 kB / 451.3 MB, free: 62.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.8975, allocations: 0 / 451.3 MB, free: 62.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.8976, allocations: 375.6 kB / 451.7 MB, free: 61.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.8989, allocations: 0.7518 MB / 452.5 MB, free: 61.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.9005, allocations: 1.093 MB / 453.6 MB, free: 61.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.9022, allocations: 0.9521 MB / 454.5 MB, free: 61.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.826e-06/0.9022, allocations: 6.938 kB / 454.5 MB, free: 61.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004404/0.9066, allocations: 2.195 MB / 456.7 MB, free: 60.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.9067, allocations: 10.53 kB / 456.7 MB, free: 60.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/0.9067, allocations: 11.38 kB / 456.7 MB, free: 60.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.908, allocations: 352.2 kB / 457.1 MB, free: 60.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.9098, allocations: 334.3 kB / 457.4 MB, free: 60.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006005/0.9158, allocations: 3.915 MB / 461.3 MB, free: 57.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.9177, allocations: 62.28 kB / 461.4 MB, free: 57.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002982/0.918, allocations: 64.91 kB / 461.4 MB, free: 57.75 MB / 346.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.000338/0.9184, allocations: 139 kB / 461.6 MB, free: 57.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/0.9189, allocations: 174.6 kB / 461.7 MB, free: 57.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/0.9229, allocations: 1.999 MB / 463.7 MB, free: 56.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.923, allocations: 11.69 kB / 463.8 MB, free: 56.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.77e-06/0.923, allocations: 3.375 kB / 463.8 MB, free: 56.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.923, allocations: 7.672 kB / 463.8 MB, free: 56.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.9338, allocations: 4.592 MB / 468.4 MB, free: 54.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/0.9338, allocations: 3.844 kB / 468.4 MB, free: 54.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/0.9353, allocations: 232.4 kB / 468.6 MB, free: 54.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.9364, allocations: 328.9 kB / 468.9 MB, free: 54.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.9366, allocations: 23.16 kB / 468.9 MB, free: 54.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009114/0.9457, allocations: 3.822 MB / 472.8 MB, free: 52.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.9458, allocations: 5.219 kB / 472.8 MB, free: 52.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009336/0.9552, allocations: 3.123 MB / 475.9 MB, free: 51.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/0.9571, allocations: 426.3 kB / 476.3 MB, free: 50.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006824/0.9579, allocations: 11.12 kB / 476.3 MB, free: 50.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/0.9607, allocations: 86.45 kB / 476.4 MB, free: 50.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005612/0.9613, allocations: 94.8 kB / 476.5 MB, free: 50.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/0.9616, allocations: 38.8 kB / 476.5 MB, free: 50.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003229/0.9648, allocations: 1.01 MB / 477.5 MB, free: 50.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.034e-06/0.9649, allocations: 2.406 kB / 477.5 MB, free: 50.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004311/0.9692, allocations: 497 kB / 478 MB, free: 50.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (103): * Single equations (assignments): 98 * 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.0007715/0.97, allocations: 195.9 kB / 478.2 MB, free: 50.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00652/0.9766, allocations: 2.157 MB / 480.4 MB, free: 49.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.9766, allocations: 3.531 kB / 480.4 MB, free: 49.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003834/0.9805, allocations: 1.243 MB / 481.6 MB, free: 48.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/0.9845, allocations: 333 kB / 481.9 MB, free: 48.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.998, allocations: 4.386 MB / 486.3 MB, free: 46.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/1, allocations: 2.412 MB / 488.7 MB, free: 45.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/1.001, allocations: 113.4 kB / 488.9 MB, free: 45.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.798e-06/1.001, allocations: 0 / 488.9 MB, free: 45.84 MB / 346.7 MB Notification: Performance of Templates: time 0.06288/1.064, allocations: 45.87 MB / 0.5222 GB, free: 11.72 MB / 346.7 MB