Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.73e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.41 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREG): time 0.002354/0.1149, allocations: 1.4 MB / 346.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.1178, allocations: 0.8818 MB / 347.3 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.118, allocations: 4 kB / 347.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1181, allocations: 23.84 kB / 347.3 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.1183, allocations: 31.89 kB / 347.3 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.1186, allocations: 75.78 kB / 347.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1189, allocations: 151.8 kB / 347.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.1192, allocations: 56.14 kB / 347.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000844/0.12, allocations: 0.5108 MB / 348.1 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.1203, allocations: 159.7 kB / 348.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1204, allocations: 8 kB / 348.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.1205, allocations: 8 kB / 348.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.1208, allocations: 151.5 kB / 348.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.121, allocations: 40 kB / 348.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.1222, allocations: 0.8577 MB / 349.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1222, allocations: 4 kB / 349.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1222, allocations: 0 / 349.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.1223, allocations: 4 kB / 349.3 MB, free: 4.586 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001346/0.1236, allocations: 0.9854 MB / 350.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.1237, allocations: 12.02 kB / 350.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.1239, allocations: 86.97 kB / 350.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/0.1247, allocations: 411.5 kB / 350.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.1247, allocations: 23.92 kB / 350.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.1249, allocations: 28 kB / 350.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.1262, allocations: 0.4982 MB / 351.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1263, allocations: 11.92 kB / 351.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.1264, allocations: 11.95 kB / 351.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1264, allocations: 4 kB / 351.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009776/0.1274, allocations: 371.9 kB / 351.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.1295, allocations: 0.9183 MB / 352.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.1308, allocations: 0.5102 MB / 353.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.1308, allocations: 0 / 353.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.1321, allocations: 0.6345 MB / 353.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 3.226e-06/0.1322, allocations: 0 / 353.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.003999/0.1362, allocations: 1.754 MB / 355.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002338/0.1365, allocations: 283.3 kB / 355.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/0.1389, allocations: 1.034 MB / 356.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.1391, allocations: 37.69 kB / 356.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1393, allocations: 196.5 kB / 357.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.1394, allocations: 71.02 kB / 357.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.1395, allocations: 12 kB / 357.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1397, allocations: 330.8 kB / 357.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009127/0.1406, allocations: 343.8 kB / 357.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009218/0.1415, allocations: 378.2 kB / 358.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009187/0.1425, allocations: 0.4968 MB / 358.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1425, allocations: 4 kB / 358.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002544/0.145, allocations: 1.09 MB / 359.8 MB, free: 9.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002566/0.1453, allocations: 248 kB / 360 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1454, allocations: 7.938 kB / 360.1 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1454, allocations: 3.984 kB / 360.1 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.465e-05/0.1454, allocations: 4 kB / 360.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1454, allocations: 0 / 360.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/0.1461, allocations: 43.81 kB / 360.1 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.1463, allocations: 119.9 kB / 360.2 MB, free: 9.109 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.001471/0.1478, allocations: 0.7796 MB / 361 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.148, allocations: 87.06 kB / 361.1 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.1485, allocations: 147.5 kB / 361.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1485, allocations: 0 / 361.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1485, allocations: 0 / 361.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1485, allocations: 0 / 361.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.1528, allocations: 1.954 MB / 363.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.1528, allocations: 4 kB / 363.2 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.1529, allocations: 3.938 kB / 363.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.1529, allocations: 0 / 363.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.153, allocations: 39.92 kB / 363.2 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.153, allocations: 0 / 363.2 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.153, allocations: 4 kB / 363.2 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.1565, allocations: 1.381 MB / 364.6 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.158, allocations: 0.5581 MB / 365.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.1583, allocations: 59.95 kB / 365.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.1589, allocations: 35.97 kB / 365.3 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006639/0.1596, allocations: 231.8 kB / 365.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/0.1599, allocations: 124 kB / 365.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002136/0.1621, allocations: 0.8537 MB / 366.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.997e-06/0.1621, allocations: 0 / 366.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000818/0.163, allocations: 127.8 kB / 366.6 MB, free: 2.5 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.0003736/0.1633, allocations: 196.4 kB / 366.8 MB, free: 2.301 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00294/0.1663, allocations: 1.53 MB / 368.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.1664, allocations: 0 / 368.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.1684, allocations: 1.144 MB / 369.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.1702, allocations: 264.1 kB / 369.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.1753, allocations: 2.21 MB / 371.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.1765, allocations: 1.035 MB / 373 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.1766, allocations: 19.38 kB / 373 MB, free: 11.87 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1766, allocations: 0 / 373 MB, free: 11.87 MB / 314.7 MB Notification: Performance of Templates: time 0.01641/0.193, allocations: 7.524 MB / 380.5 MB, free: 4.25 MB / 314.7 MB