Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_1_cpp_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.015/1.015, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.618e-05/2.611e-05, allocations: 0 / 151.5 MB, free: 15.49 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1645, allocations: 25.15 MB / 176.6 MB, free: 15.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06453/0.2291, allocations: 37.36 MB / 214 MB, free: 12.07 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.2294, allocations: 63.97 kB / 214.1 MB, free: 12.01 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02818/0.2576, allocations: 6.555 MB / 220.6 MB, free: 5.422 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2576, allocations: 0 / 220.6 MB, free: 5.422 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.2576, allocations: 4 kB / 220.6 MB, free: 5.418 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001094/0.2588, allocations: 0.5372 MB / 221.2 MB, free: 4.832 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.2588, allocations: 8.031 kB / 221.2 MB, free: 4.824 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.942e-05/0.2589, allocations: 66.53 kB / 221.2 MB, free: 4.75 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.259, allocations: 31.62 kB / 221.3 MB, free: 4.719 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.2594, allocations: 250.9 kB / 221.5 MB, free: 4.434 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.2594, allocations: 24.55 kB / 221.5 MB, free: 4.41 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.2595, allocations: 31.91 kB / 221.6 MB, free: 4.379 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.2601, allocations: 215.8 kB / 221.8 MB, free: 4.164 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2601, allocations: 3.953 kB / 221.8 MB, free: 4.16 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.2602, allocations: 12 kB / 221.8 MB, free: 4.148 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2602, allocations: 8 kB / 221.8 MB, free: 4.141 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.2607, allocations: 173.1 kB / 222 MB, free: 3.973 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.263, allocations: 0.9437 MB / 222.9 MB, free: 2.953 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.2634, allocations: 179.7 kB / 223.1 MB, free: 2.77 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.2637, allocations: 101.1 kB / 223.2 MB, free: 2.668 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.2639, allocations: 85.28 kB / 223.3 MB, free: 2.566 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2639, allocations: 42.7 kB / 223.3 MB, free: 2.516 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.2639, allocations: 3.938 kB / 223.3 MB, free: 2.512 MB / 186.7 MB Notification: Performance of matching and sorting (n=31): time 0.0093/0.2732, allocations: 1.261 MB / 224.6 MB, free: 1.195 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.2733, allocations: 55.41 kB / 224.6 MB, free: 1.129 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.2736, allocations: 205 kB / 224.8 MB, free: 0.9258 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.2737, allocations: 29.7 kB / 224.9 MB, free: 0.8906 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.2738, allocations: 242.5 kB / 225.1 MB, free: 0.6523 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.274, allocations: 102.5 kB / 225.2 MB, free: 0.5508 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.274, allocations: 8 kB / 225.2 MB, free: 0.543 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.2741, allocations: 322.8 kB / 225.5 MB, free: 224 kB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.2744, allocations: 99.98 kB / 225.6 MB, free: 124 kB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.2748, allocations: 156.8 kB / 225.8 MB, free: 15.95 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.2752, allocations: 115.8 kB / 225.9 MB, free: 15.84 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2752, allocations: 0 / 225.9 MB, free: 15.84 MB / 202.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003644/0.2788, allocations: 0.5103 MB / 226.4 MB, free: 15.31 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2789, allocations: 7.953 kB / 226.4 MB, free: 15.3 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2789, allocations: 0 / 226.4 MB, free: 15.3 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.281, allocations: 209.7 kB / 226.6 MB, free: 15.09 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.2815, allocations: 51.91 kB / 226.7 MB, free: 15.04 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.2871, allocations: 2.696 MB / 229.3 MB, free: 12.19 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.2876, allocations: 16.03 kB / 229.4 MB, free: 12.17 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.2876, allocations: 15.98 kB / 229.4 MB, free: 12.16 MB / 202.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.2878, allocations: 121 kB / 229.5 MB, free: 12.03 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.2879, allocations: 27.62 kB / 229.5 MB, free: 12 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/0.2915, allocations: 494.2 kB / 230 MB, free: 11.5 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.2915, allocations: 11.92 kB / 230 MB, free: 11.49 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.2915, allocations: 0 / 230 MB, free: 11.49 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2916, allocations: 3.953 kB / 230 MB, free: 11.49 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/0.2959, allocations: 0.951 MB / 231 MB, free: 10.47 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2959, allocations: 0 / 231 MB, free: 10.47 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.2963, allocations: 35.98 kB / 231 MB, free: 10.44 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/0.2984, allocations: 209.6 kB / 231.2 MB, free: 10.23 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.2984, allocations: 15.92 kB / 231.2 MB, free: 10.21 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0055/0.3039, allocations: 2.68 MB / 233.9 MB, free: 7.367 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.304, allocations: 4.062 kB / 233.9 MB, free: 7.363 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/0.308, allocations: 0.7144 MB / 234.6 MB, free: 6.617 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.3082, allocations: 128.7 kB / 234.8 MB, free: 6.473 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.3082, allocations: 8 kB / 234.8 MB, free: 6.465 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.3087, allocations: 12 kB / 234.8 MB, free: 6.453 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.3088, allocations: 24.02 kB / 234.8 MB, free: 6.43 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.3088, allocations: 15.98 kB / 234.8 MB, free: 6.414 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.3091, allocations: 165.6 kB / 235 MB, free: 6.254 MB / 202.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.3091, allocations: 0 / 235 MB, free: 6.254 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007227/0.3098, allocations: 99.88 kB / 235.1 MB, free: 6.156 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004394/0.3142, allocations: 1.348 MB / 236.4 MB, free: 4.77 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3154, allocations: 409.5 kB / 236.8 MB, free: 4.359 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3154, allocations: 0 / 236.8 MB, free: 4.359 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.316, allocations: 285.6 kB / 237.1 MB, free: 4.07 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3164, allocations: 28.38 kB / 237.1 MB, free: 4.043 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.318, allocations: 0.5288 MB / 237.7 MB, free: 3.469 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.3184, allocations: 0.7759 MB / 238.4 MB, free: 2.668 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.3186, allocations: 91.41 kB / 238.5 MB, free: 2.578 MB / 202.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3186, allocations: 0 / 238.5 MB, free: 2.578 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.641/2.96, allocations: 6.964 MB / 245.5 MB, free: 11.6 MB / 218.7 MB