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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.298/2.298, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.00038, allocations: 11.98 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3241, allocations: 44.5 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.5017, allocations: 94.61 MB / 403.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003898/0.5022, allocations: 87.95 kB / 403.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664/2.166, allocations: 309.1 MB / 0.6957 GB, free: 19.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.437e-06/2.166, allocations: 0 / 0.6957 GB, free: 19.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005336/2.167, allocations: 191.8 kB / 0.6958 GB, free: 19.55 MB / 410.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.04524/2.212, allocations: 9.058 MB / 0.7047 GB, free: 10.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/2.212, allocations: 8.031 kB / 0.7047 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008104/2.22, allocations: 1.519 MB / 0.7062 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03577/2.256, allocations: 4.223 MB / 0.7103 GB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6533/2.909, allocations: 5.804 MB / 0.716 GB, free: 39.99 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001298/2.911, allocations: 0.6475 MB / 0.7166 GB, free: 39.97 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004127/2.915, allocations: 0.8267 MB / 0.7174 GB, free: 39.97 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04888/2.964, allocations: 15.26 MB / 0.7323 GB, free: 38.96 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004301/2.964, allocations: 15.92 kB / 0.7323 GB, free: 38.96 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003456/2.968, allocations: 366.1 kB / 0.7327 GB, free: 38.96 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009515/2.969, allocations: 0.6083 MB / 0.7333 GB, free: 38.93 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03977/3.009, allocations: 13.57 MB / 0.7465 GB, free: 38.84 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1167/3.125, allocations: 44.92 MB / 0.7904 GB, free: 26.99 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02522/3.151, allocations: 12.25 MB / 0.8024 GB, free: 20.45 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/3.152, allocations: 275 kB / 0.8026 GB, free: 20.3 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.934e-05/3.152, allocations: 104.5 kB / 0.8027 GB, free: 20.21 MB / 410.8 MB Notification: Performance of pre-optimization done (n=817): time 1.381e-05/3.152, allocations: 0 / 0.8027 GB, free: 20.21 MB / 410.8 MB Notification: Performance of matching and sorting (n=817): time 0.1492/3.301, allocations: 33.82 MB / 0.8357 GB, free: 1.828 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.105e-05/3.301, allocations: 142.3 kB / 0.8359 GB, free: 1.668 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/3.305, allocations: 1.756 MB / 0.8376 GB, free: 180 kB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001844/3.307, allocations: 133.7 kB / 0.8377 GB, free: 40 kB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002651/3.31, allocations: 2.78 MB / 0.8404 GB, free: 13.78 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00523/3.315, allocations: 2.66 MB / 0.843 GB, free: 11.37 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001778/3.317, allocations: 120 kB / 0.8432 GB, free: 11.25 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0009556/3.318, allocations: 0.6101 MB / 0.8438 GB, free: 10.73 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01458/3.333, allocations: 4.992 MB / 0.8486 GB, free: 6.5 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01642/3.349, allocations: 5.845 MB / 0.8543 GB, free: 1.301 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02775/3.377, allocations: 6.198 MB / 0.8604 GB, free: 12.8 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.991e-05/3.377, allocations: 4 kB / 0.8604 GB, free: 12.8 MB / 442.8 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.0442/3.421, allocations: 14.12 MB / 0.8742 GB, free: 0.4922 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/3.421, allocations: 12 kB / 0.8742 GB, free: 492 kB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.731e-05/3.421, allocations: 16 kB / 0.8742 GB, free: 476 kB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.355/3.776, allocations: 4.506 MB / 0.8786 GB, free: 70.23 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01144/3.788, allocations: 1.048 MB / 0.8796 GB, free: 70.23 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02928/3.817, allocations: 10.54 MB / 0.8899 GB, free: 68.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009416/3.827, allocations: 0.712 MB / 0.8906 GB, free: 68.1 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002811/3.829, allocations: 249.3 kB / 0.8909 GB, free: 68.1 MB / 442.8 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.01312/3.843, allocations: 3.359 MB / 0.8941 GB, free: 67.98 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003218/3.846, allocations: 396.5 kB / 0.8945 GB, free: 67.83 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04409/3.89, allocations: 14.78 MB / 0.909 GB, free: 67.48 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03483/3.925, allocations: 13.22 MB / 0.9219 GB, free: 67.21 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.222e-05/3.925, allocations: 0 / 0.9219 GB, free: 67.21 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000163/3.925, allocations: 34.73 kB / 0.9219 GB, free: 67.21 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07459/4, allocations: 26.94 MB / 0.9482 GB, free: 60.6 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001186/4, allocations: 0 / 0.9482 GB, free: 60.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007815/4.008, allocations: 0.9098 MB / 0.9491 GB, free: 60.57 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01516/4.023, allocations: 4.338 MB / 0.9533 GB, free: 59.33 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00211/4.025, allocations: 176 kB / 0.9535 GB, free: 59.23 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01927/4.044, allocations: 10.51 MB / 0.9638 GB, free: 53.63 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/4.044, allocations: 6.5 kB / 0.9638 GB, free: 53.63 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05589/4.1, allocations: 21.77 MB / 0.985 GB, free: 40.14 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006075/4.106, allocations: 1.681 MB / 0.9867 GB, free: 38.73 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002579/4.109, allocations: 115 kB / 0.9868 GB, free: 38.62 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006421/4.116, allocations: 346 kB / 0.9871 GB, free: 38.38 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002946/4.119, allocations: 0.5688 MB / 0.9877 GB, free: 38.02 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001723/4.12, allocations: 210.6 kB / 0.9879 GB, free: 37.83 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002941/4.123, allocations: 1.362 MB / 0.9892 GB, free: 36.69 MB / 442.8 MB Notification: Performance of sort global known variables: time 6.31e-07/4.123, allocations: 0 / 0.9892 GB, free: 36.69 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01052/4.134, allocations: 2.237 MB / 0.9914 GB, free: 34.57 MB / 442.8 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.05777/4.192, allocations: 22.64 MB / 1.014 GB, free: 14.78 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.03525/4.227, allocations: 12.3 MB / 1.026 GB, free: 4.238 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/4.227, allocations: 0 / 1.026 GB, free: 4.238 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02622/4.253, allocations: 6.85 MB / 1.032 GB, free: 15.56 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007358/4.261, allocations: 0.6497 MB / 1.033 GB, free: 15.05 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4742/4.735, allocations: 64.96 MB / 1.096 GB, free: 69.3 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01548/4.75, allocations: 6.201 MB / 1.102 GB, free: 68.4 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01002/4.761, allocations: 1.542 MB / 1.104 GB, free: 68.27 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008435/4.769, allocations: 2.909 MB / 1.107 GB, free: 68.26 MB / 458.8 MB Notification: Performance of SimCode: time 1.603e-06/4.769, allocations: 0 / 1.107 GB, free: 68.26 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6881/5.457, allocations: 169.3 MB / 1.272 GB, free: 80.8 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/5.458, allocations: 250.5 kB / 1.272 GB, free: 80.49 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/12.47, allocations: 0 / 1.272 GB, free: 80.49 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat