Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004936, allocations: 15.94 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09559, allocations: 44.5 MB / 308.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.5354, allocations: 94.6 MB / 403.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.5358, allocations: 96.62 kB / 403.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.509/2.045, allocations: 309.1 MB / 0.6956 GB, free: 56.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.797e-06/2.045, allocations: 0 / 0.6956 GB, free: 56.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007125/2.045, allocations: 197.7 kB / 0.6958 GB, free: 56.74 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.04535/2.091, allocations: 9.056 MB / 0.7047 GB, free: 54.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/2.091, allocations: 11.09 kB / 0.7047 GB, free: 54.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006998/2.098, allocations: 1.52 MB / 0.7062 GB, free: 54.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03439/2.132, allocations: 4.209 MB / 0.7103 GB, free: 53.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/2.15, allocations: 5.812 MB / 0.7159 GB, free: 52.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/2.152, allocations: 0.6468 MB / 0.7166 GB, free: 52.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004388/2.156, allocations: 0.8286 MB / 0.7174 GB, free: 52.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04845/2.204, allocations: 15.26 MB / 0.7323 GB, free: 51.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004915/2.205, allocations: 15.44 kB / 0.7323 GB, free: 51.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003937/2.209, allocations: 370.8 kB / 0.7327 GB, free: 51.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000939/2.21, allocations: 0.6062 MB / 0.7333 GB, free: 51.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0389/2.249, allocations: 13.56 MB / 0.7465 GB, free: 51.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1123/2.361, allocations: 44.92 MB / 0.7904 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02448/2.386, allocations: 12.24 MB / 0.8023 GB, free: 26.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/2.387, allocations: 275.4 kB / 0.8026 GB, free: 26.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.729e-05/2.387, allocations: 103.7 kB / 0.8027 GB, free: 26.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.32e-05/2.387, allocations: 0 / 0.8027 GB, free: 26.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.4449/2.832, allocations: 34.17 MB / 0.8361 GB, free: 52.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/2.832, allocations: 149.3 kB / 0.8362 GB, free: 52.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004519/2.837, allocations: 1.752 MB / 0.8379 GB, free: 52.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001895/2.839, allocations: 134.6 kB / 0.838 GB, free: 52.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002017/2.841, allocations: 2.702 MB / 0.8407 GB, free: 51.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004619/2.845, allocations: 2.671 MB / 0.8433 GB, free: 49.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001994/2.847, allocations: 122.6 kB / 0.8434 GB, free: 49.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009933/2.848, allocations: 0.6069 MB / 0.844 GB, free: 49.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01435/2.863, allocations: 4.998 MB / 0.8489 GB, free: 49.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01565/2.878, allocations: 5.847 MB / 0.8546 GB, free: 48.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/2.894, allocations: 5.924 MB / 0.8604 GB, free: 48.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.861e-05/2.894, allocations: 3.719 kB / 0.8604 GB, free: 48.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03919/2.933, allocations: 14.01 MB / 0.8741 GB, free: 48.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/2.934, allocations: 14.94 kB / 0.8741 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.14e-05/2.934, allocations: 18.34 kB / 0.8741 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0149/2.949, allocations: 4.372 MB / 0.8784 GB, free: 48.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008537/2.957, allocations: 1.047 MB / 0.8794 GB, free: 48.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/2.977, allocations: 10.55 MB / 0.8897 GB, free: 45.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007183/2.984, allocations: 0.7137 MB / 0.8904 GB, free: 45.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002139/2.986, allocations: 250.3 kB / 0.8906 GB, free: 45.55 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.009941/2.996, allocations: 3.355 MB / 0.8939 GB, free: 45.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002102/2.998, allocations: 388.8 kB / 0.8943 GB, free: 45.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04274/3.041, allocations: 14.79 MB / 0.9087 GB, free: 40.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03604/3.077, allocations: 13.23 MB / 0.9216 GB, free: 35.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.683e-05/3.077, allocations: 0 / 0.9216 GB, free: 35.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000169/3.077, allocations: 31.69 kB / 0.9217 GB, free: 35.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06898/3.146, allocations: 26.95 MB / 0.948 GB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/3.146, allocations: 0 / 0.948 GB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007627/3.154, allocations: 0.9068 MB / 0.9489 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01438/3.168, allocations: 4.343 MB / 0.9531 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001954/3.17, allocations: 168.4 kB / 0.9533 GB, free: 18.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/3.189, allocations: 10.51 MB / 0.9635 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/3.19, allocations: 0 / 0.9635 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06558/3.255, allocations: 22.06 MB / 0.9851 GB, free: 6.863 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005952/3.261, allocations: 1.685 MB / 0.9867 GB, free: 5.332 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002525/3.264, allocations: 112 kB / 0.9868 GB, free: 5.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006425/3.27, allocations: 349.5 kB / 0.9872 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002974/3.273, allocations: 0.5653 MB / 0.9877 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001948/3.275, allocations: 216.5 kB / 0.9879 GB, free: 4.438 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003329/3.278, allocations: 1.357 MB / 0.9892 GB, free: 3.297 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.51e-07/3.279, allocations: 0 / 0.9892 GB, free: 3.297 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.3228/3.601, allocations: 2.228 MB / 0.9914 GB, free: 69.66 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.06328/3.665, allocations: 22.65 MB / 1.014 GB, free: 68.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.034/3.699, allocations: 12.29 MB / 1.026 GB, free: 68.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/3.699, allocations: 0 / 1.026 GB, free: 68.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01989/3.719, allocations: 6.521 MB / 1.032 GB, free: 67.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007102/3.726, allocations: 0.6503 MB / 1.033 GB, free: 67.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.135/3.861, allocations: 64.55 MB / 1.096 GB, free: 35.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01108/3.872, allocations: 6.026 MB / 1.101 GB, free: 33.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007928/3.88, allocations: 2.95 MB / 1.104 GB, free: 31.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/3.88, allocations: 0 / 1.104 GB, free: 31.14 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.909/8.789, allocations: 336.3 MB / 1.433 GB, free: 54.76 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat