Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.18/2.18, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.654e-05, allocations: 5.406 kB / 292.8 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.6164, allocations: 78.54 MB / 421.7 MB, free: 15.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.6167, allocations: 70.09 kB / 421.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01592/0.6326, allocations: 3.246 MB / 425 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6327, allocations: 0 / 425 MB, free: 12.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.6327, allocations: 4 kB / 425 MB, free: 12.83 MB / 346.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.0008998/0.6336, allocations: 433.9 kB / 425.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.6337, allocations: 8.031 kB / 425.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.6338, allocations: 46.48 kB / 425.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.6338, allocations: 15.81 kB / 425.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.6341, allocations: 186.9 kB / 425.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.6342, allocations: 7.938 kB / 425.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.6342, allocations: 15.59 kB / 425.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.6346, allocations: 137.9 kB / 425.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.6346, allocations: 3.953 kB / 425.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.6346, allocations: 7.875 kB / 425.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6346, allocations: 3.938 kB / 425.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.6349, allocations: 66.98 kB / 425.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.6362, allocations: 0.5079 MB / 426.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.6365, allocations: 73.98 kB / 426.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.6367, allocations: 55.56 kB / 426.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.6367, allocations: 7.75 kB / 426.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.6367, allocations: 38.44 kB / 426.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.6368, allocations: 0 / 426.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003151/0.6371, allocations: 84.77 kB / 426.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.6372, allocations: 110.7 kB / 426.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.6374, allocations: 143.8 kB / 427 MB, free: 10.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.6374, allocations: 25.7 kB / 427 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.6375, allocations: 122.5 kB / 427.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.6376, allocations: 27.05 kB / 427.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.6376, allocations: 4 kB / 427.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6378, allocations: 321.7 kB / 427.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.6379, allocations: 23.25 kB / 427.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.6381, allocations: 67.83 kB / 427.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.6382, allocations: 38.7 kB / 427.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6382, allocations: 0 / 427.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003239/0.6385, allocations: 117.3 kB / 427.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6386, allocations: 4 kB / 427.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.6386, allocations: 4 kB / 427.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6386, allocations: 3.984 kB / 427.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.6397, allocations: 83.98 kB / 427.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.6416, allocations: 1.378 MB / 429.2 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.642, allocations: 23.92 kB / 429.2 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.642, allocations: 8 kB / 429.2 MB, free: 8.613 MB / 346.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 0.0001223/0.6421, allocations: 116.5 kB / 429.3 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.6422, allocations: 7.906 kB / 429.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.6427, allocations: 123.9 kB / 429.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6427, allocations: 3.953 kB / 429.4 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.6427, allocations: 0 / 429.4 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6427, allocations: 0 / 429.4 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009148/0.6437, allocations: 448.9 kB / 429.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6437, allocations: 0 / 429.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.644, allocations: 19.98 kB / 429.9 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003691/0.6443, allocations: 48 kB / 429.9 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.6444, allocations: 7.672 kB / 429.9 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.6459, allocations: 1.282 MB / 431.2 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6459, allocations: 8.047 kB / 431.2 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.6465, allocations: 268 kB / 431.5 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.6466, allocations: 88.94 kB / 431.6 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.6467, allocations: 4 kB / 431.6 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.647, allocations: 22.86 kB / 431.6 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.647, allocations: 4 kB / 431.6 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.6471, allocations: 3.984 kB / 431.6 MB, free: 6.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.6472, allocations: 123.5 kB / 431.7 MB, free: 5.984 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6472, allocations: 0 / 431.7 MB, free: 5.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004516/0.6477, allocations: 47.09 kB / 431.8 MB, free: 5.941 MB / 346.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 (7): * Single equations (assignments): 6 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.6487, allocations: 0.8746 MB / 432.7 MB, free: 5.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.6498, allocations: 115.9 kB / 432.8 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6498, allocations: 0 / 432.8 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.6502, allocations: 142.5 kB / 432.9 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.6504, allocations: 11.39 kB / 432.9 MB, free: 4.828 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.653, allocations: 482.3 kB / 433.4 MB, free: 4.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.6534, allocations: 0.716 MB / 434.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.6535, allocations: 12.48 kB / 434.1 MB, free: 3.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.586e-05/0.6536, allocations: 46.98 kB / 434.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6536, allocations: 0 / 434.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.6775, allocations: 2.827 MB / 437 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/0.678, allocations: 187.3 kB / 437.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.24, allocations: 0 / 437.2 MB, free: 0.6055 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat