Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.876e-05, allocations: 4 kB / 292.1 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 50.41 MB / 342.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3742/0.4864, allocations: 82.95 MB / 425.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.4866, allocations: 76.81 kB / 425.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09945/0.5861, allocations: 28.4 MB / 454 MB, free: 3.527 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5861, allocations: 0 / 454 MB, free: 3.527 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.5862, allocations: 4 kB / 454 MB, free: 3.523 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.0007729/0.587, allocations: 0.6177 MB / 454.6 MB, free: 2.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.587, allocations: 12.03 kB / 454.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.922e-05/0.5871, allocations: 39.48 kB / 454.6 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.5875, allocations: 265.4 kB / 454.9 MB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.5876, allocations: 4 kB / 454.9 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.5876, allocations: 8 kB / 454.9 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.588, allocations: 145.6 kB / 455.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.818e-06/0.5881, allocations: 0 / 455.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.009e-05/0.5881, allocations: 8 kB / 455.1 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-06/0.5881, allocations: 0 / 455.1 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.5883, allocations: 67.94 kB / 455.1 MB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009526/0.5893, allocations: 480.5 kB / 455.6 MB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.5896, allocations: 102.5 kB / 455.7 MB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.5898, allocations: 92.94 kB / 455.8 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.67e-06/0.5899, allocations: 4 kB / 455.8 MB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004714/0.5903, allocations: 226.6 kB / 456 MB, free: 1.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.344e-06/0.5904, allocations: 0 / 456 MB, free: 1.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001022/0.5914, allocations: 444 kB / 456.5 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.5915, allocations: 166.2 kB / 456.6 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008386/0.5924, allocations: 462.5 kB / 457.1 MB, free: 160 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.5925, allocations: 29.7 kB / 457.1 MB, free: 124 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.5926, allocations: 105.1 kB / 457.2 MB, free: 16 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.5927, allocations: 23.8 kB / 457.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.5927, allocations: 7.984 kB / 457.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5929, allocations: 326.7 kB / 457.5 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.5931, allocations: 63.98 kB / 457.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.5933, allocations: 59.98 kB / 457.7 MB, free: 15.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.5936, allocations: 174.7 kB / 457.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.206e-06/0.5937, allocations: 0 / 457.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008797/0.5946, allocations: 420.8 kB / 458.3 MB, free: 14.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.5947, allocations: 126.8 kB / 458.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.345e-06/0.5947, allocations: 0 / 458.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5948, allocations: 3.953 kB / 458.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.905e-05/0.5948, allocations: 0 / 458.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.975e-06/0.5948, allocations: 0 / 458.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.595, allocations: 16.05 kB / 458.4 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.5952, allocations: 123.8 kB / 458.5 MB, free: 14.61 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.0002599/0.5955, allocations: 241.5 kB / 458.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.5956, allocations: 43.61 kB / 458.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.5958, allocations: 63.44 kB / 458.9 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.686e-06/0.5958, allocations: 3.953 kB / 458.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5958, allocations: 0 / 458.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.521e-06/0.5958, allocations: 0 / 458.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.5973, allocations: 0.8368 MB / 459.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-06/0.5974, allocations: 0 / 459.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.5974, allocations: 7.984 kB / 459.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.5974, allocations: 0 / 459.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.5975, allocations: 27.94 kB / 459.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.5975, allocations: 0 / 459.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.006e-06/0.5975, allocations: 0 / 459.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.5988, allocations: 0.5486 MB / 460.3 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.5993, allocations: 252.4 kB / 460.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.64e-05/0.5994, allocations: 8 kB / 460.5 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.5997, allocations: 23.92 kB / 460.6 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.5998, allocations: 35.97 kB / 460.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/0.6, allocations: 123.7 kB / 460.7 MB, free: 12.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006908/0.6007, allocations: 384.9 kB / 461.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.6007, allocations: 4 kB / 461.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004367/0.6012, allocations: 40 kB / 461.1 MB, free: 11.82 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.0001947/0.6014, allocations: 119 kB / 461.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007555/0.6022, allocations: 449.5 kB / 461.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.515e-06/0.6022, allocations: 4 kB / 461.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.6027, allocations: 377.6 kB / 462.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.6033, allocations: 111.6 kB / 462.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.6046, allocations: 0.5348 MB / 462.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.6053, allocations: 0.8065 MB / 463.5 MB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.573e-05/0.6054, allocations: 8.656 kB / 463.5 MB, free: 9.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.6054, allocations: 15.44 kB / 463.5 MB, free: 9.258 MB / 378.7 MB Notification: Performance of SimCode: time 1.835e-06/0.6054, allocations: 0 / 463.5 MB, free: 9.258 MB / 378.7 MB Notification: Performance of Templates: time 0.01769/0.6231, allocations: 5.757 MB / 469.3 MB, free: 3.477 MB / 378.7 MB