Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.637e-05, allocations: 3.984 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.0908, allocations: 50.41 MB / 342.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4752/0.566, allocations: 85.02 MB / 427.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.5663, allocations: 76.39 kB / 427.6 MB, free: 9.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07229/0.6386, allocations: 18.87 MB / 446.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.583e-06/0.6387, allocations: 0 / 446.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.137e-05/0.6388, allocations: 32 kB / 446.5 MB, free: 9.078 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002424/0.6412, allocations: 1.144 MB / 447.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6413, allocations: 8.031 kB / 447.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.6416, allocations: 142.2 kB / 447.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.643, allocations: 0.6335 MB / 448.5 MB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/0.6431, allocations: 90.47 kB / 448.6 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.6433, allocations: 117.5 kB / 448.7 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.6459, allocations: 1.203 MB / 449.9 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.794e-05/0.6459, allocations: 7.938 kB / 449.9 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.6461, allocations: 55.75 kB / 449.9 MB, free: 6.074 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.6461, allocations: 32 kB / 450 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.6479, allocations: 0.6131 MB / 450.6 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009017/0.657, allocations: 6.854 MB / 457.4 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008604/0.6579, allocations: 246.7 kB / 457.7 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.6583, allocations: 164.6 kB / 457.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.6585, allocations: 89.09 kB / 457.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.6585, allocations: 34.44 kB / 458 MB, free: 14.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 4.246e-06/0.6586, allocations: 3.938 kB / 458 MB, free: 14.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002952/0.6615, allocations: 1.279 MB / 459.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.6616, allocations: 81.11 kB / 459.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.6626, allocations: 0.5585 MB / 459.9 MB, free: 12.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.6627, allocations: 33.7 kB / 459.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005798/0.6633, allocations: 0.6979 MB / 460.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.6634, allocations: 122.4 kB / 460.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.6635, allocations: 16 kB / 460.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.6637, allocations: 346.8 kB / 461.1 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.6641, allocations: 125.8 kB / 461.2 MB, free: 11.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.6648, allocations: 0.528 MB / 461.7 MB, free: 10.59 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008395/0.6657, allocations: 423.8 kB / 462.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.6657, allocations: 4 kB / 462.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001628/0.6673, allocations: 0.6863 MB / 462.8 MB, free: 9.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.6674, allocations: 8 kB / 462.8 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.6674, allocations: 16 kB / 462.9 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.6677, allocations: 81.7 kB / 462.9 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/0.6685, allocations: 187.7 kB / 463.1 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/0.6719, allocations: 2.959 MB / 466.1 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.6726, allocations: 35.98 kB / 466.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.888e-05/0.6727, allocations: 44 kB / 466.2 MB, free: 5.844 MB / 378.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * 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: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002486/0.673, allocations: 171.2 kB / 466.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.6732, allocations: 71.19 kB / 466.4 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.6734, allocations: 74.53 kB / 466.5 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.6734, allocations: 7.953 kB / 466.5 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.6734, allocations: 4 kB / 466.5 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.6734, allocations: 0 / 466.5 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.676, allocations: 1.221 MB / 467.7 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.676, allocations: 0 / 467.7 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.6765, allocations: 60.06 kB / 467.8 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/0.6767, allocations: 65.62 kB / 467.8 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.6768, allocations: 7.984 kB / 467.8 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002899/0.6797, allocations: 2.753 MB / 470.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.278e-06/0.6798, allocations: 4.109 kB / 470.6 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.6809, allocations: 0.6423 MB / 471.2 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.6811, allocations: 140.3 kB / 471.4 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/0.6812, allocations: 12 kB / 471.4 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.6816, allocations: 19.98 kB / 471.4 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.6817, allocations: 31.91 kB / 471.4 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.6818, allocations: 15.88 kB / 471.4 MB, free: 124 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00078/0.6826, allocations: 423.1 kB / 471.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.6826, allocations: 0 / 471.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001253/0.6839, allocations: 160 kB / 472 MB, free: 15.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002065/0.6841, allocations: 115.3 kB / 472.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.6855, allocations: 0.5887 MB / 472.7 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.8e-06/0.6855, allocations: 4 kB / 472.7 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006064/0.6861, allocations: 327.5 kB / 473 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.6867, allocations: 67.28 kB / 473.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.6902, allocations: 1.402 MB / 474.5 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009362/0.6912, allocations: 1.062 MB / 475.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.6914, allocations: 63.42 kB / 475.6 MB, free: 11.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.707e-06/0.6914, allocations: 0 / 475.6 MB, free: 11.82 MB / 394.7 MB Notification: Performance of Templates: time 0.02899/0.7204, allocations: 18.38 MB / 494 MB, free: 9.434 MB / 410.7 MB