Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.134e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09163, allocations: 44.52 MB / 299.9 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.4679, allocations: 72.62 MB / 372.6 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.4682, allocations: 72.14 kB / 372.6 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.4797, allocations: 2.524 MB / 375.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4797, allocations: 0 / 375.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.4797, allocations: 3.344 kB / 375.1 MB, free: 21.58 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.0006554/0.4804, allocations: 411.1 kB / 375.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4805, allocations: 9.438 kB / 375.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/0.4805, allocations: 41 kB / 375.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.4806, allocations: 19.78 kB / 375.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.4808, allocations: 204.8 kB / 375.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.4808, allocations: 8.625 kB / 375.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.4809, allocations: 9.75 kB / 375.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.4812, allocations: 128.1 kB / 376 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4813, allocations: 3.906 kB / 376 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.4813, allocations: 8.688 kB / 376 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4813, allocations: 3.125 kB / 376 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.4815, allocations: 58.2 kB / 376 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.4827, allocations: 0.5113 MB / 376.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.483, allocations: 78 kB / 376.6 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.4832, allocations: 52.45 kB / 376.7 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.4833, allocations: 1.188 kB / 376.7 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.4833, allocations: 35.56 kB / 376.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.4833, allocations: 0 / 376.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005797/0.4839, allocations: 112.4 kB / 376.8 MB, free: 20.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.4839, allocations: 103.8 kB / 376.9 MB, free: 20.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.4841, allocations: 143.5 kB / 377.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.4841, allocations: 29.95 kB / 377.1 MB, free: 20.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.4842, allocations: 187.1 kB / 377.3 MB, free: 20 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.4843, allocations: 36.48 kB / 377.3 MB, free: 19.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-06/0.4843, allocations: 0 / 377.3 MB, free: 19.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.4844, allocations: 321.7 kB / 377.6 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.4845, allocations: 21.92 kB / 377.6 MB, free: 19.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.4846, allocations: 64.73 kB / 377.7 MB, free: 19.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.4847, allocations: 30.73 kB / 377.7 MB, free: 19.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4847, allocations: 0 / 377.7 MB, free: 19.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002684/0.485, allocations: 114.1 kB / 377.8 MB, free: 19.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.485, allocations: 6.125 kB / 377.9 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.485, allocations: 1.062 kB / 377.9 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.4851, allocations: 2.812 kB / 377.9 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.4869, allocations: 149.6 kB / 378 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.4883, allocations: 1.39 MB / 379.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.4886, allocations: 22.53 kB / 379.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.4887, allocations: 7.344 kB / 379.4 MB, free: 18.18 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.332e-05/0.4888, allocations: 121.9 kB / 379.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.4888, allocations: 10.38 kB / 379.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.4893, allocations: 131.6 kB / 379.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4894, allocations: 1.438 kB / 379.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4894, allocations: 5.391 kB / 379.7 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4894, allocations: 0 / 379.7 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008364/0.4902, allocations: 446.8 kB / 380.1 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4903, allocations: 0 / 380.1 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.4905, allocations: 19.05 kB / 380.1 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/0.4909, allocations: 54.44 kB / 380.2 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.491, allocations: 4.656 kB / 380.2 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.4924, allocations: 1.36 MB / 381.6 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4925, allocations: 0 / 381.6 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.4931, allocations: 278.6 kB / 381.8 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.4937, allocations: 92.86 kB / 381.9 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.4937, allocations: 3.641 kB / 381.9 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.494, allocations: 14.5 kB / 381.9 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.4941, allocations: 9.906 kB / 381.9 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4941, allocations: 2.438 kB / 382 MB, free: 32.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.4942, allocations: 124.5 kB / 382.1 MB, free: 32.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4942, allocations: 0 / 382.1 MB, free: 32.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.4947, allocations: 39.53 kB / 382.1 MB, free: 32.03 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.0009874/0.4957, allocations: 0.8793 MB / 383 MB, free: 31.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.4969, allocations: 139.7 kB / 383.1 MB, free: 31.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4969, allocations: 0 / 383.1 MB, free: 31.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.4973, allocations: 152.6 kB / 383.3 MB, free: 31.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.4975, allocations: 9.156 kB / 383.3 MB, free: 31.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/0.4985, allocations: 366.4 kB / 383.6 MB, free: 30.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.4988, allocations: 0.7124 MB / 384.4 MB, free: 30.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.4989, allocations: 40.19 kB / 384.4 MB, free: 30.15 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4989, allocations: 4 kB / 384.4 MB, free: 30.15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.062/3.561, allocations: 2.695 MB / 387.1 MB, free: 29.99 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat