Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadModel(Modelica): time 1.804/1.804, allocations: 171.2 MB / 183.4 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.445e-05/3.465e-05, allocations: 4 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2096, allocations: 38.77 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3171, allocations: 72.24 MB / 336 MB, free: 1.484 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.3173, allocations: 71.95 kB / 336.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09134/0.4087, allocations: 28.45 MB / 364.5 MB, free: 5.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.059e-06/0.4087, allocations: 3.938 kB / 364.5 MB, free: 5.043 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.4087, allocations: 4 kB / 364.6 MB, free: 5.039 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007577/0.4095, allocations: 0.6293 MB / 365.2 MB, free: 4.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4096, allocations: 8.031 kB / 365.2 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.925e-05/0.4097, allocations: 39.53 kB / 365.2 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.4101, allocations: 257.5 kB / 365.5 MB, free: 4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.4101, allocations: 7.984 kB / 365.5 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.4102, allocations: 8 kB / 365.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.4106, allocations: 149.6 kB / 365.6 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4106, allocations: 3.953 kB / 365.6 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.4107, allocations: 8 kB / 365.7 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-06/0.4107, allocations: 0 / 365.7 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.4109, allocations: 59.98 kB / 365.7 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009542/0.4118, allocations: 476.6 kB / 366.2 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.4121, allocations: 102.5 kB / 366.3 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.4123, allocations: 88.91 kB / 366.4 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.4123, allocations: 0 / 366.4 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004079/0.4127, allocations: 226.6 kB / 366.6 MB, free: 2.801 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.661e-06/0.4128, allocations: 0 / 366.6 MB, free: 2.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009477/0.4137, allocations: 435.8 kB / 367 MB, free: 2.344 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.4139, allocations: 166.2 kB / 367.2 MB, free: 2.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/0.4147, allocations: 466.5 kB / 367.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.4148, allocations: 29.7 kB / 367.7 MB, free: 1.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.4149, allocations: 105.1 kB / 367.8 MB, free: 1.543 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.4149, allocations: 31.58 kB / 367.8 MB, free: 1.512 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.415, allocations: 8 kB / 367.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4152, allocations: 322.8 kB / 368.1 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.4154, allocations: 71.91 kB / 368.2 MB, free: 1.109 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.4156, allocations: 59.98 kB / 368.2 MB, free: 1.051 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.4158, allocations: 173.2 kB / 368.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.82e-06/0.4158, allocations: 0 / 368.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008467/0.4167, allocations: 408.2 kB / 368.8 MB, free: 440 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.4168, allocations: 122.8 kB / 368.9 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.473e-06/0.4169, allocations: 4 kB / 368.9 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4169, allocations: 0 / 368.9 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.19e-05/0.4169, allocations: 4 kB / 368.9 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4169, allocations: 0 / 368.9 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.4172, allocations: 12 kB / 368.9 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.4174, allocations: 119.7 kB / 369.1 MB, free: 152 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2085/0.6259, allocations: 246 kB / 369.3 MB, free: 89.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.626, allocations: 40.97 kB / 369.3 MB, free: 89.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.6263, allocations: 68.02 kB / 369.4 MB, free: 89.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.6263, allocations: 2.125 kB / 369.4 MB, free: 89.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.754e-06/0.6263, allocations: 4.094 kB / 369.4 MB, free: 89.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.045e-06/0.6263, allocations: 0.8906 kB / 369.4 MB, free: 89.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.6279, allocations: 0.8354 MB / 370.3 MB, free: 89.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.117e-06/0.6279, allocations: 0.75 kB / 370.3 MB, free: 89.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-05/0.6279, allocations: 0 / 370.3 MB, free: 89.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.959e-06/0.6279, allocations: 1.625 kB / 370.3 MB, free: 89.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.628, allocations: 21.88 kB / 370.3 MB, free: 89.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.303e-06/0.628, allocations: 0 / 370.3 MB, free: 89.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.704e-06/0.628, allocations: 8.75 kB / 370.3 MB, free: 89.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.629, allocations: 0.5529 MB / 370.8 MB, free: 88.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/0.6295, allocations: 263 kB / 371.1 MB, free: 88.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.966e-05/0.6296, allocations: 10.66 kB / 371.1 MB, free: 88.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.6299, allocations: 12.05 kB / 371.1 MB, free: 88.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.63, allocations: 38.06 kB / 371.2 MB, free: 88.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.6302, allocations: 120 kB / 371.3 MB, free: 88.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005667/0.6308, allocations: 388.7 kB / 371.7 MB, free: 88.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.6308, allocations: 0 / 371.7 MB, free: 88.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000422/0.6312, allocations: 47.16 kB / 371.7 MB, free: 88.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.6314, allocations: 120 kB / 371.8 MB, free: 88.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.632, allocations: 442.8 kB / 372.2 MB, free: 88.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.545e-06/0.632, allocations: 0 / 372.2 MB, free: 88.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.6323, allocations: 379.1 kB / 372.6 MB, free: 88.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.6329, allocations: 98.75 kB / 372.7 MB, free: 88.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.6339, allocations: 0.5332 MB / 373.2 MB, free: 87.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.6343, allocations: 0.8118 MB / 374.1 MB, free: 87.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.6344, allocations: 14.05 kB / 374.1 MB, free: 87.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.6344, allocations: 11.25 kB / 374.1 MB, free: 87.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.336e-06/0.6344, allocations: 0 / 374.1 MB, free: 87.15 MB / 314.7 MB Notification: Performance of Templates: time 0.009888/0.6443, allocations: 5.624 MB / 379.7 MB, free: 86.6 MB / 314.7 MB