Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.635/1.635, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.206e-05, allocations: 4 kB / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.283, allocations: 38.76 MB / 263.9 MB, free: 9.789 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4219, allocations: 67.52 MB / 331.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4222, allocations: 71.97 kB / 331.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.4335, allocations: 2.561 MB / 334 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4335, allocations: 4 kB / 334 MB, free: 3.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.4336, allocations: 0 / 334 MB, free: 3.523 MB / 282.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.0006948/0.4343, allocations: 422.1 kB / 334.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4343, allocations: 8.031 kB / 334.4 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.109e-05/0.4344, allocations: 42.55 kB / 334.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.4345, allocations: 19.81 kB / 334.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.4347, allocations: 195 kB / 334.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4347, allocations: 8 kB / 334.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.4348, allocations: 15.95 kB / 334.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.4351, allocations: 124.2 kB / 334.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.4351, allocations: 3.984 kB / 334.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.4352, allocations: 8 kB / 334.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4352, allocations: 0 / 334.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.4354, allocations: 60 kB / 334.9 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.4366, allocations: 0.5147 MB / 335.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.437, allocations: 78.62 kB / 335.5 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.4372, allocations: 44.86 kB / 335.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4372, allocations: 4.141 kB / 335.5 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.4372, allocations: 38.52 kB / 335.6 MB, free: 1.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.4373, allocations: 4 kB / 335.6 MB, free: 1.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005595/0.4378, allocations: 118.3 kB / 335.7 MB, free: 1.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.4379, allocations: 102.8 kB / 335.8 MB, free: 1.516 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.4381, allocations: 137.4 kB / 335.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.4381, allocations: 29.7 kB / 336 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.4382, allocations: 116.2 kB / 336.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.4383, allocations: 27.55 kB / 336.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.4383, allocations: 8 kB / 336.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4385, allocations: 323.4 kB / 336.4 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/0.4386, allocations: 24.44 kB / 336.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.4387, allocations: 69.02 kB / 336.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4388, allocations: 32.02 kB / 336.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4388, allocations: 3.938 kB / 336.5 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005704/0.4394, allocations: 154.2 kB / 336.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4394, allocations: 4 kB / 336.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4395, allocations: 80 / 336.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.4399, allocations: 48.88 kB / 336.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.4416, allocations: 139.8 kB / 336.9 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/0.445, allocations: 2.802 MB / 339.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.4453, allocations: 16.02 kB / 339.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.4453, allocations: 8 kB / 339.7 MB, free: 13.27 MB / 298.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.4454, allocations: 104.9 kB / 339.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.4455, allocations: 15.81 kB / 339.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/0.446, allocations: 143.1 kB / 340 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.446, allocations: 4 kB / 340 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.4461, allocations: 0 / 340 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4461, allocations: 3.953 kB / 340 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000904/0.447, allocations: 432.1 kB / 340.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.447, allocations: 3.953 kB / 340.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.4472, allocations: 23.98 kB / 340.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.4476, allocations: 48.81 kB / 340.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.4477, allocations: 4.031 kB / 340.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.4494, allocations: 1.382 MB / 341.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4494, allocations: 0 / 341.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.4501, allocations: 262.8 kB / 342.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.4502, allocations: 97.16 kB / 342.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.4502, allocations: 8 kB / 342.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.4505, allocations: 11.98 kB / 342.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.4506, allocations: 11.92 kB / 342.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.4506, allocations: 7.953 kB / 342.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.4507, allocations: 128.1 kB / 342.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4508, allocations: 0 / 342.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004112/0.4512, allocations: 39.91 kB / 342.4 MB, free: 10.3 MB / 298.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.001031/0.4522, allocations: 0.8859 MB / 343.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.4538, allocations: 271.3 kB / 343.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4538, allocations: 0 / 343.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.4542, allocations: 158.6 kB / 343.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.4544, allocations: 17.47 kB / 343.7 MB, free: 8.914 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.4555, allocations: 329.8 kB / 344.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4558, allocations: 0.7165 MB / 344.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.613e-05/0.4559, allocations: 16.41 kB / 344.8 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.456, allocations: 43.42 kB / 344.8 MB, free: 7.758 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.456, allocations: 0 / 344.8 MB, free: 7.758 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.4874, allocations: 3.064 MB / 347.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/0.4878, allocations: 188.3 kB / 348.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/2.86, allocations: 0 / 348.1 MB, free: 4.551 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat