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 2.028/2.028, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.718e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3016, allocations: 44.5 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4345, allocations: 71.95 MB / 366.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.4348, allocations: 71.95 kB / 366.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.4461, allocations: 2.502 MB / 368.7 MB, free: 7.449 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4462, allocations: 0 / 368.7 MB, free: 7.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.4462, allocations: 0 / 368.7 MB, free: 7.449 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.0007149/0.4469, allocations: 422.2 kB / 369.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.447, allocations: 12.03 kB / 369.2 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.4471, allocations: 15.81 kB / 369.2 MB, free: 6.965 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.4473, allocations: 194.8 kB / 369.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4473, allocations: 4 kB / 369.4 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.4474, allocations: 8.438 kB / 369.4 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001938/0.4476, allocations: 59.92 kB / 369.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.4479, allocations: 116.1 kB / 369.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4479, allocations: 3.906 kB / 369.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.4479, allocations: 3.938 kB / 369.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4479, allocations: 7.984 kB / 369.6 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.4492, allocations: 475.9 kB / 370 MB, free: 6.012 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.4495, allocations: 78.58 kB / 370.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.4497, allocations: 48.86 kB / 370.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.4497, allocations: 4 kB / 370.2 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.4498, allocations: 30.56 kB / 370.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.344e-06/0.4498, allocations: 0 / 370.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005754/0.4504, allocations: 114.4 kB / 370.3 MB, free: 5.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.4504, allocations: 106.8 kB / 370.4 MB, free: 5.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.4506, allocations: 133.4 kB / 370.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.4507, allocations: 25.7 kB / 370.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.4508, allocations: 187.8 kB / 370.7 MB, free: 5.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.4508, allocations: 23.64 kB / 370.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.4508, allocations: 0 / 370.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.451, allocations: 318.8 kB / 371.1 MB, free: 4.887 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.451, allocations: 24 kB / 371.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.4512, allocations: 61.14 kB / 371.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.4513, allocations: 27.98 kB / 371.2 MB, free: 4.758 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4513, allocations: 3.953 kB / 371.2 MB, free: 4.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002607/0.4516, allocations: 105.6 kB / 371.3 MB, free: 4.645 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4516, allocations: 4 kB / 371.3 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4516, allocations: 4 kB / 371.3 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4516, allocations: 0 / 371.3 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.4535, allocations: 151.8 kB / 371.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.4551, allocations: 1.327 MB / 372.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.4554, allocations: 23.81 kB / 372.8 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.4555, allocations: 11.98 kB / 372.8 MB, free: 3.012 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 0.0001165/0.4556, allocations: 104.8 kB / 372.9 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004853/0.4561, allocations: 126.5 kB / 373 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.4562, allocations: 11.91 kB / 373 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.4567, allocations: 127 kB / 373.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4567, allocations: 3.953 kB / 373.2 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.4567, allocations: 0 / 373.2 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4567, allocations: 0 / 373.2 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.4577, allocations: 412.5 kB / 373.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4577, allocations: 0 / 373.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.4579, allocations: 19.98 kB / 373.6 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/0.4583, allocations: 48.84 kB / 373.6 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4584, allocations: 4 kB / 373.6 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.4601, allocations: 1.303 MB / 375 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4601, allocations: 3.984 kB / 375 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.4608, allocations: 263.2 kB / 375.2 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.4609, allocations: 96.83 kB / 375.3 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.461, allocations: 4 kB / 375.3 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.4612, allocations: 15.98 kB / 375.3 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.4613, allocations: 11.94 kB / 375.3 MB, free: 236 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.4613, allocations: 0 / 375.3 MB, free: 236 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.4615, allocations: 120.2 kB / 375.5 MB, free: 116 kB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4615, allocations: 0 / 375.5 MB, free: 116 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004507/0.4619, allocations: 36 kB / 375.5 MB, free: 80 kB / 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.001126/0.4631, allocations: 0.8742 MB / 376.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.4644, allocations: 124 kB / 376.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4644, allocations: 192 / 376.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.4648, allocations: 145.8 kB / 376.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.465, allocations: 4 kB / 376.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.4661, allocations: 369.3 kB / 377 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4665, allocations: 0.7158 MB / 377.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4666, allocations: 35.42 kB / 377.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4666, allocations: 0 / 377.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.503/2.97, allocations: 2.681 MB / 380.4 MB, free: 11.03 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