Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 239.4 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.995e-05, allocations: 4 kB / 292.7 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.08972, allocations: 50.43 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.395/0.4848, allocations: 82.93 MB / 426 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/0.4852, allocations: 70.52 kB / 426.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1039/0.5891, allocations: 28.41 MB / 454.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.647e-06/0.5891, allocations: 0 / 454.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.5892, allocations: 4 kB / 454.5 MB, free: 3.543 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007425/0.5899, allocations: 0.6099 MB / 455.1 MB, free: 2.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.59, allocations: 12.03 kB / 455.1 MB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.5901, allocations: 43.48 kB / 455.2 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.5905, allocations: 265.4 kB / 455.4 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.5905, allocations: 4 kB / 455.4 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.5906, allocations: 16 kB / 455.4 MB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.5909, allocations: 145.6 kB / 455.6 MB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.282e-06/0.591, allocations: 0 / 455.6 MB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.591, allocations: 4 kB / 455.6 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-06/0.591, allocations: 0 / 455.6 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.5913, allocations: 63.94 kB / 455.7 MB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.5925, allocations: 484.5 kB / 456.1 MB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.5928, allocations: 98.55 kB / 456.2 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.593, allocations: 92.95 kB / 456.3 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.263e-06/0.593, allocations: 0 / 456.3 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003987/0.5934, allocations: 234.5 kB / 456.5 MB, free: 1.297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.934e-06/0.5934, allocations: 0 / 456.5 MB, free: 1.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009372/0.5944, allocations: 444 kB / 457 MB, free: 0.832 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.5945, allocations: 166.2 kB / 457.1 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.5953, allocations: 462.5 kB / 457.6 MB, free: 176 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.5954, allocations: 33.7 kB / 457.6 MB, free: 136 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.5955, allocations: 97.12 kB / 457.7 MB, free: 36 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.5956, allocations: 27.72 kB / 457.7 MB, free: 8 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.5956, allocations: 3.984 kB / 457.8 MB, free: 4 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5958, allocations: 322.8 kB / 458.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.596, allocations: 67.92 kB / 458.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.5962, allocations: 63.98 kB / 458.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.5965, allocations: 166.8 kB / 458.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5965, allocations: 0 / 458.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008277/0.5973, allocations: 420.1 kB / 458.8 MB, free: 14.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.5975, allocations: 118.8 kB / 458.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.949e-06/0.5975, allocations: 4 kB / 458.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5975, allocations: 7.953 kB / 458.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.999e-05/0.5976, allocations: 3.984 kB / 458.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5976, allocations: 0 / 458.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.5978, allocations: 15.98 kB / 458.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.598, allocations: 123.8 kB / 459 MB, free: 14.63 MB / 378.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.0002566/0.5982, allocations: 241.5 kB / 459.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.5983, allocations: 39.61 kB / 459.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.5985, allocations: 67.44 kB / 459.4 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.5985, allocations: 3.953 kB / 459.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.014e-06/0.5986, allocations: 0 / 459.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.493e-06/0.5986, allocations: 0 / 459.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.6, allocations: 0.8329 MB / 460.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-06/0.6001, allocations: 4 kB / 460.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/0.6001, allocations: 3.984 kB / 460.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.6001, allocations: 0 / 460.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/0.6002, allocations: 23.94 kB / 460.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.638e-06/0.6002, allocations: 0 / 460.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.061e-06/0.6002, allocations: 4 kB / 460.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009781/0.6012, allocations: 0.5488 MB / 460.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/0.6016, allocations: 252.4 kB / 461 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.293e-05/0.6017, allocations: 12 kB / 461.1 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.602, allocations: 19.94 kB / 461.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.6021, allocations: 31.97 kB / 461.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/0.6023, allocations: 123.7 kB / 461.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006581/0.603, allocations: 388.9 kB / 461.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.603, allocations: 3.938 kB / 461.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.6034, allocations: 48 kB / 461.7 MB, free: 11.84 MB / 378.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.0001815/0.6036, allocations: 119.7 kB / 461.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000699/0.6043, allocations: 449.5 kB / 462.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.011e-06/0.6044, allocations: 0 / 462.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.6048, allocations: 377.6 kB / 462.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.6054, allocations: 109.1 kB / 462.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.6067, allocations: 0.5348 MB / 463.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.6074, allocations: 0.8065 MB / 464 MB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.6074, allocations: 16.58 kB / 464 MB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.6075, allocations: 11.44 kB / 464.1 MB, free: 9.273 MB / 378.7 MB Notification: Performance of SimCode: time 1.509e-06/0.6075, allocations: 0 / 464.1 MB, free: 9.273 MB / 378.7 MB Notification: Performance of Templates: time 0.01186/0.6193, allocations: 5.769 MB / 469.8 MB, free: 3.484 MB / 378.7 MB