Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadModel(ModelicaTest): time 2.459/2.459, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.909e-05, allocations: 4 kB / 349 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 61.88 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.000582/0.1269, allocations: 196.7 kB / 411.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.1277, allocations: 271.4 kB / 411.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.506e-05/0.1278, allocations: 0 / 411.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.566e-06/0.1278, allocations: 0 / 411.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.569e-06/0.1278, allocations: 0 / 411.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1282, allocations: 59.84 kB / 411.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.786e-05/0.1283, allocations: 0 / 411.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.1283, allocations: 11.98 kB / 411.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.488e-05/0.1283, allocations: 0 / 411.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.1287, allocations: 51.91 kB / 411.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.1289, allocations: 79.89 kB / 411.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.1289, allocations: 4 kB / 411.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-06/0.129, allocations: 7.938 kB / 411.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.819e-06/0.129, allocations: 0 / 411.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1291, allocations: 55.89 kB / 411.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1292, allocations: 4 kB / 411.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.1292, allocations: 0 / 411.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1292, allocations: 7.938 kB / 411.6 MB, free: 12.16 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003297/0.1295, allocations: 353.1 kB / 412 MB, free: 11.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1296, allocations: 8.031 kB / 412 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.1296, allocations: 0 / 412 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.1297, allocations: 167.1 kB / 412.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1298, allocations: 0 / 412.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1298, allocations: 3.984 kB / 412.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.29e-05/0.1299, allocations: 37.64 kB / 412.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1299, allocations: 0 / 412.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1299, allocations: 4 kB / 412.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1299, allocations: 0 / 412.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.13, allocations: 3.938 kB / 412.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.1301, allocations: 145.6 kB / 412.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.363e-05/0.1302, allocations: 20.41 kB / 412.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.1302, allocations: 0 / 412.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.1302, allocations: 64.25 kB / 412.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1303, allocations: 4 kB / 412.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000183/0.1304, allocations: 67.36 kB / 412.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1305, allocations: 81.11 kB / 412.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.658e-05/0.1306, allocations: 85 kB / 412.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1306, allocations: 25.7 kB / 412.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.1306, allocations: 150.6 kB / 412.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1307, allocations: 4 kB / 412.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.1307, allocations: 0 / 412.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1308, allocations: 319 kB / 413.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.1308, allocations: 3.938 kB / 413.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.1309, allocations: 4 kB / 413.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.1309, allocations: 25.7 kB / 413.2 MB, free: 10.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1309, allocations: 0 / 413.2 MB, free: 10.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.69e-05/0.131, allocations: 59.41 kB / 413.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.1311, allocations: 36.5 kB / 413.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1311, allocations: 0 / 413.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1311, allocations: 7.938 kB / 413.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.869e-06/0.1311, allocations: 8.047 kB / 413.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1311, allocations: 3.938 kB / 413.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.1312, allocations: 0 / 413.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1312, allocations: 0 / 413.3 MB, free: 10.25 MB / 346.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.286e-05/0.1313, allocations: 139.5 kB / 413.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.1313, allocations: 0 / 413.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.1313, allocations: 7.078 kB / 413.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1313, allocations: 0 / 413.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.1313, allocations: 3.953 kB / 413.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1314, allocations: 4 kB / 413.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1315, allocations: 149.7 kB / 413.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.1315, allocations: 4 kB / 413.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/0.1315, allocations: 0 / 413.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1315, allocations: 0 / 413.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1315, allocations: 0 / 413.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1315, allocations: 0 / 413.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1315, allocations: 0 / 413.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.1317, allocations: 102.7 kB / 413.7 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.1317, allocations: 77.11 kB / 413.8 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1318, allocations: 4 kB / 413.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/0.1318, allocations: 0 / 413.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.1318, allocations: 0 / 413.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1318, allocations: 3.984 kB / 413.8 MB, free: 9.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.979e-05/0.1319, allocations: 75.28 kB / 413.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1319, allocations: 0 / 413.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.1322, allocations: 39.95 kB / 413.9 MB, free: 9.547 MB / 346.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000732/0.1329, allocations: 285.4 kB / 414.2 MB, free: 9.309 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.1331, allocations: 67.34 kB / 414.2 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1331, allocations: 0 / 414.2 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.1331, allocations: 55.39 kB / 414.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.586e-05/0.1332, allocations: 4 kB / 414.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001956/0.1334, allocations: 108.4 kB / 414.4 MB, free: 9.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1337, allocations: 0.6731 MB / 415.1 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.1337, allocations: 7.438 kB / 415.1 MB, free: 8.312 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1337, allocations: 0 / 415.1 MB, free: 8.312 MB / 346.7 MB Notification: Performance of Templates: time 0.003805/0.1375, allocations: 1.206 MB / 416.3 MB, free: 7.105 MB / 346.7 MB