Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.948e-05, allocations: 0 / 292.2 MB, free: 8.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 50.41 MB / 342.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4253/0.531, allocations: 81.4 MB / 424 MB, free: 12.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.5313, allocations: 77.77 kB / 424.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03177/0.5631, allocations: 7.144 MB / 431.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5632, allocations: 0 / 431.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.5632, allocations: 4 kB / 431.3 MB, free: 6.332 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001153/0.5644, allocations: 0.5323 MB / 431.8 MB, free: 5.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5644, allocations: 8.031 kB / 431.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.521e-05/0.5645, allocations: 65.66 kB / 431.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.5646, allocations: 35.62 kB / 431.9 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.5651, allocations: 253.6 kB / 432.1 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.5651, allocations: 23.94 kB / 432.2 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.5652, allocations: 31.5 kB / 432.2 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.5658, allocations: 223.7 kB / 432.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5658, allocations: 0 / 432.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.5659, allocations: 15.64 kB / 432.4 MB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.5659, allocations: 8 kB / 432.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.5664, allocations: 182 kB / 432.6 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.5687, allocations: 1.023 MB / 433.6 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.5692, allocations: 182 kB / 433.8 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.5695, allocations: 107 kB / 433.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.5696, allocations: 0 / 433.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5696, allocations: 37.94 kB / 434 MB, free: 3.922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 4.298e-06/0.5696, allocations: 96 / 434 MB, free: 3.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.006243/0.5759, allocations: 1.221 MB / 435.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.576, allocations: 63.28 kB / 435.2 MB, free: 2.785 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.5763, allocations: 201 kB / 435.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.5763, allocations: 29.58 kB / 435.5 MB, free: 2.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.5765, allocations: 246.4 kB / 435.7 MB, free: 2.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.5766, allocations: 108.7 kB / 435.8 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.5767, allocations: 11 kB / 435.8 MB, free: 2.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5768, allocations: 325.6 kB / 436.1 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.5771, allocations: 94.44 kB / 436.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.5774, allocations: 161.9 kB / 436.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.5778, allocations: 109.2 kB / 436.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.5778, allocations: 4 kB / 436.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00243/0.5802, allocations: 0.5067 MB / 437 MB, free: 1.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5803, allocations: 4 kB / 437 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.5803, allocations: 4 kB / 437 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.5817, allocations: 193.1 kB / 437.2 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.5822, allocations: 55.91 kB / 437.3 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006538/0.5887, allocations: 3.75 MB / 441 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.5892, allocations: 18.77 kB / 441 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.5893, allocations: 8 kB / 441 MB, free: 13.54 MB / 362.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 (28): * Single equations (assignments): 26 * 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%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.5895, allocations: 130.1 kB / 441.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.429e-05/0.5896, allocations: 31.62 kB / 441.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.5897, allocations: 40.39 kB / 441.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5897, allocations: 4 kB / 441.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.5897, allocations: 0 / 441.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5897, allocations: 288 / 441.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.5928, allocations: 0.9395 MB / 442.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5929, allocations: 3.938 kB / 442.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.5933, allocations: 47.64 kB / 442.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.5946, allocations: 185.5 kB / 442.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.5947, allocations: 11.19 kB / 442.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006477/0.6012, allocations: 3.753 MB / 446.2 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6012, allocations: 0 / 446.2 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.6039, allocations: 0.7017 MB / 446.9 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.6041, allocations: 100.8 kB / 447 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.6041, allocations: 7.812 kB / 447 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.6045, allocations: 19.05 kB / 447 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.6047, allocations: 31.73 kB / 447 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.6047, allocations: 7.984 kB / 447 MB, free: 8.133 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002152/0.6049, allocations: 158.1 kB / 447.2 MB, free: 8.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.605, allocations: 0 / 447.2 MB, free: 8.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008681/0.6059, allocations: 109.9 kB / 447.3 MB, free: 7.91 MB / 362.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 (18): * Single equations (assignments): 16 * 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%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003153/0.609, allocations: 1.34 MB / 448.6 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.6103, allocations: 0.502 MB / 449.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6103, allocations: 0 / 449.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007576/0.6111, allocations: 415.1 kB / 449.6 MB, free: 5.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.6114, allocations: 27.41 kB / 449.6 MB, free: 5.914 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.6132, allocations: 0.5453 MB / 450.1 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.6137, allocations: 0.784 MB / 450.9 MB, free: 4.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.6139, allocations: 93.72 kB / 451 MB, free: 4.547 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6139, allocations: 0 / 451 MB, free: 4.547 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.845/3.459, allocations: 7.062 MB / 458.1 MB, free: 13.53 MB / 378.7 MB