Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.012/2.012, allocations: 194.9 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 44.5 MB / 309 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6026/0.7303, allocations: 94.6 MB / 403.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/0.7307, allocations: 95.14 kB / 403.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.55/2.281, allocations: 309.1 MB / 0.6961 GB, free: 57 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.056e-06/2.281, allocations: 1 kB / 0.6961 GB, free: 57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007988/2.282, allocations: 194.3 kB / 0.6963 GB, free: 56.98 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.04624/2.328, allocations: 9.051 MB / 0.7051 GB, free: 54.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/2.328, allocations: 10.56 kB / 0.7051 GB, free: 54.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03355/2.362, allocations: 4.214 MB / 0.7092 GB, free: 53.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01867/2.381, allocations: 5.814 MB / 0.7149 GB, free: 53.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001176/2.382, allocations: 0.6475 MB / 0.7155 GB, free: 53.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004491/2.386, allocations: 0.8319 MB / 0.7163 GB, free: 53.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04906/2.435, allocations: 15.32 MB / 0.7313 GB, free: 52.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005149/2.436, allocations: 11.72 kB / 0.7313 GB, free: 52.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003886/2.44, allocations: 364.5 kB / 0.7317 GB, free: 52.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009389/2.441, allocations: 0.6113 MB / 0.7323 GB, free: 52.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03947/2.48, allocations: 13.56 MB / 0.7455 GB, free: 51.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1213/2.602, allocations: 44.88 MB / 0.7893 GB, free: 35.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02603/2.628, allocations: 12.24 MB / 0.8013 GB, free: 28.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/2.629, allocations: 271.5 kB / 0.8015 GB, free: 28.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/2.63, allocations: 103.6 kB / 0.8016 GB, free: 28.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.412e-05/2.63, allocations: 4 kB / 0.8016 GB, free: 28.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.4647/3.094, allocations: 33.9 MB / 0.8348 GB, free: 53.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/3.094, allocations: 149.4 kB / 0.8349 GB, free: 53.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/3.1, allocations: 1.968 MB / 0.8368 GB, free: 53.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002039/3.102, allocations: 133.3 kB / 0.837 GB, free: 53.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002317/3.104, allocations: 2.7 MB / 0.8396 GB, free: 52.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005282/3.11, allocations: 2.666 MB / 0.8422 GB, free: 50.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002161/3.112, allocations: 125.1 kB / 0.8423 GB, free: 50.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001054/3.113, allocations: 0.6071 MB / 0.8429 GB, free: 50.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01437/3.127, allocations: 4.994 MB / 0.8478 GB, free: 50.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01556/3.143, allocations: 5.871 MB / 0.8535 GB, free: 49.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01612/3.159, allocations: 5.927 MB / 0.8593 GB, free: 49.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-05/3.159, allocations: 3.219 kB / 0.8593 GB, free: 49.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03883/3.198, allocations: 14.01 MB / 0.873 GB, free: 49.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/3.198, allocations: 17.19 kB / 0.873 GB, free: 49.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-05/3.198, allocations: 14.66 kB / 0.873 GB, free: 49.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01483/3.213, allocations: 4.376 MB / 0.8773 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008823/3.222, allocations: 1.045 MB / 0.8783 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/3.242, allocations: 10.56 MB / 0.8886 GB, free: 46.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007241/3.249, allocations: 0.7012 MB / 0.8893 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00226/3.252, allocations: 254.7 kB / 0.8895 GB, free: 46.67 MB / 426.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.01174/3.263, allocations: 3.351 MB / 0.8928 GB, free: 46.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002496/3.266, allocations: 394.3 kB / 0.8932 GB, free: 46.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04435/3.31, allocations: 14.8 MB / 0.9076 GB, free: 41.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03618/3.346, allocations: 13.21 MB / 0.9206 GB, free: 36.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.614e-05/3.347, allocations: 0 / 0.9206 GB, free: 36.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001579/3.347, allocations: 35.67 kB / 0.9206 GB, free: 36.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07246/3.419, allocations: 26.94 MB / 0.9469 GB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001152/3.419, allocations: 2.188 kB / 0.9469 GB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007996/3.427, allocations: 0.903 MB / 0.9478 GB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01502/3.442, allocations: 4.342 MB / 0.952 GB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002245/3.445, allocations: 172 kB / 0.9522 GB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/3.464, allocations: 10.52 MB / 0.9625 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/3.464, allocations: 2.5 kB / 0.9625 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05451/3.519, allocations: 21.77 MB / 0.9837 GB, free: 7.109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006364/3.525, allocations: 1.673 MB / 0.9854 GB, free: 5.586 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002059/3.527, allocations: 112 kB / 0.9855 GB, free: 5.477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005749/3.533, allocations: 346.8 kB / 0.9858 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00233/3.535, allocations: 0.5746 MB / 0.9863 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009754/3.536, allocations: 222.5 kB / 0.9866 GB, free: 4.688 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003156/3.539, allocations: 1.354 MB / 0.9879 GB, free: 3.551 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.71e-07/3.539, allocations: 4 kB / 0.9879 GB, free: 3.547 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.3465/3.886, allocations: 2.234 MB / 0.9901 GB, free: 69.97 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.002757/3.889, allocations: 335.8 kB / 0.9904 GB, free: 69.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03915/3.928, allocations: 12.27 MB / 1.002 GB, free: 69.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/3.928, allocations: 0 / 1.002 GB, free: 69.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02089/3.949, allocations: 6.525 MB / 1.009 GB, free: 69.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0075/3.956, allocations: 0.6494 MB / 1.009 GB, free: 69.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05922/4.016, allocations: 22.6 MB / 1.031 GB, free: 62.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01367/4.029, allocations: 6.028 MB / 1.037 GB, free: 61.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003183/4.033, allocations: 324.2 kB / 1.038 GB, free: 61.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/4.033, allocations: 0 / 1.038 GB, free: 61.36 MB / 442.7 MB Notification: Performance of Templates: time 1.195/5.228, allocations: 294.5 MB / 1.325 GB, free: 99.19 MB / 474.7 MB