Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.21e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.09964, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.55, allocations: 76.87 MB / 393.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.5503, allocations: 72.33 kB / 394 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01477/0.565, allocations: 3.112 MB / 397.1 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5651, allocations: 0 / 397.1 MB, free: 8.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.5651, allocations: 4 kB / 397.1 MB, free: 8.086 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.0008802/0.566, allocations: 431.9 kB / 397.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.5661, allocations: 12.03 kB / 397.5 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.5661, allocations: 42.36 kB / 397.5 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.5662, allocations: 15.81 kB / 397.6 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.5664, allocations: 198.2 kB / 397.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5665, allocations: 11.89 kB / 397.8 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.5665, allocations: 7.312 kB / 397.8 MB, free: 7.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.5668, allocations: 131.4 kB / 397.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5669, allocations: 0 / 397.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.5669, allocations: 7.234 kB / 397.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.5669, allocations: 4 kB / 397.9 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.5672, allocations: 71.16 kB / 398 MB, free: 7.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.5684, allocations: 0.5137 MB / 398.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.5687, allocations: 72.31 kB / 398.6 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.5689, allocations: 52.66 kB / 398.6 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.5689, allocations: 7.953 kB / 398.6 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5689, allocations: 33.75 kB / 398.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.569, allocations: 0 / 398.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002976/0.5693, allocations: 92.52 kB / 398.8 MB, free: 6.422 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.5693, allocations: 102.8 kB / 398.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.5695, allocations: 144.4 kB / 399 MB, free: 6.168 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.5696, allocations: 33.64 kB / 399 MB, free: 6.129 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.5697, allocations: 112.6 kB / 399.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.5697, allocations: 29.95 kB / 399.2 MB, free: 6.004 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.5697, allocations: 0 / 399.2 MB, free: 6.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5699, allocations: 324.7 kB / 399.5 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.642e-05/0.57, allocations: 33.56 kB / 399.5 MB, free: 5.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.5701, allocations: 74.83 kB / 399.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.5703, allocations: 35.97 kB / 399.6 MB, free: 5.559 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5703, allocations: 0 / 399.6 MB, free: 5.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003227/0.5706, allocations: 124.4 kB / 399.7 MB, free: 5.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.5706, allocations: 7.953 kB / 399.8 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5707, allocations: 0 / 399.8 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.5707, allocations: 4 kB / 399.8 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.5717, allocations: 84.98 kB / 399.8 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.5735, allocations: 1.376 MB / 401.2 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.5739, allocations: 29.77 kB / 401.2 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.5739, allocations: 7.984 kB / 401.3 MB, free: 3.852 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 0.0001053/0.574, allocations: 104.5 kB / 401.4 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.5741, allocations: 15.86 kB / 401.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.5746, allocations: 129.1 kB / 401.5 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.5746, allocations: 3.984 kB / 401.5 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.5746, allocations: 48 / 401.5 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5746, allocations: 3.984 kB / 401.5 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008626/0.5755, allocations: 441.9 kB / 401.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5755, allocations: 4 kB / 401.9 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.5758, allocations: 24.02 kB / 402 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003589/0.5762, allocations: 36.7 kB / 402 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.5762, allocations: 0 / 402 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.5776, allocations: 1.294 MB / 403.3 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5776, allocations: 3.938 kB / 403.3 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.5782, allocations: 273.1 kB / 403.6 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.5783, allocations: 88.98 kB / 403.7 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.5784, allocations: 4 kB / 403.7 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.5787, allocations: 19.88 kB / 403.7 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.5787, allocations: 12.05 kB / 403.7 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.5788, allocations: 4 kB / 403.7 MB, free: 1.324 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.5789, allocations: 119.6 kB / 403.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5789, allocations: 3.938 kB / 403.8 MB, free: 1.215 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004302/0.5793, allocations: 39.78 kB / 403.8 MB, free: 1.18 MB / 314.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.0009516/0.5803, allocations: 0.8725 MB / 404.7 MB, free: 312 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.5813, allocations: 119.2 kB / 404.8 MB, free: 212 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5814, allocations: 4.062 kB / 404.8 MB, free: 208 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.5817, allocations: 145.4 kB / 405 MB, free: 64 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.5819, allocations: 7.875 kB / 405 MB, free: 60 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.5844, allocations: 476 kB / 405.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.5848, allocations: 0.716 MB / 406.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.5849, allocations: 20.47 kB / 406.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.585, allocations: 42.86 kB / 406.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.585, allocations: 0 / 406.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.6136, allocations: 2.815 MB / 409 MB, free: 12.06 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003172/0.614, allocations: 199.4 kB / 409.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.092, allocations: 0 / 409.2 MB, free: 11.82 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat