Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadModel(Modelica): time 1.84/1.84, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.633e-05, allocations: 7.312 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07961/0.07966, allocations: 44.51 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/0.4137, allocations: 77.58 MB / 377.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.4139, allocations: 67.56 kB / 377.5 MB, free: 22.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07959/0.4935, allocations: 28.02 MB / 405.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.809e-06/0.4935, allocations: 0 / 405.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.4936, allocations: 3.844 kB / 405.5 MB, free: 18.32 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.000494/0.4941, allocations: 0.62 MB / 406.1 MB, free: 17.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4941, allocations: 7.812 kB / 406.2 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.4942, allocations: 39.16 kB / 406.2 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.4945, allocations: 264.1 kB / 406.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.4945, allocations: 3.906 kB / 406.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.4946, allocations: 7.875 kB / 406.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.4949, allocations: 150.8 kB / 406.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.135e-06/0.4949, allocations: 0 / 406.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.495, allocations: 7.906 kB / 406.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-06/0.495, allocations: 0 / 406.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.4952, allocations: 61.3 kB / 406.7 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.4959, allocations: 483.1 kB / 407.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.4961, allocations: 99.27 kB / 407.2 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.4963, allocations: 88.28 kB / 407.3 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.124e-06/0.4963, allocations: 3.984 kB / 407.3 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.4967, allocations: 230.4 kB / 407.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.776e-06/0.4967, allocations: 3.906 kB / 407.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008063/0.4975, allocations: 440.3 kB / 408 MB, free: 16.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.4976, allocations: 165.6 kB / 408.2 MB, free: 16.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006506/0.4983, allocations: 466.1 kB / 408.6 MB, free: 16.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.4983, allocations: 37.09 kB / 408.6 MB, free: 16.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.4984, allocations: 162.5 kB / 408.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.4984, allocations: 27.28 kB / 408.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.4985, allocations: 0 / 408.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.4985, allocations: 326.3 kB / 409.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.4987, allocations: 61.08 kB / 409.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.4989, allocations: 64.62 kB / 409.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.4991, allocations: 170.5 kB / 409.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.93e-06/0.4991, allocations: 7.906 kB / 409.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007005/0.4998, allocations: 403.4 kB / 409.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.253e-05/0.4999, allocations: 127.3 kB / 410 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.379e-06/0.4999, allocations: 0 / 410 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5, allocations: 0 / 410 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-05/0.5, allocations: 0 / 410 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.5, allocations: 3.938 kB / 410 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.5002, allocations: 11.86 kB / 410 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.5004, allocations: 121.2 kB / 410.1 MB, free: 15.15 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.0001701/0.5006, allocations: 248.1 kB / 410.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.5006, allocations: 43.05 kB / 410.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.5008, allocations: 62.44 kB / 410.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.5008, allocations: 7.844 kB / 410.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.263e-06/0.5008, allocations: 3.938 kB / 410.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.859e-06/0.5008, allocations: 0 / 410.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.502, allocations: 0.8388 MB / 411.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-06/0.502, allocations: 0 / 411.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-06/0.5021, allocations: 0 / 411.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.303e-06/0.5021, allocations: 4 kB / 411.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.5021, allocations: 19.61 kB / 411.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.388e-06/0.5021, allocations: 3.906 kB / 411.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.737e-06/0.5021, allocations: 0 / 411.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.503, allocations: 0.5603 MB / 411.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/0.5034, allocations: 253.4 kB / 412.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/0.5035, allocations: 11.44 kB / 412.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.5037, allocations: 19.61 kB / 412.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.5039, allocations: 34.8 kB / 412.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.504, allocations: 117.3 kB / 412.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005362/0.5046, allocations: 387.4 kB / 412.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.88e-07/0.5046, allocations: 3.938 kB / 412.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.505, allocations: 39.16 kB / 412.7 MB, free: 13.56 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.0001452/0.5052, allocations: 122.5 kB / 412.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005345/0.5057, allocations: 447 kB / 413.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5057, allocations: 3.938 kB / 413.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.5061, allocations: 378.3 kB / 413.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.5066, allocations: 103.7 kB / 413.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.5077, allocations: 0.5826 MB / 414.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.5081, allocations: 0.8121 MB / 415.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.5081, allocations: 11.34 kB / 415.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.448e-06/0.5081, allocations: 0 / 415.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of Templates: time 0.005829/0.514, allocations: 3.843 MB / 419 MB, free: 9.891 MB / 314.7 MB