Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 12 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1061, allocations: 44.51 MB / 308.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4591/0.5653, allocations: 94.6 MB / 403.1 MB, free: 17.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.5656, allocations: 91.14 kB / 403.2 MB, free: 17.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338/1.903, allocations: 309.1 MB / 0.6955 GB, free: 55.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.904, allocations: 1.188 kB / 0.6956 GB, free: 55.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000568/1.904, allocations: 194.4 kB / 0.6957 GB, free: 55.92 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03878/1.943, allocations: 9.047 MB / 0.7046 GB, free: 53.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.943, allocations: 7.438 kB / 0.7046 GB, free: 53.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02999/1.973, allocations: 4.219 MB / 0.7087 GB, free: 52.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/1.989, allocations: 5.809 MB / 0.7144 GB, free: 52.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009979/1.99, allocations: 0.6463 MB / 0.715 GB, free: 52.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003748/1.994, allocations: 0.8347 MB / 0.7158 GB, free: 52.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04841/2.042, allocations: 15.26 MB / 0.7307 GB, free: 51.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000341/2.042, allocations: 7.031 kB / 0.7307 GB, free: 51.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003289/2.046, allocations: 369.5 kB / 0.7311 GB, free: 51.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008333/2.047, allocations: 0.6085 MB / 0.7317 GB, free: 51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03389/2.081, allocations: 13.56 MB / 0.7449 GB, free: 50.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09759/2.178, allocations: 44.89 MB / 0.7888 GB, free: 34.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02012/2.198, allocations: 12.25 MB / 0.8007 GB, free: 28.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009334/2.199, allocations: 272.5 kB / 0.801 GB, free: 27.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.236e-05/2.199, allocations: 105.7 kB / 0.8011 GB, free: 27.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.408e-05/2.199, allocations: 0 / 0.8011 GB, free: 27.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.09715/2.297, allocations: 33.83 MB / 0.8341 GB, free: 232 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/2.297, allocations: 146.3 kB / 0.8342 GB, free: 64 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/2.301, allocations: 1.797 MB / 0.836 GB, free: 14.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001553/2.303, allocations: 125.7 kB / 0.8361 GB, free: 14.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002527/2.305, allocations: 2.707 MB / 0.8388 GB, free: 12.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004628/2.31, allocations: 2.671 MB / 0.8414 GB, free: 9.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/2.312, allocations: 120 kB / 0.8415 GB, free: 9.562 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000995/2.313, allocations: 0.6082 MB / 0.8421 GB, free: 9.031 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01228/2.325, allocations: 4.994 MB / 0.847 GB, free: 4.805 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.28/2.605, allocations: 5.842 MB / 0.8527 GB, free: 67.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/2.619, allocations: 5.927 MB / 0.8585 GB, free: 67.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.654e-05/2.619, allocations: 4.562 kB / 0.8585 GB, free: 67.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03466/2.653, allocations: 14.01 MB / 0.8721 GB, free: 67.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/2.653, allocations: 13.61 kB / 0.8722 GB, free: 67.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.187e-05/2.654, allocations: 18 kB / 0.8722 GB, free: 67.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01284/2.666, allocations: 4.372 MB / 0.8764 GB, free: 67.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006424/2.673, allocations: 1.046 MB / 0.8775 GB, free: 67.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/2.69, allocations: 10.55 MB / 0.8878 GB, free: 64.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005435/2.696, allocations: 0.7031 MB / 0.8884 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/2.698, allocations: 253.6 kB / 0.8887 GB, free: 64.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (559): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,12 72,6 9,12 95} Notification: Performance of prepare postOptimizeDAE: time 0.009103/2.707, allocations: 3.354 MB / 0.892 GB, free: 64.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/2.709, allocations: 403.9 kB / 0.8924 GB, free: 64.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03446/2.743, allocations: 14.78 MB / 0.9068 GB, free: 64.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02905/2.772, allocations: 13.22 MB / 0.9197 GB, free: 59.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.69e-05/2.772, allocations: 6.422 kB / 0.9197 GB, free: 59.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001328/2.772, allocations: 30.84 kB / 0.9197 GB, free: 59.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06304/2.835, allocations: 26.93 MB / 0.946 GB, free: 48.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.25e-05/2.836, allocations: 0 / 0.946 GB, free: 48.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00586/2.841, allocations: 0.9017 MB / 0.9469 GB, free: 48.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01284/2.854, allocations: 4.348 MB / 0.9512 GB, free: 47.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001799/2.856, allocations: 170 kB / 0.9513 GB, free: 47.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/2.873, allocations: 10.51 MB / 0.9616 GB, free: 40.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.426e-06/2.873, allocations: 1.125 kB / 0.9616 GB, free: 40.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04516/2.918, allocations: 21.78 MB / 0.9829 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004966/2.923, allocations: 1.674 MB / 0.9845 GB, free: 20.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002137/2.926, allocations: 112 kB / 0.9846 GB, free: 20.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004734/2.93, allocations: 346.3 kB / 0.9849 GB, free: 19.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002365/2.933, allocations: 0.5688 MB / 0.9855 GB, free: 19.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001632/2.934, allocations: 216.4 kB / 0.9857 GB, free: 19.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00268/2.937, allocations: 1.358 MB / 0.987 GB, free: 18.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.25e-06/2.937, allocations: 1.469 kB / 0.987 GB, free: 18.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008962/2.946, allocations: 2.239 MB / 0.9892 GB, free: 16.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].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 (488): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.002034/2.948, allocations: 333.7 kB / 0.9895 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02684/2.975, allocations: 12.28 MB / 1.002 GB, free: 5.363 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.559e-06/2.975, allocations: 0 / 1.002 GB, free: 5.363 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01718/2.992, allocations: 6.597 MB / 1.008 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005567/2.998, allocations: 0.6493 MB / 1.009 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3127/3.311, allocations: 22.59 MB / 1.031 GB, free: 77.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01341/3.324, allocations: 6.027 MB / 1.037 GB, free: 76.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002474/3.327, allocations: 328.9 kB / 1.037 GB, free: 76.77 MB / 458.7 MB Notification: Performance of SimCode: time 1.684e-06/3.327, allocations: 0 / 1.037 GB, free: 76.77 MB / 458.7 MB Notification: Performance of Templates: time 0.6339/3.961, allocations: 294.5 MB / 1.324 GB, free: 404 kB / 458.7 MB