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 2.011/2.011, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.979e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.4906, allocations: 74.26 MB / 368.5 MB, free: 7.578 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.491, allocations: 71.97 kB / 368.6 MB, free: 7.508 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03102/0.522, allocations: 6.791 MB / 375.3 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5221, allocations: 0 / 375.3 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.5221, allocations: 8 kB / 375.3 MB, free: 0.6719 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.001174/0.5233, allocations: 0.5301 MB / 375.9 MB, free: 100 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5233, allocations: 8.031 kB / 375.9 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.5235, allocations: 31.62 kB / 375.9 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.524, allocations: 267 kB / 376.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.524, allocations: 8 kB / 376.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.5241, allocations: 16 kB / 376.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005608/0.5247, allocations: 177.1 kB / 376.4 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.5252, allocations: 191.8 kB / 376.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.5253, allocations: 0 / 376.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.5253, allocations: 0 / 376.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.5253, allocations: 8 kB / 376.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.5277, allocations: 0.9556 MB / 377.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.5282, allocations: 178.5 kB / 377.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.5285, allocations: 105.3 kB / 377.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.5285, allocations: 11.92 kB / 377.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.5286, allocations: 38.56 kB / 377.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.396e-06/0.5286, allocations: 0 / 377.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.005463/0.5341, allocations: 1.088 MB / 378.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.5342, allocations: 59.41 kB / 379 MB, free: 12.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.5344, allocations: 183.2 kB / 379.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.5345, allocations: 25.7 kB / 379.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.5347, allocations: 184.4 kB / 379.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.5348, allocations: 114.3 kB / 379.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.5348, allocations: 3.938 kB / 379.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.535, allocations: 338.8 kB / 379.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.5352, allocations: 92.7 kB / 379.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.5356, allocations: 150.4 kB / 380.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.5359, allocations: 113.5 kB / 380.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5359, allocations: 0 / 380.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002375/0.5383, allocations: 484.6 kB / 380.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.5383, allocations: 8 kB / 380.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5384, allocations: 0 / 380.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.5397, allocations: 181.6 kB / 380.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.5402, allocations: 59.91 kB / 380.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/0.5468, allocations: 3.616 MB / 384.5 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.5472, allocations: 11.92 kB / 384.5 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.5473, allocations: 15.94 kB / 384.5 MB, free: 6.926 MB / 330.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.000159/0.5475, allocations: 112.8 kB / 384.6 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002304/0.5498, allocations: 438.8 kB / 385.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.5499, allocations: 31.62 kB / 385.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.5501, allocations: 35.39 kB / 385.1 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.5501, allocations: 4 kB / 385.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5501, allocations: 288 / 385.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.5501, allocations: 0 / 385.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.5532, allocations: 0.8563 MB / 386 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5533, allocations: 3.938 kB / 386 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.5537, allocations: 51.95 kB / 386.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.555, allocations: 181.8 kB / 386.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/0.555, allocations: 4 kB / 386.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006531/0.5616, allocations: 3.624 MB / 389.9 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/0.5616, allocations: 4.031 kB / 389.9 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.5644, allocations: 0.6637 MB / 390.5 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.5646, allocations: 100.9 kB / 390.6 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.5647, allocations: 0 / 390.6 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.565, allocations: 16.05 kB / 390.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.5652, allocations: 35.84 kB / 390.7 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.5653, allocations: 4 kB / 390.7 MB, free: 424 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.5655, allocations: 149.6 kB / 390.8 MB, free: 276 kB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5655, allocations: 0 / 390.8 MB, free: 276 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008751/0.5664, allocations: 95.92 kB / 390.9 MB, free: 180 kB / 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.003175/0.5696, allocations: 1.3 MB / 392.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.5708, allocations: 0.4991 MB / 392.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5709, allocations: 3.938 kB / 392.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.5716, allocations: 403.3 kB / 393.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.572, allocations: 8.672 kB / 393.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.5737, allocations: 496.7 kB / 393.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.5742, allocations: 0.784 MB / 394.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.5744, allocations: 18.06 kB / 394.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.5746, allocations: 91.41 kB / 394.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5746, allocations: 0 / 394.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04986/0.6245, allocations: 7.17 MB / 401.7 MB, free: 5.289 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/0.6249, allocations: 151 kB / 401.8 MB, free: 5.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/3.522, allocations: 0 / 401.8 MB, free: 5.09 MB / 346.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