Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.644e-05, allocations: 4 kB / 292.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 50.41 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5524, allocations: 78.61 MB / 421.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5527, allocations: 66.7 kB / 421.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01556/0.5682, allocations: 3.24 MB / 424.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5683, allocations: 0 / 424.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.5683, allocations: 3.312 kB / 424.5 MB, free: 12.67 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000918/0.5692, allocations: 440.7 kB / 425 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.5693, allocations: 8.031 kB / 425 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.5694, allocations: 41.31 kB / 425 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.5695, allocations: 15.81 kB / 425 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.5697, allocations: 193 kB / 425.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.5698, allocations: 7.312 kB / 425.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.5698, allocations: 19.27 kB / 425.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.5702, allocations: 134.6 kB / 425.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.5702, allocations: 3.953 kB / 425.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.5702, allocations: 7.375 kB / 425.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.5703, allocations: 4 kB / 425.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.5705, allocations: 67.73 kB / 425.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.5718, allocations: 0.5064 MB / 426 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.5721, allocations: 71.38 kB / 426 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.5723, allocations: 58.12 kB / 426.1 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.5723, allocations: 3.938 kB / 426.1 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.5724, allocations: 38.5 kB / 426.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.5724, allocations: 0 / 426.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003073/0.5727, allocations: 92.53 kB / 426.2 MB, free: 11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.5728, allocations: 110.8 kB / 426.3 MB, free: 10.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.573, allocations: 142.5 kB / 426.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.573, allocations: 29.2 kB / 426.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.5731, allocations: 183.6 kB / 426.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.5732, allocations: 18.84 kB / 426.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.5732, allocations: 3.5 kB / 426.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.5734, allocations: 318.8 kB / 427 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.5735, allocations: 25.75 kB / 427 MB, free: 10.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.5737, allocations: 70.58 kB / 427.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.5738, allocations: 34.17 kB / 427.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5738, allocations: 4 kB / 427.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003127/0.5741, allocations: 114.7 kB / 427.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.5742, allocations: 4 kB / 427.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5742, allocations: 0 / 427.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5742, allocations: 4 kB / 427.3 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.5753, allocations: 83.91 kB / 427.3 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.5772, allocations: 1.384 MB / 428.7 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.5776, allocations: 28.02 kB / 428.8 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.5776, allocations: 7.688 kB / 428.8 MB, free: 8.387 MB / 346.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.0001145/0.5778, allocations: 104.9 kB / 428.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.5778, allocations: 11.91 kB / 428.9 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.5783, allocations: 130.2 kB / 429 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.5784, allocations: 3.953 kB / 429 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.5784, allocations: 0 / 429 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.5784, allocations: 0 / 429 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009115/0.5793, allocations: 440.5 kB / 429.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5793, allocations: 4 kB / 429.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.5796, allocations: 27.95 kB / 429.5 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003648/0.58, allocations: 40.64 kB / 429.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.58, allocations: 3.984 kB / 429.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.5815, allocations: 1.286 MB / 430.8 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5816, allocations: 0 / 430.8 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.5822, allocations: 273.2 kB / 431.1 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.5823, allocations: 88.98 kB / 431.2 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.5824, allocations: 11.61 kB / 431.2 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.5827, allocations: 8 kB / 431.2 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.5827, allocations: 12.05 kB / 431.2 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.5828, allocations: 4 kB / 431.2 MB, free: 5.867 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.5829, allocations: 119 kB / 431.3 MB, free: 5.762 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5829, allocations: 3.938 kB / 431.3 MB, free: 5.758 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004494/0.5834, allocations: 39.84 kB / 431.3 MB, free: 5.723 MB / 346.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 (7): * Single equations (assignments): 6 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/0.5844, allocations: 0.8809 MB / 432.2 MB, free: 4.844 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.5855, allocations: 123.4 kB / 432.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5855, allocations: 3.688 kB / 432.4 MB, free: 4.742 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.5859, allocations: 144.6 kB / 432.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.5862, allocations: 15.81 kB / 432.5 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.5888, allocations: 494.9 kB / 433 MB, free: 4.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.5892, allocations: 0.7277 MB / 433.7 MB, free: 3.324 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.5893, allocations: 37.92 kB / 433.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5893, allocations: 0 / 433.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.487/3.077, allocations: 2.719 MB / 436.5 MB, free: 0.6094 MB / 346.7 MB