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.577/1.577, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 8 kB / 233.2 MB, free: 3.02 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06992/0.0703, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3983/0.4686, allocations: 77.32 MB / 349.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004849/0.4692, allocations: 83.64 kB / 349.4 MB, free: 12.65 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2123/0.6815, allocations: 51.72 MB / 401.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.819e-06/0.6816, allocations: 0 / 401.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002211/0.6818, allocations: 67.88 kB / 401.2 MB, free: 14.46 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.01035/0.6922, allocations: 2.887 MB / 404.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.6922, allocations: 8.031 kB / 404.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.6946, allocations: 420.4 kB / 404.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005423/0.7001, allocations: 1.764 MB / 406.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/0.7004, allocations: 189 kB / 406.5 MB, free: 9.074 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009038/0.7014, allocations: 247.9 kB / 406.7 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009317/0.7107, allocations: 3.302 MB / 410 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.49e-05/0.7108, allocations: 0 / 410 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004469/0.7113, allocations: 104 kB / 410.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.7114, allocations: 97.05 kB / 410.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007474/0.7189, allocations: 2.589 MB / 412.8 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.7425, allocations: 9.757 MB / 422.5 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/0.7455, allocations: 1.518 MB / 424.1 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.491e-05/0.7457, allocations: 8.766 kB / 424.1 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.7457, allocations: 47.31 kB / 424.1 MB, free: 6.785 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 4.457e-06/0.7457, allocations: 0 / 424.1 MB, free: 6.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.008459/0.7542, allocations: 2.52 MB / 426.6 MB, free: 4.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.7543, allocations: 93.5 kB / 426.7 MB, free: 4.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/0.757, allocations: 1.2 MB / 427.9 MB, free: 2.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.7572, allocations: 41.7 kB / 428 MB, free: 2.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.7583, allocations: 1.092 MB / 429.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/0.7588, allocations: 307.5 kB / 429.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.7589, allocations: 20 kB / 429.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.7591, allocations: 350.8 kB / 429.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.7604, allocations: 0.5256 MB / 430.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1948/0.9552, allocations: 0.7464 MB / 431 MB, free: 81.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.9569, allocations: 0.6428 MB / 431.6 MB, free: 81.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.9569, allocations: 1.375 kB / 431.6 MB, free: 81.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004277/0.9612, allocations: 1.732 MB / 433.4 MB, free: 81.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.9613, allocations: 7.25 kB / 433.4 MB, free: 81.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.9613, allocations: 6.562 kB / 433.4 MB, free: 81.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.9627, allocations: 397.4 kB / 433.8 MB, free: 81.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.9638, allocations: 184.3 kB / 434 MB, free: 81.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009676/0.9735, allocations: 6.275 MB / 440.2 MB, free: 78.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.9748, allocations: 127.5 kB / 440.4 MB, free: 78.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.9749, allocations: 38.28 kB / 440.4 MB, free: 78.4 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 () * Number of clocked 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.001983/0.9769, allocations: 0.8438 MB / 441.2 MB, free: 78.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/0.9773, allocations: 135.5 kB / 441.4 MB, free: 78.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.9777, allocations: 164.6 kB / 441.5 MB, free: 78.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.9778, allocations: 10.08 kB / 441.5 MB, free: 78.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/0.9778, allocations: 5.719 kB / 441.5 MB, free: 78.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.9778, allocations: 5.875 kB / 441.5 MB, free: 78.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00816/0.986, allocations: 3.771 MB / 445.3 MB, free: 77.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.986, allocations: 3.578 kB / 445.3 MB, free: 77.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/0.9867, allocations: 107.5 kB / 445.4 MB, free: 77.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.988, allocations: 394.6 kB / 445.8 MB, free: 77.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.9882, allocations: 29.92 kB / 445.8 MB, free: 77.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008794/0.997, allocations: 6.22 MB / 452.1 MB, free: 74.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.884e-06/0.997, allocations: 2.906 kB / 452.1 MB, free: 74.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/1.002, allocations: 2.415 MB / 454.5 MB, free: 74.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008431/1.003, allocations: 341.6 kB / 454.8 MB, free: 74.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/1.003, allocations: 28.59 kB / 454.8 MB, free: 74.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009374/1.004, allocations: 98.25 kB / 454.9 MB, free: 74.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/1.004, allocations: 91.52 kB / 455 MB, free: 74.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-05/1.004, allocations: 19.44 kB / 455 MB, free: 74.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001878/1.006, allocations: 0.9417 MB / 456 MB, free: 74.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.117e-06/1.006, allocations: 0 / 456 MB, free: 74.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002873/1.009, allocations: 0.6359 MB / 456.6 MB, free: 74.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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.0003179/1.009, allocations: 160 kB / 456.8 MB, free: 73.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003292/1.013, allocations: 1.65 MB / 458.4 MB, free: 73.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.788e-06/1.013, allocations: 3.531 kB / 458.4 MB, free: 73.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/1.015, allocations: 1.054 MB / 459.5 MB, free: 73.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/1.017, allocations: 279.5 kB / 459.8 MB, free: 73.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008675/1.025, allocations: 5.245 MB / 465 MB, free: 70.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/1.028, allocations: 2.116 MB / 467.1 MB, free: 70.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/1.028, allocations: 81.97 kB / 467.2 MB, free: 70.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.579e-06/1.028, allocations: 0 / 467.2 MB, free: 70.01 MB / 346.7 MB Notification: Performance of Templates: time 0.05817/1.086, allocations: 47.84 MB / 0.503 GB, free: 42.84 MB / 346.7 MB