Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.731/1.731, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.707e-05, allocations: 8 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2627, allocations: 38.76 MB / 258.3 MB, free: 12.15 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.3817, allocations: 66.87 MB / 325.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.382, allocations: 67.97 kB / 325.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01123/0.3933, allocations: 2.544 MB / 327.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3933, allocations: 3.938 kB / 327.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3933, allocations: 4 kB / 327.8 MB, free: 8.422 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.0007295/0.3941, allocations: 418.1 kB / 328.2 MB, free: 7.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.3942, allocations: 12.03 kB / 328.2 MB, free: 7.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.3942, allocations: 19.81 kB / 328.2 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3944, allocations: 187 kB / 328.4 MB, free: 7.715 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3945, allocations: 4 kB / 328.4 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.3945, allocations: 11.95 kB / 328.4 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001887/0.3947, allocations: 56 kB / 328.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.395, allocations: 112.2 kB / 328.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.395, allocations: 3.938 kB / 328.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3951, allocations: 0 / 328.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3951, allocations: 4 kB / 328.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.3963, allocations: 483.8 kB / 329.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.3966, allocations: 74.69 kB / 329.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.3968, allocations: 52.84 kB / 329.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3968, allocations: 0 / 329.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3969, allocations: 30.56 kB / 329.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.3969, allocations: 0 / 329.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005738/0.3975, allocations: 122.5 kB / 329.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.3975, allocations: 102.8 kB / 329.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.3977, allocations: 145.3 kB / 329.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3977, allocations: 25.7 kB / 329.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3979, allocations: 182.6 kB / 329.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.3979, allocations: 27.56 kB / 329.8 MB, free: 6.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.3979, allocations: 0 / 329.8 MB, free: 6.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3981, allocations: 314.8 kB / 330.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.3982, allocations: 24 kB / 330.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3983, allocations: 57.59 kB / 330.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.722e-05/0.3984, allocations: 35.86 kB / 330.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3984, allocations: 0 / 330.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005221/0.3989, allocations: 134.5 kB / 330.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.399, allocations: 7.594 kB / 330.4 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.399, allocations: 7.984 kB / 330.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/0.3994, allocations: 44.86 kB / 330.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.4011, allocations: 143.8 kB / 330.6 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.4043, allocations: 2.683 MB / 333.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.4045, allocations: 16.17 kB / 333.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.4046, allocations: 4 kB / 333.3 MB, free: 2.453 MB / 282.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.0001104/0.4047, allocations: 109 kB / 333.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004689/0.4052, allocations: 114.3 kB / 333.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.4052, allocations: 11.81 kB / 333.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.4057, allocations: 135 kB / 333.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4058, allocations: 0 / 333.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.4058, allocations: 0 / 333.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.4058, allocations: 11.94 kB / 333.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.4067, allocations: 400.7 kB / 334.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4067, allocations: 0 / 334.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.4069, allocations: 19.94 kB / 334.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/0.4073, allocations: 48.81 kB / 334.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4074, allocations: 0 / 334.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.409, allocations: 1.311 MB / 335.4 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.409, allocations: 4.062 kB / 335.4 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.4097, allocations: 270.7 kB / 335.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.4098, allocations: 89.03 kB / 335.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.4098, allocations: 12.06 kB / 335.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.4101, allocations: 11.98 kB / 335.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.4102, allocations: 11.98 kB / 335.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.4102, allocations: 0 / 335.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.4103, allocations: 115.3 kB / 335.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4103, allocations: 0 / 335.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004936/0.4108, allocations: 39.94 kB / 336 MB, free: 15.52 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.0009686/0.4118, allocations: 0.8784 MB / 336.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.4133, allocations: 250.5 kB / 337.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4134, allocations: 3.938 kB / 337.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.4137, allocations: 149.8 kB / 337.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.4139, allocations: 7.953 kB / 337.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.415, allocations: 354.1 kB / 337.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4154, allocations: 0.72 MB / 338.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.4155, allocations: 39.42 kB / 338.4 MB, free: 13 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4155, allocations: 0 / 338.4 MB, free: 13 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.474/2.889, allocations: 3.016 MB / 341.4 MB, free: 9.984 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat