Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 269 MB / 284.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.968e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0006034/0.1302, allocations: 208.7 kB / 411.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.1339, allocations: 1.938 MB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.134, allocations: 0 / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.122e-05/0.134, allocations: 3.938 kB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.134, allocations: 0 / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.1364, allocations: 0.5417 MB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.012e-05/0.1364, allocations: 0 / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.1365, allocations: 0 / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.587e-05/0.1365, allocations: 0 / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.1476, allocations: 4.701 MB / 418.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.1477, allocations: 0 / 418.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1477, allocations: 0 / 418.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.1477, allocations: 0 / 418.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.1478, allocations: 0 / 418.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 3.051e-05/0.1478, allocations: 4 kB / 418.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1478, allocations: 0 / 418.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.262e-06/0.1478, allocations: 4 kB / 418.3 MB, free: 5.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1478, allocations: 0 / 418.3 MB, free: 5.438 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.000298/0.1482, allocations: 337 kB / 418.6 MB, free: 5.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1482, allocations: 8.094 kB / 418.6 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.1483, allocations: 4 kB / 418.7 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1484, allocations: 163.1 kB / 418.8 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1484, allocations: 0 / 418.8 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.1484, allocations: 11.89 kB / 418.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/0.1485, allocations: 37.69 kB / 418.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1485, allocations: 0 / 418.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1485, allocations: 4 kB / 418.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1486, allocations: 0 / 418.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.073e-05/0.1486, allocations: 3.938 kB / 418.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.1487, allocations: 141.7 kB / 419 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.971e-05/0.1488, allocations: 22.59 kB / 419 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.1488, allocations: 4 kB / 419 MB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.1489, allocations: 64.22 kB / 419.1 MB, free: 4.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1489, allocations: 0 / 419.1 MB, free: 4.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001753/0.1491, allocations: 63.41 kB / 419.2 MB, free: 4.406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1491, allocations: 77.11 kB / 419.2 MB, free: 4.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.998e-05/0.1492, allocations: 89 kB / 419.3 MB, free: 4.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1492, allocations: 25.7 kB / 419.3 MB, free: 4.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.1493, allocations: 158.7 kB / 419.5 MB, free: 4.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.1493, allocations: 0 / 419.5 MB, free: 4.031 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.1493, allocations: 0 / 419.5 MB, free: 4.031 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1494, allocations: 314.8 kB / 419.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.1495, allocations: 0 / 419.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.1495, allocations: 4 kB / 419.8 MB, free: 3.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.1495, allocations: 25.7 kB / 419.8 MB, free: 3.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1495, allocations: 0 / 419.8 MB, free: 3.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.153e-05/0.1496, allocations: 63.44 kB / 419.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.1497, allocations: 37.69 kB / 419.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1497, allocations: 0 / 419.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1497, allocations: 3.953 kB / 419.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-06/0.1497, allocations: 4 kB / 419.9 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1497, allocations: 0 / 419.9 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.1498, allocations: 0 / 419.9 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1498, allocations: 0 / 419.9 MB, free: 3.555 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.096e-05/0.1499, allocations: 135.5 kB / 420.1 MB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.1499, allocations: 4 kB / 420.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.216e-05/0.1499, allocations: 7.125 kB / 420.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1499, allocations: 0 / 420.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.15, allocations: 3.953 kB / 420.1 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.15, allocations: 3.938 kB / 420.1 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1501, allocations: 157.6 kB / 420.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1501, allocations: 0 / 420.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.1501, allocations: 0 / 420.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1501, allocations: 0 / 420.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1501, allocations: 0 / 420.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1501, allocations: 0 / 420.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1502, allocations: 0 / 420.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.1503, allocations: 102.7 kB / 420.3 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.1503, allocations: 77.11 kB / 420.4 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1504, allocations: 0 / 420.4 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.1504, allocations: 4 kB / 420.4 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.1504, allocations: 0 / 420.4 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1504, allocations: 0 / 420.4 MB, free: 2.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.514e-05/0.1505, allocations: 79.23 kB / 420.5 MB, free: 2.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1505, allocations: 4.031 kB / 420.5 MB, free: 2.879 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.1507, allocations: 4 kB / 420.5 MB, free: 2.875 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.0001116/0.1508, allocations: 95.23 kB / 420.6 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.1509, allocations: 59.41 kB / 420.7 MB, free: 2.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.151, allocations: 4 kB / 420.7 MB, free: 2.695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.151, allocations: 51.41 kB / 420.7 MB, free: 2.633 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.1511, allocations: 4.281 kB / 420.7 MB, free: 2.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.1513, allocations: 108.5 kB / 420.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1516, allocations: 0.6731 MB / 421.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.1516, allocations: 7.438 kB / 421.5 MB, free: 1.781 MB / 346.7 MB Notification: Performance of SimCode: time 2.865e-06/0.1516, allocations: 0 / 421.5 MB, free: 1.781 MB / 346.7 MB Notification: Performance of Templates: time 0.001757/0.1534, allocations: 343.7 kB / 421.8 MB, free: 1.445 MB / 346.7 MB