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/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.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.68/1.68, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.244e-05/1.263e-05, allocations: 0 / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06971/0.06975, allocations: 38.77 MB / 261.3 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/0.3617, allocations: 76.59 MB / 337.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.3621, allocations: 87.78 kB / 338 MB, free: 11.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1852/0.5472, allocations: 51.18 MB / 389.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.607e-06/0.5473, allocations: 0 / 389.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002166/0.5475, allocations: 68.12 kB / 389.2 MB, free: 11.43 MB / 330.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.009309/0.5568, allocations: 2.67 MB / 391.9 MB, free: 8.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5569, allocations: 12.03 kB / 391.9 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.5594, allocations: 416.4 kB / 392.3 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005133/0.5646, allocations: 1.752 MB / 394 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.5647, allocations: 80 kB / 394.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006523/0.5654, allocations: 151.8 kB / 394.3 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006528/0.572, allocations: 2.318 MB / 396.6 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008326/0.5803, allocations: 2.863 MB / 399.4 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-05/0.5804, allocations: 0 / 399.4 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002816/0.5807, allocations: 0 / 399.4 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.5809, allocations: 105 kB / 399.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02141/0.6023, allocations: 9.286 MB / 408.8 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.6047, allocations: 1.419 MB / 410.3 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.606, allocations: 0.6479 MB / 410.9 MB, free: 5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.6061, allocations: 8.766 kB / 410.9 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.6061, allocations: 43.33 kB / 411 MB, free: 4.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 4.507e-06/0.6062, allocations: 0 / 411 MB, free: 4.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.003141/0.6093, allocations: 1.252 MB / 412.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.6094, allocations: 89.48 kB / 412.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.6117, allocations: 1.105 MB / 413.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.6119, allocations: 33.58 kB / 413.4 MB, free: 2.414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009744/0.6129, allocations: 1.08 MB / 414.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000399/0.6133, allocations: 299.5 kB / 414.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.6134, allocations: 4 kB / 414.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.6136, allocations: 350.8 kB / 415.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009462/0.6146, allocations: 462.4 kB / 415.6 MB, free: 220 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1874/0.802, allocations: 0.6612 MB / 416.3 MB, free: 84.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.8034, allocations: 0.5701 MB / 416.8 MB, free: 84.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.8034, allocations: 2.531 kB / 416.8 MB, free: 84.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003488/0.8069, allocations: 1.514 MB / 418.3 MB, free: 83.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.807, allocations: 13.58 kB / 418.4 MB, free: 83.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.807, allocations: 6.891 kB / 418.4 MB, free: 83.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.8084, allocations: 393 kB / 418.8 MB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.8094, allocations: 184.6 kB / 418.9 MB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00889/0.8183, allocations: 5.942 MB / 424.9 MB, free: 81.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.8196, allocations: 96.72 kB / 425 MB, free: 81.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/0.8199, allocations: 35.69 kB / 425 MB, free: 81.41 MB / 346.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.0002685/0.8202, allocations: 126.3 kB / 425.1 MB, free: 81.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/0.8206, allocations: 125.8 kB / 425.3 MB, free: 81.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.821, allocations: 146.4 kB / 425.4 MB, free: 81.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.821, allocations: 9.359 kB / 425.4 MB, free: 81.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-05/0.8211, allocations: 10.48 kB / 425.4 MB, free: 81.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.8211, allocations: 8.188 kB / 425.4 MB, free: 81.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007636/0.8288, allocations: 3.256 MB / 428.7 MB, free: 80.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.8288, allocations: 2.688 kB / 428.7 MB, free: 80.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/0.8294, allocations: 110.4 kB / 428.8 MB, free: 80.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.8308, allocations: 386.4 kB / 429.2 MB, free: 80.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.831, allocations: 22.02 kB / 429.2 MB, free: 80.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008383/0.8393, allocations: 5.854 MB / 435 MB, free: 78.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.293e-06/0.8394, allocations: 7.031 kB / 435 MB, free: 78.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/0.8433, allocations: 2.249 MB / 437.3 MB, free: 77.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007667/0.8441, allocations: 336.7 kB / 437.6 MB, free: 77.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.8443, allocations: 17.38 kB / 437.6 MB, free: 77.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009595/0.8453, allocations: 82.53 kB / 437.7 MB, free: 77.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.8456, allocations: 84.73 kB / 437.8 MB, free: 77.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.378e-05/0.8457, allocations: 35.66 kB / 437.8 MB, free: 77.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001452/0.8471, allocations: 0.8451 MB / 438.7 MB, free: 77.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.7e-07/0.8471, allocations: 0 / 438.7 MB, free: 77.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002378/0.8495, allocations: 0.5865 MB / 439.3 MB, free: 77.04 MB / 346.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.0003078/0.8499, allocations: 140 kB / 439.4 MB, free: 76.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.8525, allocations: 1.444 MB / 440.9 MB, free: 76.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.8526, allocations: 0 / 440.9 MB, free: 76.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.8544, allocations: 0.9774 MB / 441.8 MB, free: 76.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.856, allocations: 247.3 kB / 442.1 MB, free: 76.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/0.8632, allocations: 3.446 MB / 445.5 MB, free: 75.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.8653, allocations: 2.115 MB / 447.6 MB, free: 74.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/0.8657, allocations: 74.81 kB / 447.7 MB, free: 74.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.865e-06/0.8657, allocations: 0 / 447.7 MB, free: 74.73 MB / 346.7 MB Notification: Performance of Templates: time 0.05667/0.9224, allocations: 47.18 MB / 494.9 MB, free: 51.84 MB / 346.7 MB