Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.635e-05, allocations: 8 kB / 255.4 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4089/0.5139, allocations: 72.61 MB / 372.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.5143, allocations: 65.59 kB / 372.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01161/0.5259, allocations: 2.53 MB / 375.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.526, allocations: 0 / 375.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.526, allocations: 2.156 kB / 375.2 MB, free: 11.91 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006837/0.5267, allocations: 415.7 kB / 375.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.5267, allocations: 10.16 kB / 375.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/0.5268, allocations: 42.03 kB / 375.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.5269, allocations: 20.31 kB / 375.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.5271, allocations: 199.2 kB / 375.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.5271, allocations: 8.578 kB / 375.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.5272, allocations: 9.594 kB / 375.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.5275, allocations: 131.2 kB / 376 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.5275, allocations: 3.906 kB / 376 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.5276, allocations: 8.359 kB / 376 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.5276, allocations: 3.5 kB / 376 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.5278, allocations: 56.19 kB / 376.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.5291, allocations: 0.5075 MB / 376.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.5294, allocations: 81.91 kB / 376.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.5296, allocations: 59.08 kB / 376.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.5297, allocations: 1.219 kB / 376.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5297, allocations: 32.56 kB / 376.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.5297, allocations: 0 / 376.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006096/0.5303, allocations: 110.5 kB / 376.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.5304, allocations: 108.8 kB / 377 MB, free: 10.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.5306, allocations: 144.8 kB / 377.1 MB, free: 10.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.5306, allocations: 30.36 kB / 377.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.5307, allocations: 121.9 kB / 377.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.5307, allocations: 24.19 kB / 377.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.5308, allocations: 0 / 377.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.5308, allocations: 329.2 kB / 377.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.5309, allocations: 19.22 kB / 377.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.5311, allocations: 74.66 kB / 377.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.5312, allocations: 32.12 kB / 377.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5312, allocations: 0.8438 kB / 377.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002831/0.5315, allocations: 116.2 kB / 377.8 MB, free: 9.965 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5315, allocations: 5.875 kB / 377.8 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5315, allocations: 1.25 kB / 377.8 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5316, allocations: 7.328 kB / 377.8 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.5334, allocations: 146 kB / 378 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.5349, allocations: 1.391 MB / 379.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.5353, allocations: 24.53 kB / 379.4 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.5353, allocations: 4.719 kB / 379.4 MB, free: 8.578 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/0.5354, allocations: 115.6 kB / 379.5 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.5355, allocations: 9.062 kB / 379.5 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.536, allocations: 144.3 kB / 379.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.536, allocations: 0.9062 kB / 379.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.536, allocations: 3.953 kB / 379.7 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.536, allocations: 1 kB / 379.7 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008774/0.5369, allocations: 441.5 kB / 380.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5369, allocations: 0.9688 kB / 380.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.5372, allocations: 20.41 kB / 380.1 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/0.5376, allocations: 53.73 kB / 380.2 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.5377, allocations: 1.219 kB / 380.2 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.5395, allocations: 1.355 MB / 381.5 MB, free: 22.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5395, allocations: 0 / 381.5 MB, free: 22.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007524/0.5403, allocations: 274.3 kB / 381.8 MB, free: 22.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.5404, allocations: 97.8 kB / 381.9 MB, free: 22.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.5405, allocations: 8.812 kB / 381.9 MB, free: 22.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.5407, allocations: 15.64 kB / 381.9 MB, free: 22.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.5408, allocations: 14.91 kB / 381.9 MB, free: 22.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.5408, allocations: 1.734 kB / 381.9 MB, free: 22.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001406/0.541, allocations: 118.4 kB / 382 MB, free: 22.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.541, allocations: 0 / 382 MB, free: 22.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004364/0.5414, allocations: 39.69 kB / 382.1 MB, free: 22.42 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.5425, allocations: 0.8847 MB / 383 MB, free: 21.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.5438, allocations: 141.4 kB / 383.1 MB, free: 21.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5439, allocations: 0 / 383.1 MB, free: 21.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.5443, allocations: 148.9 kB / 383.3 MB, free: 21.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.5445, allocations: 10.59 kB / 383.3 MB, free: 21.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.5456, allocations: 340.8 kB / 383.6 MB, free: 21.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.5459, allocations: 0.7176 MB / 384.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.5461, allocations: 10.8 kB / 384.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.5461, allocations: 42 kB / 384.4 MB, free: 20.57 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5462, allocations: 0 / 384.4 MB, free: 20.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.5776, allocations: 2.839 MB / 387.2 MB, free: 20.19 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/0.578, allocations: 185.8 kB / 387.4 MB, free: 19.97 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.122, allocations: 0 / 387.4 MB, free: 19.97 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat