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.691/1.691, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.58e-05, allocations: 4 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2799, allocations: 38.77 MB / 263.9 MB, free: 9.742 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.3981, allocations: 67.53 MB / 331.4 MB, free: 6.113 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.3983, allocations: 67.97 kB / 331.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01183/0.4102, allocations: 2.561 MB / 334 MB, free: 3.473 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4102, allocations: 7.938 kB / 334 MB, free: 3.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.4103, allocations: 0 / 334 MB, free: 3.465 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.0007242/0.411, allocations: 418.3 kB / 334.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4111, allocations: 15.97 kB / 334.4 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.531e-05/0.4111, allocations: 46.55 kB / 334.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.4112, allocations: 15.81 kB / 334.5 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.4114, allocations: 186.9 kB / 334.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.4115, allocations: 4 kB / 334.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.4115, allocations: 19.95 kB / 334.7 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.4118, allocations: 128.2 kB / 334.8 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4119, allocations: 3.984 kB / 334.8 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.4119, allocations: 4 kB / 334.8 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.4119, allocations: 4 kB / 334.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.4121, allocations: 52 kB / 334.9 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.4135, allocations: 0.5108 MB / 335.4 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.4138, allocations: 82.62 kB / 335.5 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.414, allocations: 52.84 kB / 335.5 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4141, allocations: 4 kB / 335.5 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4141, allocations: 34.52 kB / 335.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.517e-06/0.4141, allocations: 0 / 335.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005921/0.4147, allocations: 110.4 kB / 335.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.4148, allocations: 110.7 kB / 335.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.415, allocations: 141.4 kB / 335.9 MB, free: 1.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.415, allocations: 25.7 kB / 336 MB, free: 1.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4152, allocations: 182.6 kB / 336.1 MB, free: 1.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.4152, allocations: 31.7 kB / 336.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.4152, allocations: 0 / 336.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4154, allocations: 326.8 kB / 336.5 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.4155, allocations: 24.44 kB / 336.5 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.4156, allocations: 73.02 kB / 336.6 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.4157, allocations: 20 kB / 336.6 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4157, allocations: 4 kB / 336.6 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005837/0.4163, allocations: 146.3 kB / 336.7 MB, free: 468 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4164, allocations: 4 kB / 336.7 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4164, allocations: 4.047 kB / 336.8 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.4169, allocations: 52.86 kB / 336.8 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.4186, allocations: 139.9 kB / 336.9 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/0.4223, allocations: 2.778 MB / 339.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.4226, allocations: 24.08 kB / 339.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.4227, allocations: 8.062 kB / 339.7 MB, free: 13.18 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.0001344/0.4228, allocations: 108.9 kB / 339.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.4229, allocations: 11.91 kB / 339.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005785/0.4235, allocations: 135 kB / 340 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4235, allocations: 4 kB / 340 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4235, allocations: 3.984 kB / 340 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4235, allocations: 3.953 kB / 340 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4245, allocations: 440 kB / 340.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4246, allocations: 3.984 kB / 340.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.4248, allocations: 20 kB / 340.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.4253, allocations: 52.8 kB / 340.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4253, allocations: 4 kB / 340.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.4271, allocations: 1.366 MB / 341.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4271, allocations: 0 / 341.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.4278, allocations: 282.9 kB / 342.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4279, allocations: 93.03 kB / 342.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.428, allocations: 0 / 342.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.4282, allocations: 20.05 kB / 342.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.4283, allocations: 7.984 kB / 342.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.4283, allocations: 7.953 kB / 342.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.4285, allocations: 124.1 kB / 342.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.4285, allocations: 0 / 342.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000478/0.429, allocations: 43.91 kB / 342.5 MB, free: 10.21 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.001083/0.4301, allocations: 0.8781 MB / 343.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.4318, allocations: 254.6 kB / 343.6 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4318, allocations: 3.938 kB / 343.6 MB, free: 9.031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.4322, allocations: 157.7 kB / 343.7 MB, free: 8.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.4325, allocations: 9.547 kB / 343.7 MB, free: 8.859 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.4336, allocations: 364.3 kB / 344.1 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.4339, allocations: 0.7165 MB / 344.8 MB, free: 7.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.434, allocations: 43.42 kB / 344.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of SimCode: time 1.423e-06/0.434, allocations: 0 / 344.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.813/3.247, allocations: 3.011 MB / 347.9 MB, free: 4.664 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