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_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.596e-05, allocations: 4 kB / 292.1 MB, free: 8.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.08977, allocations: 50.41 MB / 342.6 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3893/0.4792, allocations: 84.97 MB / 427.5 MB, free: 9.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.4795, allocations: 70.84 kB / 427.6 MB, free: 9.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09809/0.5776, allocations: 18.87 MB / 446.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.065e-06/0.5777, allocations: 4 kB / 446.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.863e-05/0.5778, allocations: 28 kB / 446.5 MB, free: 9.23 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.002494/0.5803, allocations: 1.142 MB / 447.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5803, allocations: 8.031 kB / 447.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.5807, allocations: 150.2 kB / 447.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.5821, allocations: 0.639 MB / 448.4 MB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-05/0.5822, allocations: 93.22 kB / 448.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.5824, allocations: 116.1 kB / 448.6 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.585, allocations: 1.205 MB / 449.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.924e-05/0.5851, allocations: 7.938 kB / 449.8 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.5852, allocations: 55.06 kB / 449.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.5853, allocations: 39.94 kB / 449.9 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.587, allocations: 0.6055 MB / 450.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008907/0.5959, allocations: 6.851 MB / 457.4 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008499/0.5968, allocations: 249.4 kB / 457.6 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004185/0.5973, allocations: 157.7 kB / 457.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.5975, allocations: 89.09 kB / 457.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.5975, allocations: 38.56 kB / 457.9 MB, free: 14.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.562e-06/0.5975, allocations: 0 / 457.9 MB, free: 14.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002878/0.6004, allocations: 1.266 MB / 459.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.6005, allocations: 93.09 kB / 459.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009859/0.6015, allocations: 0.5546 MB / 459.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.6016, allocations: 29.7 kB / 459.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006283/0.6022, allocations: 0.6876 MB / 460.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.6024, allocations: 114.4 kB / 460.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.6024, allocations: 16 kB / 460.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.6027, allocations: 386.7 kB / 461.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.603, allocations: 129.8 kB / 461.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/0.6038, allocations: 0.528 MB / 461.7 MB, free: 10.4 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.0008649/0.6047, allocations: 424.6 kB / 462.1 MB, free: 9.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.6047, allocations: 4 kB / 462.1 MB, free: 9.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001755/0.6065, allocations: 0.7286 MB / 462.9 MB, free: 9.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.6065, allocations: 12 kB / 462.9 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.6065, allocations: 12 kB / 462.9 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003152/0.6069, allocations: 86.5 kB / 463 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/0.6077, allocations: 183.7 kB / 463.1 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.6111, allocations: 2.97 MB / 466.1 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/0.6119, allocations: 32 kB / 466.1 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/0.612, allocations: 40 kB / 466.2 MB, free: 5.609 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.0002435/0.6122, allocations: 165.5 kB / 466.3 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.6124, allocations: 71.06 kB / 466.4 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.6126, allocations: 82.59 kB / 466.5 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.455e-06/0.6126, allocations: 7.953 kB / 466.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.6126, allocations: 0 / 466.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.943e-06/0.6127, allocations: 4.062 kB / 466.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.6154, allocations: 1.221 MB / 467.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.376e-06/0.6154, allocations: 0 / 467.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.6159, allocations: 63.97 kB / 467.8 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.6161, allocations: 57.62 kB / 467.8 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.6162, allocations: 11.98 kB / 467.9 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.6191, allocations: 2.757 MB / 470.6 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.615e-06/0.6192, allocations: 0 / 470.6 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.6204, allocations: 0.6346 MB / 471.2 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.6206, allocations: 140.3 kB / 471.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.6207, allocations: 8 kB / 471.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.6211, allocations: 24.11 kB / 471.4 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.6212, allocations: 31.84 kB / 471.4 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.6213, allocations: 12 kB / 471.5 MB, free: 15.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007717/0.6221, allocations: 427.1 kB / 471.9 MB, free: 15.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.6221, allocations: 0 / 471.9 MB, free: 15.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001235/0.6233, allocations: 156 kB / 472 MB, free: 15.33 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.0001992/0.6235, allocations: 119.1 kB / 472.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.6249, allocations: 0.5919 MB / 472.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.752e-06/0.6249, allocations: 0 / 472.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.6256, allocations: 336.6 kB / 473.1 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.6261, allocations: 79.23 kB / 473.1 MB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.6294, allocations: 1.357 MB / 474.5 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009559/0.6304, allocations: 1.062 MB / 475.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004337/0.6309, allocations: 82.02 kB / 475.6 MB, free: 11.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.631, allocations: 63.41 kB / 475.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.938e-06/0.6311, allocations: 0 / 475.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of Templates: time 0.01822/0.6493, allocations: 4.974 MB / 480.7 MB, free: 6.594 MB / 394.7 MB