Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.046/1.046, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.318e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2315, allocations: 25.16 MB / 176.6 MB, free: 16 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06194/0.2935, allocations: 34.96 MB / 211.6 MB, free: 14.5 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.2938, allocations: 63.97 kB / 211.7 MB, free: 14.44 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.3039, allocations: 2.163 MB / 213.8 MB, free: 12.28 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3039, allocations: 4 kB / 213.8 MB, free: 12.27 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.3039, allocations: 4 kB / 213.8 MB, free: 12.27 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006769/0.3046, allocations: 402.2 kB / 214.2 MB, free: 11.83 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3047, allocations: 8.031 kB / 214.2 MB, free: 11.82 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.377e-05/0.3048, allocations: 50.62 kB / 214.3 MB, free: 11.76 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.3048, allocations: 11.91 kB / 214.3 MB, free: 11.75 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.3051, allocations: 203 kB / 214.5 MB, free: 11.51 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3051, allocations: 8.188 kB / 214.5 MB, free: 11.5 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.3051, allocations: 8 kB / 214.5 MB, free: 11.5 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.3054, allocations: 109.8 kB / 214.6 MB, free: 11.37 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3055, allocations: 0 / 214.6 MB, free: 11.37 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.3055, allocations: 11.95 kB / 214.6 MB, free: 11.36 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3055, allocations: 0 / 214.6 MB, free: 11.36 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.3057, allocations: 52.3 kB / 214.7 MB, free: 11.31 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.307, allocations: 0.4992 MB / 215.2 MB, free: 10.75 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.3071, allocations: 38.58 kB / 215.2 MB, free: 10.7 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.3072, allocations: 20.94 kB / 215.2 MB, free: 10.68 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3072, allocations: 4 kB / 215.3 MB, free: 10.68 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.3073, allocations: 30.56 kB / 215.3 MB, free: 10.64 MB / 186.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.3073, allocations: 0 / 215.3 MB, free: 10.64 MB / 186.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005593/0.3078, allocations: 106.3 kB / 215.4 MB, free: 10.52 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.3079, allocations: 102.8 kB / 215.5 MB, free: 10.4 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.3081, allocations: 149.3 kB / 215.6 MB, free: 10.25 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3082, allocations: 25.7 kB / 215.7 MB, free: 10.21 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3083, allocations: 186.4 kB / 215.8 MB, free: 10.03 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.3083, allocations: 11.81 kB / 215.8 MB, free: 10.02 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.3084, allocations: 0 / 215.8 MB, free: 10.02 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3085, allocations: 314.8 kB / 216.2 MB, free: 9.699 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.3086, allocations: 16 kB / 216.2 MB, free: 9.684 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3087, allocations: 65.61 kB / 216.2 MB, free: 9.602 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.029e-05/0.3088, allocations: 23.92 kB / 216.3 MB, free: 9.578 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3088, allocations: 32 / 216.3 MB, free: 9.578 MB / 186.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005138/0.3093, allocations: 126.9 kB / 216.4 MB, free: 9.445 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3094, allocations: 7.953 kB / 216.4 MB, free: 9.438 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3094, allocations: 0 / 216.4 MB, free: 9.438 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004621/0.3099, allocations: 56.84 kB / 216.4 MB, free: 9.379 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.3116, allocations: 131.8 kB / 216.6 MB, free: 9.25 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.315, allocations: 2.775 MB / 219.4 MB, free: 6.207 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.3153, allocations: 15.89 kB / 219.4 MB, free: 6.191 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3154, allocations: 4 kB / 219.4 MB, free: 6.188 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: SaturatingInductance1.Psi:VARIABLE(unit = "Wb" ) type: Real 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 (7): * 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): 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.0001751/0.3155, allocations: 109 kB / 219.5 MB, free: 6.074 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.3156, allocations: 11.86 kB / 219.5 MB, free: 6.062 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/0.3161, allocations: 122.5 kB / 219.6 MB, free: 5.93 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3161, allocations: 0 / 219.6 MB, free: 5.93 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3161, allocations: 0 / 219.6 MB, free: 5.93 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3161, allocations: 0 / 219.6 MB, free: 5.93 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.3165, allocations: 209.6 kB / 219.8 MB, free: 5.676 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3165, allocations: 4.062 kB / 219.8 MB, free: 5.672 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3166, allocations: 7.984 kB / 219.8 MB, free: 5.664 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.317, allocations: 56.84 kB / 219.9 MB, free: 5.605 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3171, allocations: 4 kB / 219.9 MB, free: 5.602 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.3188, allocations: 1.343 MB / 221.2 MB, free: 4.121 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3188, allocations: 3.984 kB / 221.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.3194, allocations: 224.3 kB / 221.5 MB, free: 3.879 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3195, allocations: 96.97 kB / 221.5 MB, free: 3.766 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.3196, allocations: 7.984 kB / 221.6 MB, free: 3.758 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3198, allocations: 8 kB / 221.6 MB, free: 3.75 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.3199, allocations: 11.98 kB / 221.6 MB, free: 3.738 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3199, allocations: 3.953 kB / 221.6 MB, free: 3.734 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3201, allocations: 120.1 kB / 221.7 MB, free: 3.617 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3201, allocations: 4.062 kB / 221.7 MB, free: 3.613 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004469/0.3205, allocations: 35.91 kB / 221.7 MB, free: 3.578 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (SaturatingInductance1.Psi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0009423/0.3215, allocations: 0.772 MB / 222.5 MB, free: 2.777 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.323, allocations: 238.5 kB / 222.7 MB, free: 2.531 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.323, allocations: 4.188 kB / 222.7 MB, free: 2.527 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.3234, allocations: 137.7 kB / 222.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.3236, allocations: 12.48 kB / 222.9 MB, free: 2.371 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008189/0.3245, allocations: 279.6 kB / 223.2 MB, free: 2.055 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.3248, allocations: 0.7121 MB / 223.9 MB, free: 1.316 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.3249, allocations: 35.42 kB / 223.9 MB, free: 1.281 MB / 186.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3249, allocations: 0 / 223.9 MB, free: 1.281 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.497/2.822, allocations: 2.795 MB / 226.7 MB, free: 14.48 MB / 202.7 MB