Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadModel(Modelica): time 2.07/2.07, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.965e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 50.41 MB / 345 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00215/0.1143, allocations: 1.209 MB / 346.2 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1169, allocations: 0.7805 MB / 347 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.117, allocations: 8 kB / 347 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.517e-05/0.1171, allocations: 7.922 kB / 347 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.226e-05/0.1172, allocations: 11.98 kB / 347 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1174, allocations: 39.88 kB / 347 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1175, allocations: 47.89 kB / 347.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.1177, allocations: 12 kB / 347.1 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.1182, allocations: 283.6 kB / 347.4 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1184, allocations: 71.81 kB / 347.4 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.667e-05/0.1184, allocations: 8 kB / 347.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.1185, allocations: 4 kB / 347.4 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1186, allocations: 67.69 kB / 347.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.1187, allocations: 16 kB / 347.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.1191, allocations: 279.4 kB / 347.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1191, allocations: 3.938 kB / 347.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.1192, allocations: 0 / 347.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1192, allocations: 4 kB / 347.8 MB, free: 6.121 MB / 282.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.0007396/0.1199, allocations: 0.6109 MB / 348.4 MB, free: 5.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.12, allocations: 8.031 kB / 348.4 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.686e-05/0.1201, allocations: 39.62 kB / 348.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.1205, allocations: 257.3 kB / 348.7 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.1205, allocations: 8 kB / 348.7 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.1206, allocations: 8 kB / 348.7 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.121, allocations: 121.6 kB / 348.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.121, allocations: 0 / 348.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.1211, allocations: 11.95 kB / 348.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1211, allocations: 0 / 348.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.1213, allocations: 59.91 kB / 348.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009242/0.1223, allocations: 456.6 kB / 349.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.1226, allocations: 90.55 kB / 349.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1226, allocations: 3.953 kB / 349.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/0.1231, allocations: 210.7 kB / 349.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 5.23e-06/0.1231, allocations: 0 / 349.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.001354/0.1245, allocations: 0.6037 MB / 350.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.1246, allocations: 170.2 kB / 350.4 MB, free: 3.184 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/0.1256, allocations: 464.5 kB / 350.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.1257, allocations: 33.7 kB / 350.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1258, allocations: 163.4 kB / 351.1 MB, free: 2.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.1259, allocations: 27.81 kB / 351.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.126, allocations: 11.94 kB / 351.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1261, allocations: 314.8 kB / 351.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.1263, allocations: 59.97 kB / 351.5 MB, free: 2.105 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.1266, allocations: 69.06 kB / 351.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1269, allocations: 166.8 kB / 351.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1269, allocations: 0 / 351.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009006/0.1278, allocations: 356.4 kB / 352.1 MB, free: 1.469 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.1279, allocations: 130.8 kB / 352.2 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.128, allocations: 4.031 kB / 352.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.128, allocations: 0 / 352.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-05/0.128, allocations: 11.97 kB / 352.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.128, allocations: 0 / 352.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.1283, allocations: 15.91 kB / 352.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/0.1284, allocations: 36 kB / 352.3 MB, free: 1.25 MB / 282.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.0005324/0.129, allocations: 370.2 kB / 352.6 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/0.1291, allocations: 39.61 kB / 352.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.1292, allocations: 71.11 kB / 352.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1293, allocations: 3.938 kB / 352.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1293, allocations: 0 / 352.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1293, allocations: 0 / 352.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.1308, allocations: 0.802 MB / 353.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1309, allocations: 0 / 353.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.1309, allocations: 3.953 kB / 353.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1309, allocations: 4.188 kB / 353.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.131, allocations: 16 kB / 353.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.131, allocations: 0 / 353.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.131, allocations: 4 kB / 353.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1321, allocations: 0.5096 MB / 354.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/0.1327, allocations: 248.4 kB / 354.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.832e-05/0.1328, allocations: 11.95 kB / 354.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.133, allocations: 15.98 kB / 354.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.1332, allocations: 23.97 kB / 354.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/0.1333, allocations: 47.88 kB / 354.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008008/0.1341, allocations: 398.8 kB / 354.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1341, allocations: 0 / 354.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004197/0.1346, allocations: 44 kB / 354.8 MB, free: 14.49 MB / 298.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.0002096/0.1348, allocations: 115 kB / 355 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008945/0.1357, allocations: 433.5 kB / 355.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1357, allocations: 0 / 355.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.1363, allocations: 377.6 kB / 355.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.1371, allocations: 100.3 kB / 355.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.139, allocations: 0.7756 MB / 356.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.1397, allocations: 0.8141 MB / 357.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.1398, allocations: 11.44 kB / 357.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1398, allocations: 0 / 357.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of Templates: time 0.006625/0.1464, allocations: 2.521 MB / 360 MB, free: 9.188 MB / 298.7 MB