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_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.026e-05/4.049e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09201, allocations: 47.58 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3709/0.4629, allocations: 83.34 MB / 400.3 MB, free: 4.859 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4632, allocations: 68.41 kB / 400.3 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1098/0.573, allocations: 18.52 MB / 418.9 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.573, allocations: 0 / 418.9 MB, free: 5.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.5732, allocations: 32 kB / 418.9 MB, free: 5.109 MB / 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.002752/0.5759, allocations: 1.141 MB / 420 MB, free: 4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.576, allocations: 8.031 kB / 420 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.5764, allocations: 146.2 kB / 420.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.5779, allocations: 0.6371 MB / 420.8 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.5781, allocations: 90.16 kB / 420.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.5783, allocations: 115.8 kB / 421 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.5809, allocations: 1.212 MB / 422.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.482e-05/0.581, allocations: 11.88 kB / 422.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.5812, allocations: 56.56 kB / 422.3 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.5812, allocations: 32 kB / 422.3 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.583, allocations: 0.6078 MB / 422.9 MB, free: 1.645 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009293/0.5923, allocations: 6.852 MB / 429.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008381/0.5932, allocations: 242.9 kB / 430 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.5937, allocations: 163.7 kB / 430.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.5939, allocations: 93.08 kB / 430.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.5939, allocations: 42.2 kB / 430.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 6.514e-06/0.594, allocations: 3.984 kB / 430.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.002988/0.597, allocations: 1.279 MB / 431.6 MB, free: 9.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.5971, allocations: 81.11 kB / 431.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.5981, allocations: 0.5639 MB / 432.2 MB, free: 8.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/0.5982, allocations: 37.56 kB / 432.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005575/0.5987, allocations: 0.6755 MB / 433 MB, free: 8.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.5989, allocations: 118.6 kB / 433.1 MB, free: 8.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.5989, allocations: 20.44 kB / 433.1 MB, free: 8.246 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002418/0.5992, allocations: 385 kB / 433.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.5995, allocations: 127.9 kB / 433.6 MB, free: 7.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.6002, allocations: 0.5185 MB / 434.1 MB, free: 7.156 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.000859/0.6011, allocations: 424.8 kB / 434.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.6011, allocations: 4 kB / 434.5 MB, free: 6.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001762/0.6029, allocations: 0.7259 MB / 435.3 MB, free: 6.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.603, allocations: 12 kB / 435.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.603, allocations: 12 kB / 435.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.6033, allocations: 84.44 kB / 435.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/0.6041, allocations: 179.3 kB / 435.5 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.6075, allocations: 2.969 MB / 438.5 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/0.6083, allocations: 30.25 kB / 438.5 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.6083, allocations: 43 kB / 438.6 MB, free: 2.801 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.0002452/0.6086, allocations: 177.4 kB / 438.7 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.6088, allocations: 75.06 kB / 438.8 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.609, allocations: 72.41 kB / 438.9 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.273e-06/0.609, allocations: 4 kB / 438.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.542e-06/0.609, allocations: 0 / 438.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.725e-06/0.6091, allocations: 0 / 438.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.6116, allocations: 1.225 MB / 440.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.6117, allocations: 0 / 440.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/0.6122, allocations: 71.08 kB / 440.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.6124, allocations: 52.86 kB / 440.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.6125, allocations: 11.48 kB / 440.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/0.6154, allocations: 2.744 MB / 443 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.579e-06/0.6154, allocations: 0 / 443 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.6166, allocations: 0.6519 MB / 443.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.6168, allocations: 139.5 kB / 443.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/0.6169, allocations: 7.25 kB / 443.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.6173, allocations: 27 kB / 443.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.6175, allocations: 27.03 kB / 443.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.6175, allocations: 8.125 kB / 443.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007488/0.6183, allocations: 424.8 kB / 444.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.68e-07/0.6183, allocations: 0 / 444.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001306/0.6196, allocations: 161.5 kB / 444.4 MB, free: 13.25 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.0002116/0.6198, allocations: 116.2 kB / 444.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.6212, allocations: 0.5924 MB / 445.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.25e-06/0.6212, allocations: 384 / 445.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005914/0.6218, allocations: 336.7 kB / 445.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.6224, allocations: 72.75 kB / 445.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.6258, allocations: 1.356 MB / 446.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009509/0.6268, allocations: 1.062 MB / 448 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004602/0.6273, allocations: 86.02 kB / 448 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.6274, allocations: 53.98 kB / 448.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of SimCode: time 1.81e-06/0.6274, allocations: 0 / 448.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of Templates: time 0.01874/0.6462, allocations: 4.971 MB / 453.1 MB, free: 4.801 MB / 362.7 MB