Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 171.2 MB / 186.1 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 12 kB / 233.4 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.08348, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4472, allocations: 70.85 MB / 343 MB, free: 2.461 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.4475, allocations: 85.64 kB / 343.1 MB, free: 2.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03592/0.4835, allocations: 8.992 MB / 352.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.4835, allocations: 0 / 352.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.4835, allocations: 11.94 kB / 352.1 MB, free: 10.95 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001749/0.4853, allocations: 0.6615 MB / 352.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.4854, allocations: 8.031 kB / 352.7 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.4855, allocations: 72.03 kB / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.4858, allocations: 51.52 kB / 352.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.4864, allocations: 291.7 kB / 353.1 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.4864, allocations: 23.34 kB / 353.2 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.4865, allocations: 31.38 kB / 353.2 MB, free: 9.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008227/0.4873, allocations: 319.3 kB / 353.5 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.4874, allocations: 0 / 353.5 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.4874, allocations: 14.73 kB / 353.5 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.4875, allocations: 8 kB / 353.5 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.4882, allocations: 214.8 kB / 353.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.4911, allocations: 1.335 MB / 355.1 MB, free: 8.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.4915, allocations: 135.8 kB / 355.2 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.4916, allocations: 8.125 kB / 355.2 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.4916, allocations: 42.48 kB / 355.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 5.259e-06/0.4916, allocations: 0 / 355.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007724/0.4924, allocations: 202.7 kB / 355.5 MB, free: 7.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.4925, allocations: 77.11 kB / 355.5 MB, free: 7.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.4929, allocations: 252.4 kB / 355.8 MB, free: 7.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.4929, allocations: 29.7 kB / 355.8 MB, free: 7.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.4931, allocations: 225.1 kB / 356 MB, free: 7.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.4932, allocations: 50.16 kB / 356.1 MB, free: 7.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.4932, allocations: 8.188 kB / 356.1 MB, free: 7.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4934, allocations: 333.8 kB / 356.4 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.4937, allocations: 60.53 kB / 356.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.494, allocations: 165.7 kB / 356.6 MB, free: 6.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.4944, allocations: 85.39 kB / 356.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.4944, allocations: 4 kB / 356.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007639/0.4952, allocations: 274 kB / 357 MB, free: 6.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.4952, allocations: 8 kB / 357 MB, free: 6.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4952, allocations: 4 kB / 357 MB, free: 6.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.4953, allocations: 4 kB / 357 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.4957, allocations: 71.41 kB / 357.1 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.4958, allocations: 11.94 kB / 357.1 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.4961, allocations: 35.17 kB / 357.1 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.4961, allocations: 11.06 kB / 357.1 MB, free: 6.328 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (31): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002343/0.4964, allocations: 144.3 kB / 357.3 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.06e-05/0.4965, allocations: 27.67 kB / 357.3 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/0.4965, allocations: 30.3 kB / 357.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4966, allocations: 4 kB / 357.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.4966, allocations: 4 kB / 357.3 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4966, allocations: 0 / 357.3 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.4976, allocations: 0.5043 MB / 357.8 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.4977, allocations: 0 / 357.8 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.498, allocations: 44 kB / 357.9 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.498, allocations: 0 / 357.9 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.4981, allocations: 11.12 kB / 357.9 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4981, allocations: 0 / 357.9 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4981, allocations: 0 / 357.9 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.4989, allocations: 422 kB / 358.3 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.4991, allocations: 110.5 kB / 358.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.4992, allocations: 19.5 kB / 358.4 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.4995, allocations: 20.05 kB / 358.4 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.4996, allocations: 4 kB / 358.5 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.4996, allocations: 15.48 kB / 358.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002711/0.4999, allocations: 186.8 kB / 358.6 MB, free: 4.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4999, allocations: 0 / 358.6 MB, free: 4.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005757/0.5005, allocations: 85.81 kB / 358.7 MB, free: 4.816 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * 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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001348/0.5018, allocations: 1.101 MB / 359.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006004/0.5025, allocations: 166.1 kB / 360 MB, free: 3.605 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5025, allocations: 0.875 kB / 360 MB, free: 3.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.5027, allocations: 65.91 kB / 360.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.5031, allocations: 29.72 kB / 360.1 MB, free: 3.531 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/0.5081, allocations: 3.956 MB / 364 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.5086, allocations: 0.7716 MB / 364.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.5089, allocations: 26.28 kB / 364.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.5091, allocations: 99.95 kB / 364.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5091, allocations: 4 kB / 364.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.5366, allocations: 4.646 MB / 369.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/0.5369, allocations: 205 kB / 369.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/3.075, allocations: 0 / 369.8 MB, free: 9.988 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat