Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.987e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1456, allocations: 61.9 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.000637/0.1463, allocations: 188.6 kB / 411.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.1506, allocations: 2.057 MB / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.1507, allocations: 0 / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.1507, allocations: 0 / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.481e-06/0.1507, allocations: 4 kB / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.1537, allocations: 0.7982 MB / 414 MB, free: 9.809 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.65e-05/0.1537, allocations: 0 / 414 MB, free: 9.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1538, allocations: 3.938 kB / 414 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.1538, allocations: 0 / 414 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004195/0.158, allocations: 1.616 MB / 415.6 MB, free: 8.188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.1581, allocations: 0 / 415.6 MB, free: 8.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1581, allocations: 0 / 415.6 MB, free: 8.188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.1581, allocations: 8 kB / 415.6 MB, free: 8.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.1582, allocations: 0 / 415.6 MB, free: 8.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 3.329e-05/0.1582, allocations: 0 / 415.6 MB, free: 8.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1582, allocations: 0 / 415.6 MB, free: 8.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.505e-06/0.1582, allocations: 0 / 415.6 MB, free: 8.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.639e-06/0.1583, allocations: 3.938 kB / 415.6 MB, free: 8.176 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.0003283/0.1586, allocations: 337 kB / 415.9 MB, free: 7.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1586, allocations: 8.031 kB / 415.9 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.1587, allocations: 0 / 415.9 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1588, allocations: 163.1 kB / 416.1 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1588, allocations: 4 kB / 416.1 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.1589, allocations: 4 kB / 416.1 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.159, allocations: 37.59 kB / 416.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.159, allocations: 3.938 kB / 416.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.159, allocations: 0 / 416.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.159, allocations: 0 / 416.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.1591, allocations: 4 kB / 416.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.1592, allocations: 145.7 kB / 416.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.642e-05/0.1593, allocations: 22.66 kB / 416.3 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.1593, allocations: 4 kB / 416.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.1594, allocations: 64.2 kB / 416.4 MB, free: 7.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.1594, allocations: 0 / 416.4 MB, free: 7.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001748/0.1596, allocations: 63.36 kB / 416.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.1596, allocations: 77.11 kB / 416.5 MB, free: 7.055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.044e-05/0.1597, allocations: 85 kB / 416.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1597, allocations: 29.83 kB / 416.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.1598, allocations: 150.6 kB / 416.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.1598, allocations: 0 / 416.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.1599, allocations: 4 kB / 416.8 MB, free: 6.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.16, allocations: 318.8 kB / 417.1 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.16, allocations: 0 / 417.1 MB, free: 6.457 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-06/0.1601, allocations: 0 / 417.1 MB, free: 6.457 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.1601, allocations: 33.64 kB / 417.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1601, allocations: 4.062 kB / 417.1 MB, free: 6.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.767e-05/0.1602, allocations: 55.41 kB / 417.2 MB, free: 6.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.1603, allocations: 33.7 kB / 417.2 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1603, allocations: 3.984 kB / 417.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1603, allocations: 0 / 417.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-06/0.1603, allocations: 3.953 kB / 417.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1603, allocations: 3.984 kB / 417.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.1604, allocations: 0 / 417.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1604, allocations: 7.938 kB / 417.2 MB, free: 6.289 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 0.0001065/0.1605, allocations: 135.6 kB / 417.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.1605, allocations: 4 kB / 417.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.57e-05/0.1605, allocations: 7.078 kB / 417.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1606, allocations: 4 kB / 417.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1606, allocations: 3.953 kB / 417.4 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1606, allocations: 0 / 417.4 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.1607, allocations: 149.7 kB / 417.5 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1607, allocations: 0 / 417.5 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.1607, allocations: 0 / 417.5 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1607, allocations: 0 / 417.5 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1608, allocations: 4 kB / 417.5 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1608, allocations: 7.938 kB / 417.5 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1608, allocations: 0 / 417.5 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.1609, allocations: 94.72 kB / 417.6 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.161, allocations: 81.11 kB / 417.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.161, allocations: 0 / 417.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.197e-05/0.161, allocations: 0 / 417.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.161, allocations: 0 / 417.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1611, allocations: 8.031 kB / 417.7 MB, free: 5.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.176e-05/0.1611, allocations: 75.28 kB / 417.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1611, allocations: 0 / 417.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.1613, allocations: 3.953 kB / 417.8 MB, free: 5.613 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.0001156/0.1615, allocations: 99.23 kB / 417.9 MB, free: 5.504 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.1616, allocations: 63.34 kB / 417.9 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1616, allocations: 0 / 417.9 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/0.1616, allocations: 59.47 kB / 418 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.1618, allocations: 2.5 kB / 418 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002038/0.162, allocations: 108.6 kB / 418.1 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1623, allocations: 0.6692 MB / 418.8 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.157e-05/0.1623, allocations: 7.438 kB / 418.8 MB, free: 4.516 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1623, allocations: 0 / 418.8 MB, free: 4.516 MB / 346.7 MB Notification: Performance of Templates: time 0.001762/0.1641, allocations: 335.9 kB / 419.1 MB, free: 4.188 MB / 346.7 MB