Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 2.08/2.08, allocations: 225.8 MB / 239.4 MB, free: 1.242 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.509e-05, allocations: 4 kB / 292.7 MB, free: 11.47 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 50.41 MB / 343.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4083/0.5099, allocations: 84.72 MB / 427.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.5101, allocations: 74.11 kB / 427.9 MB, free: 8.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05949/0.5696, allocations: 18.87 MB / 446.7 MB, free: 240 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.639e-06/0.5697, allocations: 0 / 446.7 MB, free: 240 kB / 330.7 MB Notification: Performance of Transformations before backend: time 7.373e-05/0.5697, allocations: 33.84 kB / 446.8 MB, free: 236 kB / 330.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.002068/0.5718, allocations: 1.144 MB / 447.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5719, allocations: 7.625 kB / 447.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/0.5721, allocations: 143.5 kB / 448.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.5734, allocations: 0.6375 MB / 448.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.5735, allocations: 87.44 kB / 448.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.5737, allocations: 118.3 kB / 448.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.5759, allocations: 1.203 MB / 450.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.576, allocations: 11.72 kB / 450.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.5761, allocations: 52.69 kB / 450.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.5762, allocations: 30.75 kB / 450.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.5777, allocations: 0.6094 MB / 450.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00807/0.5858, allocations: 6.85 MB / 457.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.5866, allocations: 251.6 kB / 457.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.5869, allocations: 171.6 kB / 458.1 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.5871, allocations: 84.83 kB / 458.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.5872, allocations: 40.19 kB / 458.2 MB, free: 8.539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.147e-06/0.5872, allocations: 3.938 kB / 458.2 MB, free: 8.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0026/0.5898, allocations: 1.272 MB / 459.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.5899, allocations: 80.92 kB / 459.5 MB, free: 7.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.5908, allocations: 0.5637 MB / 460.1 MB, free: 7.141 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.5908, allocations: 29.08 kB / 460.1 MB, free: 7.109 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005455/0.5914, allocations: 0.6785 MB / 460.8 MB, free: 6.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.5915, allocations: 125.9 kB / 460.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.5916, allocations: 17.81 kB / 461 MB, free: 6.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002452/0.5918, allocations: 387.3 kB / 461.3 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.5922, allocations: 134.3 kB / 461.5 MB, free: 6.023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.5928, allocations: 0.5181 MB / 462 MB, free: 5.379 MB / 346.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.0007998/0.5937, allocations: 434.5 kB / 462.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.5937, allocations: 8 kB / 462.4 MB, free: 4.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001612/0.5953, allocations: 0.7111 MB / 463.1 MB, free: 4.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.5954, allocations: 11.98 kB / 463.1 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.5954, allocations: 16 kB / 463.2 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.5957, allocations: 82.52 kB / 463.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000767/0.5965, allocations: 185.2 kB / 463.4 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.5998, allocations: 2.96 MB / 466.4 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.6003, allocations: 34.36 kB / 466.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.6004, allocations: 43.81 kB / 466.5 MB, free: 1.016 MB / 346.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.0002094/0.6006, allocations: 162.4 kB / 466.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.6008, allocations: 82.12 kB / 466.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.601, allocations: 66.55 kB / 466.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.936e-06/0.601, allocations: 7.953 kB / 466.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.601, allocations: 4 kB / 466.8 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.063e-06/0.601, allocations: 3.984 kB / 466.8 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.6035, allocations: 1.218 MB / 468 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.337e-06/0.6035, allocations: 0 / 468 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/0.604, allocations: 63.95 kB / 468.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.6042, allocations: 60.25 kB / 468.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.6043, allocations: 7.969 kB / 468.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/0.607, allocations: 2.759 MB / 470.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.052e-06/0.6071, allocations: 4.031 kB / 470.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.6081, allocations: 0.656 MB / 471.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.6083, allocations: 139.8 kB / 471.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/0.6084, allocations: 7.938 kB / 471.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.6088, allocations: 15.94 kB / 471.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.6089, allocations: 31.58 kB / 471.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.6089, allocations: 7.938 kB / 471.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007034/0.6096, allocations: 435.2 kB / 472.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.6097, allocations: 0 / 472.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001165/0.6108, allocations: 157.1 kB / 472.3 MB, free: 11.46 MB / 362.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.0001863/0.611, allocations: 114.5 kB / 472.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.6122, allocations: 0.5852 MB / 473 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.832e-06/0.6123, allocations: 4 kB / 473 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.6129, allocations: 337.3 kB / 473.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.6134, allocations: 67.73 kB / 473.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.6165, allocations: 1.362 MB / 474.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009646/0.6174, allocations: 1.062 MB / 475.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000419/0.6179, allocations: 82.03 kB / 475.9 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.618, allocations: 57.92 kB / 476 MB, free: 7.957 MB / 362.7 MB Notification: Performance of SimCode: time 1.648e-06/0.6181, allocations: 0 / 476 MB, free: 7.957 MB / 362.7 MB Notification: Performance of Templates: time 0.0179/0.636, allocations: 4.972 MB / 480.9 MB, free: 3.027 MB / 362.7 MB