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 2.3/2.3, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.19e-05, allocations: 4 kB / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3269, allocations: 44.5 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002187/0.3291, allocations: 1.194 MB / 304.5 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.3319, allocations: 0.819 MB / 305.3 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.3321, allocations: 2.406 kB / 305.3 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.721e-05/0.3322, allocations: 7.922 kB / 305.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3323, allocations: 18.59 kB / 305.3 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.3325, allocations: 34.41 kB / 305.4 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3327, allocations: 53 kB / 305.4 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.3328, allocations: 16.67 kB / 305.4 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.3334, allocations: 283.9 kB / 305.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.3336, allocations: 70.14 kB / 305.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.797e-05/0.3336, allocations: 2.969 kB / 305.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.3337, allocations: 4 kB / 305.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3338, allocations: 68.06 kB / 305.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.3339, allocations: 14.47 kB / 305.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.3343, allocations: 281.9 kB / 306.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3343, allocations: 0 / 306.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3344, allocations: 1.375 kB / 306.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.3344, allocations: 4 kB / 306.1 MB, free: 10.67 MB / 250.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.0008441/0.3352, allocations: 0.6046 MB / 306.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3353, allocations: 13.06 kB / 306.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.3354, allocations: 38.08 kB / 306.8 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.3359, allocations: 257.5 kB / 307 MB, free: 9.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.3359, allocations: 4.5 kB / 307 MB, free: 9.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.336, allocations: 12.16 kB / 307.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.3364, allocations: 126.2 kB / 307.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3365, allocations: 0 / 307.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.3365, allocations: 8 kB / 307.2 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3365, allocations: 4 kB / 307.2 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.3368, allocations: 59.91 kB / 307.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3378, allocations: 468.4 kB / 307.7 MB, free: 9.098 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.3382, allocations: 102.5 kB / 307.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.3382, allocations: 0 / 307.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004893/0.3387, allocations: 202.8 kB / 308 MB, free: 8.766 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.3387, allocations: 0 / 308 MB, free: 8.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001385/0.3401, allocations: 0.5997 MB / 308.6 MB, free: 8.098 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.3402, allocations: 170.1 kB / 308.8 MB, free: 7.895 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3413, allocations: 468.5 kB / 309.2 MB, free: 7.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.3414, allocations: 33.7 kB / 309.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3415, allocations: 163.6 kB / 309.4 MB, free: 7.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.3416, allocations: 27.62 kB / 309.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.3416, allocations: 3.984 kB / 309.5 MB, free: 7.199 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3418, allocations: 318.8 kB / 309.8 MB, free: 6.879 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.342, allocations: 51.97 kB / 309.8 MB, free: 6.828 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.3423, allocations: 75.52 kB / 309.9 MB, free: 6.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.3426, allocations: 178.8 kB / 310.1 MB, free: 6.551 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3426, allocations: 0 / 310.1 MB, free: 6.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008785/0.3435, allocations: 356.4 kB / 310.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.3437, allocations: 126.7 kB / 310.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3437, allocations: 0 / 310.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3437, allocations: 0 / 310.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.732e-05/0.3437, allocations: 0 / 310.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3438, allocations: 7.938 kB / 310.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.3441, allocations: 20.05 kB / 310.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/0.3442, allocations: 47.88 kB / 310.6 MB, free: 5.949 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,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: 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.000606/0.3448, allocations: 358.3 kB / 311 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3449, allocations: 43.52 kB / 311 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.3451, allocations: 71.14 kB / 311.1 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3451, allocations: 0 / 311.1 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3452, allocations: 0 / 311.1 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.3452, allocations: 3.953 kB / 311.1 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.3469, allocations: 0.7939 MB / 311.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3469, allocations: 0 / 311.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.597e-05/0.3469, allocations: 7.938 kB / 311.9 MB, free: 4.562 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.347, allocations: 0 / 311.9 MB, free: 4.562 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.347, allocations: 12 kB / 311.9 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.347, allocations: 3.953 kB / 311.9 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.347, allocations: 0 / 311.9 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3482, allocations: 0.514 MB / 312.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/0.3488, allocations: 244.4 kB / 312.6 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3489, allocations: 16.06 kB / 312.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.3492, allocations: 15.98 kB / 312.7 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.3494, allocations: 31.92 kB / 312.7 MB, free: 3.672 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.571e-05/0.3495, allocations: 40 kB / 312.7 MB, free: 3.633 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008603/0.3503, allocations: 390.8 kB / 313.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.3503, allocations: 0 / 313.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.3508, allocations: 43.91 kB / 313.2 MB, free: 3.207 MB / 250.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.0002032/0.351, allocations: 119 kB / 313.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008792/0.3519, allocations: 441.5 kB / 313.7 MB, free: 2.598 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.352, allocations: 0 / 313.7 MB, free: 2.598 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.3525, allocations: 373.6 kB / 314.1 MB, free: 2.184 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/0.3534, allocations: 105 kB / 314.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.3554, allocations: 0.7836 MB / 315 MB, free: 1.273 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/0.3561, allocations: 0.8064 MB / 315.8 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.3562, allocations: 15.44 kB / 315.8 MB, free: 436 kB / 250.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3562, allocations: 0 / 315.8 MB, free: 436 kB / 250.7 MB Notification: Performance of Templates: time 0.007214/0.3634, allocations: 2.531 MB / 318.3 MB, free: 13.87 MB / 266.7 MB