Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.078e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.079/0.07905, allocations: 44.49 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.418, allocations: 77.59 MB / 377.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.4183, allocations: 67.33 kB / 377.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07954/0.4978, allocations: 28.02 MB / 405.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4979, allocations: 0 / 405.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.4979, allocations: 3.906 kB / 405.6 MB, free: 17.95 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.0004901/0.4984, allocations: 0.6098 MB / 406.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4984, allocations: 11.72 kB / 406.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.4985, allocations: 39.06 kB / 406.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.4988, allocations: 259.7 kB / 406.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.4989, allocations: 11.22 kB / 406.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.4989, allocations: 11.84 kB / 406.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.4993, allocations: 149.3 kB / 406.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.642e-06/0.4993, allocations: 0 / 406.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.4993, allocations: 7.891 kB / 406.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4993, allocations: 0 / 406.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.4995, allocations: 60.3 kB / 406.7 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.5003, allocations: 489.6 kB / 407.2 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.5005, allocations: 101.9 kB / 407.3 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.5007, allocations: 88.31 kB / 407.4 MB, free: 16.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.5007, allocations: 0 / 407.4 MB, free: 16.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.501, allocations: 218.6 kB / 407.6 MB, free: 16.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.708e-06/0.501, allocations: 3.938 kB / 407.6 MB, free: 16.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007833/0.5018, allocations: 445.2 kB / 408 MB, free: 16.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.5019, allocations: 169.3 kB / 408.2 MB, free: 16.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006522/0.5026, allocations: 464.9 kB / 408.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.5026, allocations: 29.61 kB / 408.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.5027, allocations: 99.09 kB / 408.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.5028, allocations: 31.02 kB / 408.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.5028, allocations: 3.906 kB / 408.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.5029, allocations: 326.3 kB / 409.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.5031, allocations: 68.25 kB / 409.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.5032, allocations: 64.52 kB / 409.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.5034, allocations: 172.3 kB / 409.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.632e-06/0.5034, allocations: 0 / 409.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007158/0.5042, allocations: 413.7 kB / 409.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.5043, allocations: 121.9 kB / 409.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.445e-06/0.5043, allocations: 112 / 409.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5043, allocations: 3.938 kB / 409.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.857e-05/0.5043, allocations: 3.906 kB / 409.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.497e-06/0.5044, allocations: 0 / 409.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.5045, allocations: 19.77 kB / 410 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.5047, allocations: 117.2 kB / 410.1 MB, free: 14.84 MB / 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.0001589/0.5049, allocations: 244.6 kB / 410.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.5049, allocations: 35.16 kB / 410.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.5051, allocations: 65.89 kB / 410.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-06/0.5051, allocations: 3.938 kB / 410.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.352e-06/0.5051, allocations: 0 / 410.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.653e-06/0.5052, allocations: 0 / 410.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.5064, allocations: 0.8484 MB / 411.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5064, allocations: 0 / 411.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-06/0.5064, allocations: 0 / 411.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.522e-06/0.5064, allocations: 0 / 411.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/0.5065, allocations: 23.83 kB / 411.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5065, allocations: 3.984 kB / 411.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.691e-06/0.5065, allocations: 0 / 411.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.5073, allocations: 0.5677 MB / 411.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.5077, allocations: 254.2 kB / 412.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.342e-05/0.5078, allocations: 11.03 kB / 412.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.5081, allocations: 11.77 kB / 412.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.5082, allocations: 30.59 kB / 412.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.5084, allocations: 121.6 kB / 412.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005752/0.509, allocations: 386.1 kB / 412.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.509, allocations: 0 / 412.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004238/0.5094, allocations: 50.59 kB / 412.7 MB, free: 13.25 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.0001428/0.5096, allocations: 117.9 kB / 412.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.5101, allocations: 445.4 kB / 413.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.921e-06/0.5101, allocations: 0 / 413.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.5105, allocations: 381.7 kB / 413.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.5111, allocations: 112.5 kB / 413.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.5123, allocations: 0.5373 MB / 414.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.5127, allocations: 0.8077 MB / 415.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.5128, allocations: 8.562 kB / 415.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.5128, allocations: 11.34 kB / 415.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.721e-06/0.5128, allocations: 0 / 415.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of Templates: time 0.01054/0.5234, allocations: 5.755 MB / 420.9 MB, free: 8.629 MB / 314.7 MB