Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadModel(Modelica): time 2.152/2.152, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.299e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002289/0.1177, allocations: 1.238 MB / 346.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004563/0.1182, allocations: 151.5 kB / 346.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.1183, allocations: 0 / 346.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.682e-05/0.1184, allocations: 7.938 kB / 346.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.786e-05/0.1185, allocations: 0 / 346.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1188, allocations: 31.89 kB / 346.4 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.1189, allocations: 23.97 kB / 346.4 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.119, allocations: 8 kB / 346.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.119, allocations: 11.92 kB / 346.4 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.1191, allocations: 19.86 kB / 346.5 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.1191, allocations: 8 kB / 346.5 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1191, allocations: 0 / 346.5 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.1192, allocations: 15.92 kB / 346.5 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.1192, allocations: 4 kB / 346.5 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1194, allocations: 39.88 kB / 346.5 MB, free: 7.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1194, allocations: 0 / 346.5 MB, free: 7.391 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1194, allocations: 0 / 346.5 MB, free: 7.391 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.1194, allocations: 0 / 346.5 MB, free: 7.391 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005649/0.12, allocations: 367.5 kB / 346.9 MB, free: 6.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.12, allocations: 8.031 kB / 346.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1201, allocations: 11.86 kB / 346.9 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1203, allocations: 190.9 kB / 347.1 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1204, allocations: 0 / 347.1 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1204, allocations: 4 kB / 347.1 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.1208, allocations: 125.9 kB / 347.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1208, allocations: 3.938 kB / 347.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1208, allocations: 7.953 kB / 347.2 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.1209, allocations: 4 kB / 347.2 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.1211, allocations: 43.97 kB / 347.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.1217, allocations: 373.8 kB / 347.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.1219, allocations: 87.77 kB / 347.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.122, allocations: 64 / 347.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.122, allocations: 42.52 kB / 347.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.122, allocations: 4 kB / 347.8 MB, free: 5.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006015/0.1226, allocations: 194.6 kB / 348 MB, free: 5.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/0.1227, allocations: 111.1 kB / 348.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1229, allocations: 132.1 kB / 348.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.123, allocations: 25.7 kB / 348.2 MB, free: 5.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.1231, allocations: 158.5 kB / 348.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.1231, allocations: 3.906 kB / 348.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.1231, allocations: 4 kB / 348.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1233, allocations: 318.8 kB / 348.7 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1234, allocations: 19.98 kB / 348.7 MB, free: 4.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1235, allocations: 43.42 kB / 348.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1237, allocations: 27.98 kB / 348.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1237, allocations: 0 / 348.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003063/0.124, allocations: 89.48 kB / 348.9 MB, free: 4.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1241, allocations: 7.938 kB / 348.9 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1241, allocations: 4.125 kB / 348.9 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1241, allocations: 4 kB / 348.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1242, allocations: 12 kB / 348.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.1243, allocations: 7.984 kB / 348.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.1243, allocations: 4 kB / 348.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1244, allocations: 4 kB / 348.9 MB, free: 4.707 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001408/0.1245, allocations: 121.8 kB / 349 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.1246, allocations: 53.5 kB / 349.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.1247, allocations: 15.86 kB / 349.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.1247, allocations: 4 kB / 349.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1248, allocations: 0 / 349.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1248, allocations: 0 / 349.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.1251, allocations: 185.6 kB / 349.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1251, allocations: 0 / 349.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/0.1252, allocations: 11.98 kB / 349.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1252, allocations: 0 / 349.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1252, allocations: 7.984 kB / 349.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1252, allocations: 4 kB / 349.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1253, allocations: 0 / 349.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.1257, allocations: 303 kB / 349.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.1258, allocations: 89 kB / 349.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1258, allocations: 4 kB / 349.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.126, allocations: 15.92 kB / 349.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.126, allocations: 0 / 349.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1261, allocations: 4 kB / 349.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1262, allocations: 111.2 kB / 349.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1262, allocations: 0 / 349.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.1265, allocations: 4 kB / 349.8 MB, free: 3.676 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.0001509/0.1267, allocations: 109.6 kB / 349.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000331/0.127, allocations: 63.95 kB / 350 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1271, allocations: 0 / 350 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1272, allocations: 19.92 kB / 350 MB, free: 3.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.1276, allocations: 27.97 kB / 350.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.1281, allocations: 224.4 kB / 350.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1285, allocations: 0.6965 MB / 351 MB, free: 2.465 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.1286, allocations: 11.44 kB / 351 MB, free: 2.453 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1286, allocations: 0 / 351 MB, free: 2.453 MB / 282.7 MB Notification: Performance of Templates: time 0.003004/0.1316, allocations: 0.8125 MB / 351.8 MB, free: 1.641 MB / 282.7 MB