Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.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.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.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 2.109/2.109, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 15.98 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.09956, allocations: 44.5 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.5441, allocations: 83.55 MB / 392.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5445, allocations: 89.62 kB / 392.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1885/0.733, allocations: 53.81 MB / 446.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7331, allocations: 0 / 446.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002981/0.7334, allocations: 71.45 kB / 446.6 MB, free: 7.246 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01335/0.7468, allocations: 2.961 MB / 449.5 MB, free: 4.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.7469, allocations: 8.031 kB / 449.5 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005435/0.7523, allocations: 0.6015 MB / 450.1 MB, free: 3.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00687/0.7592, allocations: 1.823 MB / 452 MB, free: 1.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.7596, allocations: 197.3 kB / 452.2 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.7609, allocations: 263.9 kB / 452.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.7727, allocations: 3.552 MB / 456 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-05/0.7728, allocations: 0 / 456 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006079/0.7734, allocations: 108 kB / 456.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.7736, allocations: 105.4 kB / 456.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009828/0.7834, allocations: 2.914 MB / 459.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/0.8149, allocations: 10.52 MB / 469.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009189/0.8241, allocations: 4.682 MB / 474.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007398/0.8316, allocations: 2.517 MB / 476.8 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.8317, allocations: 59.5 kB / 476.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=108): time 4.378e-06/0.8317, allocations: 0 / 476.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=108): time 0.0118/0.8435, allocations: 2.783 MB / 479.7 MB, free: 4.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.8436, allocations: 86.11 kB / 479.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003109/0.8467, allocations: 1.331 MB / 481.1 MB, free: 3.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.8471, allocations: 45.7 kB / 481.1 MB, free: 3.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.8483, allocations: 1.155 MB / 482.3 MB, free: 2.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/0.8489, allocations: 370.4 kB / 482.6 MB, free: 1.879 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.8491, allocations: 24 kB / 482.7 MB, free: 1.855 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.8493, allocations: 361.9 kB / 483 MB, free: 1.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.8511, allocations: 0.5959 MB / 483.6 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.8532, allocations: 0.8605 MB / 484.5 MB, free: 15.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.8553, allocations: 0.7381 MB / 485.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.8554, allocations: 4 kB / 485.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006168/0.8616, allocations: 2.027 MB / 487.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.8617, allocations: 8 kB / 487.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.8617, allocations: 8 kB / 487.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.8635, allocations: 395.5 kB / 487.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.8653, allocations: 227.6 kB / 487.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.8778, allocations: 6.233 MB / 494.1 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.8797, allocations: 146.8 kB / 494.2 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.88, allocations: 47.98 kB / 494.3 MB, free: 5.844 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (109): * Single equations (assignments): 107 * 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.002526/0.8825, allocations: 0.8642 MB / 495.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005656/0.8831, allocations: 134.4 kB / 495.3 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00582/0.8889, allocations: 1.76 MB / 497 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.889, allocations: 12 kB / 497 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.843e-05/0.889, allocations: 12 kB / 497.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.8891, allocations: 7.969 kB / 497.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.9016, allocations: 4.114 MB / 0.4894 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.9017, allocations: 0 / 0.4894 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.9031, allocations: 147.8 kB / 0.4896 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.9048, allocations: 400.6 kB / 0.49 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.9051, allocations: 43.92 kB / 0.49 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/0.9177, allocations: 6.224 MB / 0.4961 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.9178, allocations: 4.031 kB / 0.4961 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007423/0.9252, allocations: 2.627 MB / 0.4986 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000704/0.9259, allocations: 247.2 kB / 0.4989 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/0.9264, allocations: 27.98 kB / 0.4989 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.9279, allocations: 103.9 kB / 0.499 GB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/0.9283, allocations: 96.67 kB / 0.4991 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.9284, allocations: 31.98 kB / 0.4991 GB, free: 4.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0022/0.9306, allocations: 0.9353 MB / 0.5 GB, free: 3.656 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.9306, allocations: 0 / 0.5 GB, free: 3.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003097/0.9337, allocations: 0.6843 MB / 0.5007 GB, free: 2.969 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.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 (67): * Single equations (assignments): 65 * 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%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005551/0.9343, allocations: 176 kB / 0.5009 GB, free: 2.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005391/0.9397, allocations: 1.86 MB / 0.5027 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.9398, allocations: 4 kB / 0.5027 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003524/0.9433, allocations: 1.176 MB / 0.5038 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.9458, allocations: 288.3 kB / 0.5041 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.9596, allocations: 5.568 MB / 0.5096 GB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003644/0.9633, allocations: 2.235 MB / 0.5117 GB, free: 7.516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00198/0.9654, allocations: 347 kB / 0.5121 GB, free: 7.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.9659, allocations: 87.42 kB / 0.5122 GB, free: 7.086 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.9659, allocations: 0 / 0.5122 GB, free: 7.086 MB / 410.7 MB Notification: Performance of Templates: time 0.3299/1.296, allocations: 19.41 MB / 0.5311 GB, free: 104.4 MB / 410.7 MB