Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.167/2.167, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.061e-05, allocations: 1.375 kB / 249.8 MB, free: 5.215 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4862/0.5867, allocations: 74.26 MB / 368.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.5871, allocations: 70.45 kB / 368.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03398/0.6211, allocations: 6.795 MB / 375.4 MB, free: 22.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6211, allocations: 0 / 375.4 MB, free: 22.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.6212, allocations: 7.75 kB / 375.4 MB, free: 22.38 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.001169/0.6224, allocations: 0.5245 MB / 375.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.6224, allocations: 7.688 kB / 375.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.456e-05/0.6225, allocations: 31 kB / 376 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.623, allocations: 269.5 kB / 376.2 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.623, allocations: 11.19 kB / 376.2 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.6231, allocations: 15.28 kB / 376.3 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005268/0.6237, allocations: 173.7 kB / 376.4 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.6242, allocations: 189.5 kB / 376.6 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.6243, allocations: 3.906 kB / 376.6 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.6243, allocations: 0 / 376.6 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.6243, allocations: 3.844 kB / 376.6 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.6266, allocations: 0.9695 MB / 377.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.6271, allocations: 179.6 kB / 377.8 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.6274, allocations: 96.42 kB / 377.9 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.6274, allocations: 7.859 kB / 377.9 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.6275, allocations: 44.36 kB / 377.9 MB, free: 21.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.675e-06/0.6275, allocations: 0 / 377.9 MB, free: 21.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.005935/0.6334, allocations: 1.086 MB / 379 MB, free: 20.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.6335, allocations: 55.28 kB / 379.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.6338, allocations: 185.4 kB / 379.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.6338, allocations: 25.7 kB / 379.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.6339, allocations: 188.3 kB / 379.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.638e-05/0.634, allocations: 113.2 kB / 379.6 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.6341, allocations: 0 / 379.6 MB, free: 20.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6342, allocations: 336.4 kB / 379.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.6345, allocations: 95.23 kB / 380 MB, free: 19.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.6348, allocations: 149.4 kB / 380.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.6351, allocations: 108.3 kB / 380.2 MB, free: 19.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6351, allocations: 0 / 380.2 MB, free: 19.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002521/0.6377, allocations: 489.2 kB / 380.7 MB, free: 19.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6377, allocations: 7.75 kB / 380.7 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6377, allocations: 0 / 380.7 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.6392, allocations: 188.1 kB / 380.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.6397, allocations: 58.41 kB / 381 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006954/0.6467, allocations: 3.622 MB / 384.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.6473, allocations: 7.828 kB / 384.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.6474, allocations: 15.38 kB / 384.6 MB, free: 16.86 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.0001833/0.6476, allocations: 112.8 kB / 384.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002432/0.65, allocations: 439.8 kB / 385.1 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/0.6502, allocations: 27.25 kB / 385.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.6503, allocations: 40.98 kB / 385.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.6503, allocations: 3.938 kB / 385.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6503, allocations: 0 / 385.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6504, allocations: 0 / 385.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.6537, allocations: 0.8554 MB / 386.1 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.6537, allocations: 0 / 386.1 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.6541, allocations: 41.48 kB / 386.1 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.6555, allocations: 184.8 kB / 386.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.6556, allocations: 7.875 kB / 386.3 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006815/0.6624, allocations: 3.624 MB / 389.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6625, allocations: 7.719 kB / 389.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.6654, allocations: 0.6749 MB / 390.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.6656, allocations: 96.58 kB / 390.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.6656, allocations: 0 / 390.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.6661, allocations: 11.7 kB / 390.7 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.6662, allocations: 38.89 kB / 390.7 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.6663, allocations: 11.78 kB / 390.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002042/0.6665, allocations: 151.2 kB / 390.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6665, allocations: 0 / 390.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009923/0.6675, allocations: 88.88 kB / 391 MB, free: 12.72 MB / 314.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.00333/0.6709, allocations: 1.294 MB / 392.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.6721, allocations: 0.5036 MB / 392.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6721, allocations: 0 / 392.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.6729, allocations: 396.2 kB / 393.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.6733, allocations: 16.17 kB / 393.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.6751, allocations: 496.9 kB / 393.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.6755, allocations: 0.7863 MB / 394.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.6757, allocations: 21.94 kB / 394.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.6759, allocations: 90.53 kB / 394.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6759, allocations: 0 / 394.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05246/0.7284, allocations: 7.17 MB / 401.7 MB, free: 6.785 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002592/0.7287, allocations: 160 kB / 401.9 MB, free: 6.586 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.272/4, allocations: 4 kB / 401.9 MB, free: 6.582 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat