Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.664/1.664, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.446e-05, allocations: 0 / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2095, allocations: 38.77 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.3277, allocations: 77.24 MB / 344.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.328, allocations: 79.95 kB / 344.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4572/0.7852, allocations: 51.78 MB / 396.7 MB, free: 49.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.837e-06/0.7853, allocations: 0 / 396.7 MB, free: 49.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002463/0.7855, allocations: 63.94 kB / 396.8 MB, free: 49.23 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01359/0.7992, allocations: 2.674 MB / 399.4 MB, free: 46.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.976e-05/0.7993, allocations: 12.03 kB / 399.4 MB, free: 46.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.8041, allocations: 412.4 kB / 399.8 MB, free: 46.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/0.809, allocations: 1.76 MB / 401.6 MB, free: 44.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.8092, allocations: 189 kB / 401.8 MB, free: 44.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006205/0.8098, allocations: 247.9 kB / 402 MB, free: 43.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007515/0.8173, allocations: 3.221 MB / 405.2 MB, free: 40.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/0.8174, allocations: 0 / 405.2 MB, free: 40.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/0.8178, allocations: 108 kB / 405.4 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.702e-05/0.8179, allocations: 101 kB / 405.5 MB, free: 40.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005266/0.8232, allocations: 2.456 MB / 407.9 MB, free: 37.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/0.841, allocations: 9.761 MB / 417.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.8429, allocations: 1.449 MB / 419.1 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.8441, allocations: 0.6789 MB / 419.8 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-05/0.8442, allocations: 16.69 kB / 419.8 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.8442, allocations: 43.33 kB / 419.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=88): time 4.067e-06/0.8442, allocations: 0 / 419.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.002732/0.8469, allocations: 1.334 MB / 421.2 MB, free: 24.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.847, allocations: 93.48 kB / 421.3 MB, free: 23.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.849, allocations: 1.19 MB / 422.5 MB, free: 22.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.8492, allocations: 45.64 kB / 422.5 MB, free: 22.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/0.8497, allocations: 1.088 MB / 423.6 MB, free: 21.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.85, allocations: 311.5 kB / 423.9 MB, free: 21.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.8501, allocations: 20 kB / 423.9 MB, free: 21.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.8502, allocations: 350.8 kB / 424.3 MB, free: 20.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/0.851, allocations: 478.4 kB / 424.7 MB, free: 20.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000939/0.852, allocations: 0.7023 MB / 425.4 MB, free: 19.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009943/0.853, allocations: 0.5925 MB / 426 MB, free: 19.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.668e-06/0.853, allocations: 8 kB / 426 MB, free: 19 MB / 298.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003034/0.856, allocations: 1.632 MB / 427.7 MB, free: 17.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.8561, allocations: 8 kB / 427.7 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.8561, allocations: 8 kB / 427.7 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.8574, allocations: 395.7 kB / 428.1 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/0.8582, allocations: 195.7 kB / 428.3 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007965/0.8662, allocations: 6.134 MB / 434.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.8675, allocations: 126.9 kB / 434.5 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.8676, allocations: 36 kB / 434.6 MB, free: 10.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002385/0.8678, allocations: 164.6 kB / 434.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.8682, allocations: 130.4 kB / 434.8 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.8686, allocations: 163.4 kB / 435 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.8686, allocations: 12 kB / 435 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.8686, allocations: 4 kB / 435 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.8686, allocations: 3.984 kB / 435 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007123/0.8758, allocations: 3.694 MB / 438.7 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.8758, allocations: 8.031 kB / 438.7 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.8771, allocations: 107.8 kB / 438.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.8798, allocations: 402 kB / 439.2 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.88, allocations: 39.97 kB / 439.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/0.8961, allocations: 6.033 MB / 445.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.685e-05/0.8962, allocations: 7.938 kB / 445.3 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00876/0.905, allocations: 2.33 MB / 447.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/0.9067, allocations: 343.2 kB / 448 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004909/0.9072, allocations: 35.92 kB / 448 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/0.9093, allocations: 95.86 kB / 448.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/0.9098, allocations: 87.83 kB / 448.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.9101, allocations: 35.98 kB / 448.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003479/0.9136, allocations: 0.9291 MB / 449.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.134e-06/0.9136, allocations: 0 / 449.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004448/0.9181, allocations: 0.6298 MB / 449.8 MB, free: 10.44 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005621/0.9186, allocations: 163.1 kB / 449.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006414/0.9251, allocations: 1.523 MB / 451.5 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.9251, allocations: 0 / 451.5 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004221/0.9294, allocations: 1.038 MB / 452.5 MB, free: 7.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/0.9328, allocations: 290.5 kB / 452.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.9478, allocations: 3.504 MB / 456.3 MB, free: 3.789 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005011/0.9528, allocations: 2.118 MB / 458.4 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/0.9536, allocations: 75.42 kB / 458.5 MB, free: 1.566 MB / 314.7 MB Notification: Performance of SimCode: time 3.137e-06/0.9536, allocations: 0 / 458.5 MB, free: 1.566 MB / 314.7 MB Notification: Performance of Templates: time 0.2684/1.222, allocations: 47.75 MB / 0.4944 GB, free: 93.05 MB / 346.7 MB