Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.82e-05/4.837e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.09973, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5345, allocations: 74.93 MB / 374.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5348, allocations: 68.86 kB / 375 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03187/0.5667, allocations: 6.852 MB / 381.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5668, allocations: 0 / 381.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.5668, allocations: 5.75 kB / 381.8 MB, free: 11.58 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001212/0.568, allocations: 0.5225 MB / 382.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.5681, allocations: 10.66 kB / 382.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.318e-05/0.5682, allocations: 63.12 kB / 382.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.363e-05/0.5683, allocations: 36.06 kB / 382.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.5688, allocations: 263.5 kB / 382.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.5688, allocations: 18.47 kB / 382.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.5689, allocations: 30.97 kB / 382.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006138/0.5695, allocations: 240 kB / 383 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5696, allocations: 0 / 383 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.5696, allocations: 11.31 kB / 383 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.5696, allocations: 7.406 kB / 383 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.5702, allocations: 181.6 kB / 383.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.5726, allocations: 1.016 MB / 384.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.5732, allocations: 190.6 kB / 384.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.5735, allocations: 103.7 kB / 384.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.5735, allocations: 7.141 kB / 384.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.5736, allocations: 35.59 kB / 384.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.006e-06/0.5736, allocations: 0 / 384.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.006598/0.5802, allocations: 1.217 MB / 385.8 MB, free: 9.836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.5803, allocations: 59.86 kB / 385.8 MB, free: 9.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.5807, allocations: 205.7 kB / 386 MB, free: 9.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/0.5808, allocations: 35.64 kB / 386.1 MB, free: 9.629 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.5809, allocations: 179 kB / 386.2 MB, free: 9.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.581, allocations: 113.3 kB / 386.3 MB, free: 9.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.5811, allocations: 9.031 kB / 386.3 MB, free: 9.426 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.5812, allocations: 337.6 kB / 386.7 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.5815, allocations: 93.72 kB / 386.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.5818, allocations: 150.4 kB / 386.9 MB, free: 9.055 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.5822, allocations: 115.8 kB / 387 MB, free: 9.051 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5822, allocations: 1.156 kB / 387 MB, free: 9.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002624/0.5848, allocations: 0.5136 MB / 387.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.5849, allocations: 8.531 kB / 387.6 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.585, allocations: 1.312 kB / 387.6 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.5864, allocations: 191.8 kB / 387.7 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.5869, allocations: 53.27 kB / 387.8 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006193/0.5931, allocations: 3.773 MB / 391.6 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.5937, allocations: 7.812 kB / 391.6 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.5938, allocations: 22.45 kB / 391.6 MB, free: 6.188 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003968/0.5942, allocations: 127.7 kB / 391.7 MB, free: 22.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.5943, allocations: 27.3 kB / 391.7 MB, free: 22.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.5944, allocations: 36.09 kB / 391.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.5944, allocations: 3.875 kB / 391.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.5944, allocations: 3.875 kB / 391.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5944, allocations: 2.812 kB / 391.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.5975, allocations: 0.9356 MB / 392.7 MB, free: 21.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.5976, allocations: 0 / 392.7 MB, free: 21.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.598, allocations: 40.92 kB / 392.8 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.5993, allocations: 191.7 kB / 393 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.5994, allocations: 10.17 kB / 393 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006609/0.606, allocations: 3.739 MB / 396.7 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6061, allocations: 8.031 kB / 396.7 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.6088, allocations: 0.7059 MB / 397.4 MB, free: 18.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.6091, allocations: 103 kB / 397.5 MB, free: 18.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.6092, allocations: 11 kB / 397.5 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.6096, allocations: 14.27 kB / 397.5 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.6097, allocations: 36.81 kB / 397.6 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.6098, allocations: 11.05 kB / 397.6 MB, free: 18.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002371/0.61, allocations: 163.4 kB / 397.8 MB, free: 18.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.61, allocations: 0 / 397.8 MB, free: 18.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009206/0.6109, allocations: 102.8 kB / 397.9 MB, free: 18.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00329/0.6143, allocations: 1.33 MB / 399.2 MB, free: 17.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.6155, allocations: 0.5161 MB / 399.7 MB, free: 17.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6156, allocations: 3.938 kB / 399.7 MB, free: 17.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007492/0.6163, allocations: 403.8 kB / 400.1 MB, free: 17.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.6168, allocations: 25.81 kB / 400.1 MB, free: 17.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.6185, allocations: 0.501 MB / 400.6 MB, free: 17.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.619, allocations: 0.7868 MB / 401.4 MB, free: 16.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.6192, allocations: 24.42 kB / 401.4 MB, free: 16.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.6194, allocations: 90.97 kB / 401.5 MB, free: 16.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6194, allocations: 4.219 kB / 401.5 MB, free: 16.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.6544, allocations: 7.965 MB / 409.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.6547, allocations: 186.6 kB / 409.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.488, allocations: 3.938 kB / 409.7 MB, free: 14.93 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat