Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices") Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 269 MB / 284.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.78e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 61.88 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0006392/0.1321, allocations: 212.6 kB / 411.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.1347, allocations: 1.438 MB / 412.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.29e-05/0.1347, allocations: 0 / 412.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.1348, allocations: 0 / 412.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.06e-06/0.1348, allocations: 0 / 412.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.1356, allocations: 195.4 kB / 412.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.867e-05/0.1356, allocations: 0 / 412.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.1357, allocations: 0 / 412.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.1357, allocations: 8 kB / 412.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006568/0.1364, allocations: 111.9 kB / 412.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008662/0.1373, allocations: 419.3 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.1373, allocations: 8 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.1374, allocations: 4 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.274e-05/0.1374, allocations: 0 / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.1379, allocations: 207.7 kB / 413.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1379, allocations: 0 / 413.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1379, allocations: 3.938 kB / 413.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1379, allocations: 0 / 413.5 MB, free: 10.26 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.0004043/0.1383, allocations: 373 kB / 413.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1384, allocations: 12.03 kB / 413.9 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.1384, allocations: 0 / 413.9 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1386, allocations: 163.1 kB / 414 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1386, allocations: 0 / 414 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1386, allocations: 0 / 414 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.294e-05/0.1387, allocations: 33.66 kB / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1387, allocations: 0 / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.1387, allocations: 0 / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1387, allocations: 0 / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.1388, allocations: 3.984 kB / 414.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1389, allocations: 149.7 kB / 414.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.636e-05/0.139, allocations: 22.52 kB / 414.2 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.139, allocations: 0 / 414.2 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/0.1391, allocations: 60.36 kB / 414.3 MB, free: 9.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 3.737e-06/0.1391, allocations: 3.984 kB / 414.3 MB, free: 9.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000195/0.1393, allocations: 71.34 kB / 414.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1394, allocations: 81.05 kB / 414.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.1e-05/0.1394, allocations: 85 kB / 414.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1395, allocations: 29.83 kB / 414.6 MB, free: 8.977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.1395, allocations: 150.6 kB / 414.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.1396, allocations: 0 / 414.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.1396, allocations: 3.938 kB / 414.7 MB, free: 8.824 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1397, allocations: 310.8 kB / 415 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.1397, allocations: 4 kB / 415 MB, free: 8.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.1398, allocations: 0 / 415 MB, free: 8.508 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.672e-05/0.1398, allocations: 33.69 kB / 415 MB, free: 8.469 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1398, allocations: 4.062 kB / 415.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001142/0.1399, allocations: 59.41 kB / 415.1 MB, free: 8.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.14, allocations: 33.7 kB / 415.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.14, allocations: 0 / 415.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.14, allocations: 0 / 415.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.788e-06/0.14, allocations: 3.953 kB / 415.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1401, allocations: 0 / 415.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.1401, allocations: 3.938 kB / 415.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1401, allocations: 7.922 kB / 415.2 MB, free: 8.34 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.986e-05/0.1402, allocations: 139.6 kB / 415.3 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.1402, allocations: 4 kB / 415.3 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.32e-05/0.1403, allocations: 3.125 kB / 415.3 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1403, allocations: 0 / 415.3 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1403, allocations: 3.953 kB / 415.3 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1403, allocations: 4 kB / 415.3 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1404, allocations: 153.7 kB / 415.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1404, allocations: 0 / 415.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.1404, allocations: 0 / 415.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1405, allocations: 0 / 415.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1405, allocations: 0 / 415.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1405, allocations: 8 kB / 415.5 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1405, allocations: 0 / 415.5 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.1406, allocations: 90.78 kB / 415.6 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.1407, allocations: 81.11 kB / 415.6 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1407, allocations: 0 / 415.6 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.324e-05/0.1407, allocations: 0 / 415.6 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.1408, allocations: 3.938 kB / 415.6 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1408, allocations: 4.031 kB / 415.6 MB, free: 7.746 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.765e-05/0.1408, allocations: 75.28 kB / 415.7 MB, free: 7.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1408, allocations: 4 kB / 415.7 MB, free: 7.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000419/0.1413, allocations: 63.94 kB / 415.8 MB, free: 7.605 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.0006313/0.1419, allocations: 204.1 kB / 416 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1421, allocations: 59.39 kB / 416 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1421, allocations: 0 / 416 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.1421, allocations: 55.41 kB / 416.1 MB, free: 7.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.1422, allocations: 12 kB / 416.1 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.1425, allocations: 108.4 kB / 416.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1427, allocations: 0.6731 MB / 416.9 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.1428, allocations: 11.44 kB / 416.9 MB, free: 6.402 MB / 346.7 MB Notification: Performance of SimCode: time 3.247e-06/0.1428, allocations: 0 / 416.9 MB, free: 6.402 MB / 346.7 MB Notification: Performance of Templates: time 0.004333/0.1471, allocations: 1.33 MB / 418.2 MB, free: 5.074 MB / 346.7 MB