Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadModel(Modelica): time 1.717/1.717, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.75e-05, allocations: 4 kB / 225 MB, free: 2.793 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.215, allocations: 38.77 MB / 263.8 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.3888, allocations: 72.25 MB / 336 MB, free: 1.527 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004366/0.3893, allocations: 67.97 kB / 336.1 MB, free: 1.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1001/0.4894, allocations: 28.46 MB / 364.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4894, allocations: 0 / 364.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.4895, allocations: 4 kB / 364.5 MB, free: 5.086 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.0007536/0.4902, allocations: 0.6214 MB / 365.2 MB, free: 4.395 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4903, allocations: 12.03 kB / 365.2 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/0.4904, allocations: 35.53 kB / 365.2 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.4908, allocations: 257.5 kB / 365.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.4909, allocations: 8 kB / 365.5 MB, free: 4.047 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.4909, allocations: 11.94 kB / 365.5 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.4913, allocations: 145.6 kB / 365.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4913, allocations: 3.953 kB / 365.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.4914, allocations: 4 kB / 365.6 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-06/0.4914, allocations: 0 / 365.6 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.4916, allocations: 63.97 kB / 365.7 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.4925, allocations: 476.6 kB / 366.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.4928, allocations: 102.5 kB / 366.2 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.493, allocations: 84.89 kB / 366.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.493, allocations: 8 kB / 366.3 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.4934, allocations: 222.6 kB / 366.6 MB, free: 2.855 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.166e-06/0.4934, allocations: 0 / 366.6 MB, free: 2.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009523/0.4944, allocations: 439.8 kB / 367 MB, free: 2.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.4945, allocations: 162.2 kB / 367.1 MB, free: 2.199 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/0.4954, allocations: 470.5 kB / 367.6 MB, free: 1.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.4954, allocations: 29.7 kB / 367.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.4955, allocations: 167.6 kB / 367.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.4956, allocations: 31.59 kB / 367.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.4957, allocations: 4 kB / 367.8 MB, free: 1.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4958, allocations: 318.8 kB / 368.1 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.496, allocations: 59.98 kB / 368.2 MB, free: 1.121 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.4962, allocations: 70.58 kB / 368.3 MB, free: 1.055 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.4965, allocations: 170.8 kB / 368.4 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.73e-06/0.4965, allocations: 0 / 368.4 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008124/0.4973, allocations: 400.3 kB / 368.8 MB, free: 452 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.4975, allocations: 122.8 kB / 368.9 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4975, allocations: 4 kB / 369 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4975, allocations: 0 / 369 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.838e-05/0.4975, allocations: 0 / 369 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.668e-06/0.4976, allocations: 0 / 369 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.4978, allocations: 23.89 kB / 369 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.498, allocations: 119.7 kB / 369.1 MB, free: 156 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.1782/0.6762, allocations: 239.5 kB / 369.3 MB, free: 89.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.6764, allocations: 42.75 kB / 369.4 MB, free: 89.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.6767, allocations: 70.83 kB / 369.4 MB, free: 89.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.868e-06/0.6767, allocations: 1 kB / 369.4 MB, free: 89.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.18e-06/0.6767, allocations: 0.5 kB / 369.4 MB, free: 89.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.924e-06/0.6767, allocations: 1.734 kB / 369.4 MB, free: 89.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.6783, allocations: 0.8463 MB / 370.3 MB, free: 89.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.24e-06/0.6783, allocations: 0 / 370.3 MB, free: 89.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.6783, allocations: 1.406 kB / 370.3 MB, free: 89.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.985e-06/0.6783, allocations: 0.8438 kB / 370.3 MB, free: 89.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/0.6784, allocations: 24.08 kB / 370.3 MB, free: 89.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.656e-06/0.6784, allocations: 1.297 kB / 370.3 MB, free: 89.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.877e-06/0.6784, allocations: 3.781 kB / 370.3 MB, free: 89.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.6795, allocations: 0.5453 MB / 370.9 MB, free: 89.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.68, allocations: 252 kB / 371.1 MB, free: 88.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.6801, allocations: 11.53 kB / 371.1 MB, free: 88.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.6804, allocations: 19.67 kB / 371.1 MB, free: 88.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.6805, allocations: 38.66 kB / 371.2 MB, free: 88.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/0.6808, allocations: 125 kB / 371.3 MB, free: 88.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005869/0.6814, allocations: 384.3 kB / 371.7 MB, free: 88.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.6814, allocations: 0 / 371.7 MB, free: 88.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004327/0.6818, allocations: 42.22 kB / 371.7 MB, free: 88.84 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.0001528/0.682, allocations: 118.6 kB / 371.8 MB, free: 88.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005629/0.6826, allocations: 444.6 kB / 372.3 MB, free: 88.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.09e-06/0.6826, allocations: 0 / 372.3 MB, free: 88.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.6829, allocations: 381.7 kB / 372.6 MB, free: 88.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.6835, allocations: 97.52 kB / 372.7 MB, free: 88.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.6847, allocations: 0.5744 MB / 373.3 MB, free: 88.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.6851, allocations: 0.8169 MB / 374.1 MB, free: 87.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.6852, allocations: 11.34 kB / 374.1 MB, free: 87.28 MB / 314.7 MB Notification: Performance of SimCode: time 2.429e-06/0.6852, allocations: 0 / 374.1 MB, free: 87.28 MB / 314.7 MB Notification: Performance of Templates: time 0.005819/0.691, allocations: 3.774 MB / 377.9 MB, free: 86.95 MB / 314.7 MB