Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1108, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5091/0.62, allocations: 94.61 MB / 403.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.6204, allocations: 93.47 kB / 403.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.518/2.138, allocations: 309.1 MB / 0.6961 GB, free: 57.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/2.138, allocations: 0 / 0.6961 GB, free: 57.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006872/2.139, allocations: 191.2 kB / 0.6963 GB, free: 57.07 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.0461/2.185, allocations: 9.056 MB / 0.7052 GB, free: 54.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/2.185, allocations: 7.875 kB / 0.7052 GB, free: 54.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05918/2.244, allocations: 4.216 MB / 0.7093 GB, free: 54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/2.264, allocations: 5.812 MB / 0.715 GB, free: 53.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00119/2.265, allocations: 0.6466 MB / 0.7156 GB, free: 53.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004467/2.269, allocations: 0.8305 MB / 0.7164 GB, free: 53.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04919/2.319, allocations: 15.26 MB / 0.7313 GB, free: 52.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004346/2.319, allocations: 11.19 kB / 0.7313 GB, free: 52.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00354/2.323, allocations: 367.8 kB / 0.7317 GB, free: 52.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009492/2.324, allocations: 0.6076 MB / 0.7323 GB, free: 52.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03913/2.363, allocations: 13.56 MB / 0.7455 GB, free: 52.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.116/2.479, allocations: 44.89 MB / 0.7894 GB, free: 35.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02507/2.504, allocations: 12.24 MB / 0.8013 GB, free: 28.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/2.505, allocations: 272.9 kB / 0.8016 GB, free: 28.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.732e-05/2.505, allocations: 107.7 kB / 0.8017 GB, free: 27.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.457e-05/2.505, allocations: 3.938 kB / 0.8017 GB, free: 27.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.4956/3.001, allocations: 33.99 MB / 0.8349 GB, free: 53.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/3.001, allocations: 146.5 kB / 0.835 GB, free: 53.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005269/3.006, allocations: 1.961 MB / 0.8369 GB, free: 53.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001819/3.008, allocations: 132.9 kB / 0.837 GB, free: 53.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/3.011, allocations: 2.769 MB / 0.8397 GB, free: 52.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004976/3.016, allocations: 2.665 MB / 0.8423 GB, free: 50.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002117/3.018, allocations: 121.4 kB / 0.8425 GB, free: 50.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001089/3.019, allocations: 0.6026 MB / 0.8431 GB, free: 50.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01443/3.033, allocations: 4.997 MB / 0.8479 GB, free: 50.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01594/3.049, allocations: 5.853 MB / 0.8536 GB, free: 49.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01574/3.065, allocations: 5.918 MB / 0.8594 GB, free: 49.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.726e-05/3.065, allocations: 3.938 kB / 0.8594 GB, free: 49.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03959/3.105, allocations: 14.13 MB / 0.8732 GB, free: 49.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/3.105, allocations: 10.34 kB / 0.8732 GB, free: 49.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.22e-05/3.105, allocations: 17.19 kB / 0.8733 GB, free: 49.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01458/3.12, allocations: 4.377 MB / 0.8775 GB, free: 49.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008737/3.128, allocations: 1.044 MB / 0.8785 GB, free: 49.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/3.149, allocations: 10.55 MB / 0.8889 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007229/3.157, allocations: 0.7024 MB / 0.8895 GB, free: 46.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002173/3.159, allocations: 251.9 kB / 0.8898 GB, free: 46.73 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.009069/3.168, allocations: 3.354 MB / 0.8931 GB, free: 46.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/3.169, allocations: 395 kB / 0.8934 GB, free: 46.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04035/3.21, allocations: 14.8 MB / 0.9079 GB, free: 41.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03373/3.244, allocations: 13.21 MB / 0.9208 GB, free: 36.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.304e-05/3.244, allocations: 0 / 0.9208 GB, free: 36.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001443/3.244, allocations: 36 kB / 0.9208 GB, free: 36.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0722/3.316, allocations: 26.94 MB / 0.9471 GB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001013/3.316, allocations: 3.516 kB / 0.9471 GB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007728/3.324, allocations: 0.896 MB / 0.948 GB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01417/3.338, allocations: 4.35 MB / 0.9523 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001902/3.34, allocations: 170.9 kB / 0.9524 GB, free: 19.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/3.359, allocations: 10.52 MB / 0.9627 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/3.359, allocations: 0 / 0.9627 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0563/3.415, allocations: 21.77 MB / 0.984 GB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006937/3.422, allocations: 1.673 MB / 0.9856 GB, free: 5.496 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002761/3.425, allocations: 112 kB / 0.9857 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008666/3.434, allocations: 346.7 kB / 0.986 GB, free: 5.152 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004478/3.438, allocations: 0.5705 MB / 0.9866 GB, free: 4.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002931/3.441, allocations: 218.5 kB / 0.9868 GB, free: 4.594 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005368/3.447, allocations: 1.354 MB / 0.9881 GB, free: 3.461 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.673e-06/3.447, allocations: 4 kB / 0.9881 GB, free: 3.457 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.4532/3.9, allocations: 2.231 MB / 0.9903 GB, free: 70 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.003053/3.903, allocations: 334.6 kB / 0.9906 GB, free: 69.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.05272/3.956, allocations: 12.28 MB / 1.003 GB, free: 69.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/3.956, allocations: 0 / 1.003 GB, free: 69.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0203/3.976, allocations: 6.53 MB / 1.009 GB, free: 69.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007064/3.983, allocations: 0.6491 MB / 1.01 GB, free: 69.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0525/4.036, allocations: 22.84 MB / 1.032 GB, free: 62.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01291/4.049, allocations: 6.208 MB / 1.038 GB, free: 61.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008873/4.058, allocations: 1.544 MB / 1.039 GB, free: 61.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00261/4.06, allocations: 285.9 kB / 1.04 GB, free: 61.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.323e-06/4.06, allocations: 0 / 1.04 GB, free: 61.19 MB / 442.7 MB Notification: Performance of Templates: time 0.5826/4.643, allocations: 111.8 MB / 1.149 GB, free: 68.56 MB / 442.7 MB