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.928/1.928, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.607e-05, allocations: 8 kB / 255.5 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09517, allocations: 44.5 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5113, allocations: 72.62 MB / 372.6 MB, free: 22.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.5116, allocations: 67.19 kB / 372.7 MB, free: 22.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01143/0.5231, allocations: 2.524 MB / 375.2 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5231, allocations: 1.156 kB / 375.2 MB, free: 21.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.5231, allocations: 2.062 kB / 375.2 MB, free: 21.91 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.0006558/0.5238, allocations: 421.6 kB / 375.6 MB, free: 21.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.5239, allocations: 9.344 kB / 375.6 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.5239, allocations: 40.12 kB / 375.6 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.524, allocations: 19.59 kB / 375.7 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.5242, allocations: 194.7 kB / 375.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.5242, allocations: 7.156 kB / 375.9 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.5242, allocations: 11.25 kB / 375.9 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.5245, allocations: 132.2 kB / 376 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.5246, allocations: 5.156 kB / 376 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.5246, allocations: 4.562 kB / 376 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5246, allocations: 6.188 kB / 376 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.5248, allocations: 54.27 kB / 376.1 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.526, allocations: 0.5066 MB / 376.6 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.5263, allocations: 79.64 kB / 376.6 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.5265, allocations: 57.55 kB / 376.7 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.5265, allocations: 1.469 kB / 376.7 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.5266, allocations: 32.03 kB / 376.7 MB, free: 20.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.444e-06/0.5266, allocations: 0 / 376.7 MB, free: 20.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005588/0.5271, allocations: 111.9 kB / 376.8 MB, free: 20.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.5272, allocations: 114.5 kB / 377 MB, free: 20.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.5274, allocations: 144.7 kB / 377.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.5274, allocations: 26.61 kB / 377.1 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.5275, allocations: 186 kB / 377.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.5275, allocations: 24.77 kB / 377.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.5276, allocations: 0 / 377.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.5276, allocations: 322.9 kB / 377.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.5277, allocations: 21.58 kB / 377.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.5278, allocations: 66.86 kB / 377.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.836e-05/0.5279, allocations: 29.88 kB / 377.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.528, allocations: 1.219 kB / 377.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002527/0.5282, allocations: 100.8 kB / 377.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5282, allocations: 11.34 kB / 377.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5283, allocations: 5.094 kB / 377.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.5283, allocations: 2.5 kB / 377.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.5301, allocations: 149.5 kB / 378 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.5316, allocations: 1.383 MB / 379.4 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.5319, allocations: 22.28 kB / 379.4 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.5319, allocations: 7.172 kB / 379.4 MB, free: 18.52 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.905e-05/0.532, allocations: 112.1 kB / 379.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.5321, allocations: 11.22 kB / 379.6 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.5326, allocations: 146.6 kB / 379.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5326, allocations: 1.188 kB / 379.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5326, allocations: 3.953 kB / 379.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5326, allocations: 1.734 kB / 379.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008234/0.5335, allocations: 441.3 kB / 380.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5335, allocations: 5.031 kB / 380.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.5337, allocations: 20.72 kB / 380.2 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/0.5341, allocations: 56.41 kB / 380.2 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.5342, allocations: 4.469 kB / 380.2 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.5356, allocations: 1.349 MB / 381.6 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5356, allocations: 0 / 381.6 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.5363, allocations: 277.6 kB / 381.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.5363, allocations: 90.42 kB / 381.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.5364, allocations: 5.562 kB / 381.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.5366, allocations: 16.34 kB / 382 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.5367, allocations: 11.78 kB / 382 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.5367, allocations: 5 kB / 382 MB, free: 16.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.5368, allocations: 115.1 kB / 382.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5369, allocations: 0 / 382.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004504/0.5373, allocations: 43.81 kB / 382.1 MB, free: 16.36 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 (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.001403/0.5387, allocations: 0.8733 MB / 383 MB, free: 31.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.54, allocations: 134 kB / 383.1 MB, free: 31.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.54, allocations: 0 / 383.1 MB, free: 31.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.5404, allocations: 150.8 kB / 383.3 MB, free: 31.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.5407, allocations: 7.688 kB / 383.3 MB, free: 31.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/0.5417, allocations: 372.3 kB / 383.6 MB, free: 31.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.542, allocations: 0.7169 MB / 384.4 MB, free: 30.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.5421, allocations: 38.3 kB / 384.4 MB, free: 30.49 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5421, allocations: 0 / 384.4 MB, free: 30.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.642/3.184, allocations: 2.702 MB / 387.1 MB, free: 30.32 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