Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 2.226/2.226, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.978e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 50.41 MB / 345 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001544/0.1235, allocations: 0.9141 MB / 345.9 MB, free: 8.043 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003771/0.1273, allocations: 1.704 MB / 347.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.1274, allocations: 3.938 kB / 347.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.1275, allocations: 0 / 347.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.1287, allocations: 255.2 kB / 347.8 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.057e-05/0.1287, allocations: 0 / 347.8 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.753e-05/0.1288, allocations: 11.97 kB / 347.8 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.1289, allocations: 0 / 347.8 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.58e-05/0.1289, allocations: 7.938 kB / 347.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.129, allocations: 4 kB / 347.9 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008879/0.1299, allocations: 351.7 kB / 348.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.1301, allocations: 32 kB / 348.2 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.1301, allocations: 7.922 kB / 348.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.392e-05/0.1301, allocations: 0 / 348.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.1307, allocations: 219.6 kB / 348.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1307, allocations: 0 / 348.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.02e-06/0.1307, allocations: 0 / 348.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1307, allocations: 3.938 kB / 348.5 MB, free: 5.453 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005093/0.1312, allocations: 399.4 kB / 348.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1313, allocations: 15.91 kB / 348.9 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.955e-05/0.1314, allocations: 83.23 kB / 348.9 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1316, allocations: 242.3 kB / 349.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/0.1317, allocations: 154.5 kB / 349.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.1318, allocations: 154.6 kB / 349.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.801e-05/0.1318, allocations: 101 kB / 349.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.1319, allocations: 79.27 kB / 349.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/0.132, allocations: 154.6 kB / 349.8 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.615e-05/0.1321, allocations: 154.5 kB / 350 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.831e-05/0.1321, allocations: 158.5 kB / 350.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.1325, allocations: 449.9 kB / 350.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1326, allocations: 173.1 kB / 350.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.1327, allocations: 75.28 kB / 350.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.1328, allocations: 43.36 kB / 350.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 3.106e-06/0.1328, allocations: 0 / 350.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.133, allocations: 37.69 kB / 350.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1331, allocations: 55.53 kB / 350.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.1332, allocations: 97 kB / 351 MB, free: 2.684 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1332, allocations: 25.7 kB / 351.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.1333, allocations: 150.6 kB / 351.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.1333, allocations: 0 / 351.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.1333, allocations: 3.938 kB / 351.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1335, allocations: 318.8 kB / 351.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.1335, allocations: 0 / 351.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.1335, allocations: 4 kB / 351.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.684e-05/0.1335, allocations: 4.062 kB / 351.5 MB, free: 2.172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1336, allocations: 0 / 351.5 MB, free: 2.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.708e-05/0.1336, allocations: 37.7 kB / 351.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1337, allocations: 8 kB / 351.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1337, allocations: 0 / 351.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1337, allocations: 0 / 351.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.478e-05/0.1337, allocations: 0 / 351.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1338, allocations: 0 / 351.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.212e-05/0.1338, allocations: 3.984 kB / 351.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1338, allocations: 4.031 kB / 351.6 MB, free: 2.113 MB / 282.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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.753e-05/0.1339, allocations: 113.8 kB / 351.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1339, allocations: 3.938 kB / 351.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.134, allocations: 7.062 kB / 351.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.134, allocations: 0 / 351.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.134, allocations: 0 / 351.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.134, allocations: 4 kB / 351.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1342, allocations: 153.6 kB / 351.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1342, allocations: 3.938 kB / 351.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-06/0.1342, allocations: 0 / 351.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.1342, allocations: 8 kB / 351.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1343, allocations: 0 / 351.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1343, allocations: 0 / 351.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1343, allocations: 0 / 351.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.67e-05/0.1344, allocations: 61.08 kB / 351.9 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.1345, allocations: 85.02 kB / 352 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1345, allocations: 0 / 352 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.1345, allocations: 8.016 kB / 352 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.1345, allocations: 0 / 352 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.1346, allocations: 0 / 352 MB, free: 1.574 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.841e-05/0.1346, allocations: 83.22 kB / 352.1 MB, free: 1.492 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1346, allocations: 0 / 352.1 MB, free: 1.492 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006149/0.1353, allocations: 128 kB / 352.2 MB, free: 1.367 MB / 282.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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.001434/0.1367, allocations: 0.4908 MB / 352.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.715e-05/0.1368, allocations: 0 / 352.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1368, allocations: 0 / 352.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.1368, allocations: 4 kB / 352.7 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.137, allocations: 15.95 kB / 352.7 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.1374, allocations: 138.5 kB / 352.9 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1377, allocations: 0.6809 MB / 353.5 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.1378, allocations: 15.42 kB / 353.6 MB, free: 20 kB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1378, allocations: 0 / 353.6 MB, free: 20 kB / 282.7 MB Notification: Performance of Templates: time 0.009541/0.1473, allocations: 3.239 MB / 356.8 MB, free: 12.78 MB / 298.7 MB