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.702/1.702, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.907e-05/4.912e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2577, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.3789, allocations: 67.53 MB / 331.4 MB, free: 6.074 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.3792, allocations: 63.97 kB / 331.5 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01193/0.3912, allocations: 2.565 MB / 334 MB, free: 3.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3912, allocations: 0 / 334 MB, free: 3.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3912, allocations: 4 kB / 334 MB, free: 3.43 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.0007417/0.392, allocations: 422.2 kB / 334.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.356e-05/0.3921, allocations: 12.03 kB / 334.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.236e-05/0.3921, allocations: 42.55 kB / 334.5 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.3922, allocations: 19.81 kB / 334.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.3924, allocations: 186.9 kB / 334.7 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3925, allocations: 4 kB / 334.7 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.3925, allocations: 11.95 kB / 334.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.3929, allocations: 144.1 kB / 334.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3929, allocations: 0 / 334.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.3929, allocations: 7.938 kB / 334.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.393, allocations: 4 kB / 334.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.3931, allocations: 52 kB / 334.9 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.3945, allocations: 0.5108 MB / 335.4 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.3948, allocations: 78.62 kB / 335.5 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.395, allocations: 52.84 kB / 335.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.395, allocations: 8 kB / 335.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3951, allocations: 34.52 kB / 335.6 MB, free: 1.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.3951, allocations: 0 / 335.6 MB, free: 1.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005898/0.3957, allocations: 114.3 kB / 335.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.3958, allocations: 102.8 kB / 335.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.396, allocations: 145.4 kB / 336 MB, free: 1.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.396, allocations: 25.7 kB / 336 MB, free: 1.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3962, allocations: 120.2 kB / 336.1 MB, free: 1.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.3962, allocations: 35.69 kB / 336.1 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.3963, allocations: 0 / 336.1 MB, free: 1.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3964, allocations: 323.4 kB / 336.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.3965, allocations: 20.44 kB / 336.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3966, allocations: 69.08 kB / 336.5 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.3968, allocations: 28 kB / 336.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3968, allocations: 0 / 336.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006077/0.3974, allocations: 154.2 kB / 336.7 MB, free: 480 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3974, allocations: 8.094 kB / 336.7 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3975, allocations: 0 / 336.7 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004657/0.3979, allocations: 48.81 kB / 336.8 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.3996, allocations: 135.9 kB / 336.9 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.4034, allocations: 2.79 MB / 339.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.4037, allocations: 15.92 kB / 339.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.4037, allocations: 12.06 kB / 339.7 MB, free: 13.2 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.000113/0.4039, allocations: 113 kB / 339.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.4039, allocations: 7.906 kB / 339.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.4045, allocations: 139 kB / 340 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4045, allocations: 0 / 340 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4046, allocations: 4 kB / 340 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4046, allocations: 3.953 kB / 340 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009517/0.4055, allocations: 440 kB / 340.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.4056, allocations: 3.953 kB / 340.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.4058, allocations: 15.98 kB / 340.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.4062, allocations: 56.84 kB / 340.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.4063, allocations: 4 kB / 340.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.4081, allocations: 1.37 MB / 341.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4081, allocations: 0 / 341.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.4088, allocations: 278.7 kB / 342.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.409, allocations: 97.03 kB / 342.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.409, allocations: 0 / 342.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.4093, allocations: 15.98 kB / 342.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.4094, allocations: 7.984 kB / 342.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.4094, allocations: 8.016 kB / 342.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.4095, allocations: 124.1 kB / 342.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4096, allocations: 0 / 342.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004821/0.41, allocations: 43.91 kB / 342.4 MB, free: 10.23 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.001084/0.4111, allocations: 0.8823 MB / 343.3 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.4127, allocations: 262.5 kB / 343.6 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4128, allocations: 0 / 343.6 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.4131, allocations: 149.8 kB / 343.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.4133, allocations: 8.766 kB / 343.7 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.4144, allocations: 338.8 kB / 344.1 MB, free: 8.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.4148, allocations: 0.7204 MB / 344.8 MB, free: 7.766 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.699e-05/0.4149, allocations: 12.41 kB / 344.8 MB, free: 7.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.415, allocations: 39.42 kB / 344.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of SimCode: time 1.373e-06/0.415, allocations: 4 kB / 344.8 MB, free: 7.707 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.4486, allocations: 3.039 MB / 347.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003378/0.4491, allocations: 194.9 kB / 348.1 MB, free: 4.516 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.758, allocations: 0 / 348.1 MB, free: 4.516 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