Running command: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 269 MB / 284.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.24e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003135/0.1311, allocations: 1.719 MB / 412.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.1338, allocations: 1.045 MB / 413.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.134, allocations: 12 kB / 413.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.291e-05/0.1341, allocations: 19.78 kB / 413.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.1342, allocations: 23.89 kB / 413.7 MB, free: 10 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.1348, allocations: 131.6 kB / 413.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.135, allocations: 88.44 kB / 414 MB, free: 9.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.1353, allocations: 73.02 kB / 414 MB, free: 9.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1355, allocations: 43.84 kB / 414.1 MB, free: 9.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1356, allocations: 59.77 kB / 414.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.1361, allocations: 123.8 kB / 414.2 MB, free: 9.496 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.1362, allocations: 12 kB / 414.3 MB, free: 9.484 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.1363, allocations: 27.92 kB / 414.3 MB, free: 9.457 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.1363, allocations: 8 kB / 414.3 MB, free: 9.449 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.1369, allocations: 223.6 kB / 414.5 MB, free: 9.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1369, allocations: 4 kB / 414.5 MB, free: 9.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1369, allocations: 0 / 414.5 MB, free: 9.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1369, allocations: 0 / 414.5 MB, free: 9.227 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007597/0.1377, allocations: 483.3 kB / 415 MB, free: 8.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.1378, allocations: 8.031 kB / 415 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.1389, allocations: 67.61 kB / 415.1 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1391, allocations: 186.8 kB / 415.2 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.1392, allocations: 20.56 kB / 415.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.1392, allocations: 24 kB / 415.3 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005853/0.1398, allocations: 208.8 kB / 415.5 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1399, allocations: 0 / 415.5 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.1399, allocations: 12 kB / 415.5 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.1399, allocations: 4 kB / 415.5 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.1404, allocations: 150.2 kB / 415.7 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.1418, allocations: 0.5967 MB / 416.3 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009006/0.1427, allocations: 223.4 kB / 416.5 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.1428, allocations: 12.17 kB / 416.5 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1429, allocations: 34.78 kB / 416.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.677e-06/0.1429, allocations: 0 / 416.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007467/0.1436, allocations: 226.8 kB / 416.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.1437, allocations: 51.41 kB / 416.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1438, allocations: 105 kB / 416.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1439, allocations: 25.7 kB / 416.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.144, allocations: 206.9 kB / 417.1 MB, free: 6.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1441, allocations: 90.66 kB / 417.2 MB, free: 6.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.1442, allocations: 4 kB / 417.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1443, allocations: 314.8 kB / 417.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.1445, allocations: 43.97 kB / 417.6 MB, free: 5.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.1447, allocations: 51.95 kB / 417.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1449, allocations: 55.52 kB / 417.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1449, allocations: 0 / 417.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004732/0.1454, allocations: 169.5 kB / 417.8 MB, free: 5.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1454, allocations: 4 kB / 417.8 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1454, allocations: 0 / 417.8 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1454, allocations: 0 / 417.8 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.1462, allocations: 103.9 kB / 417.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.1462, allocations: 7.953 kB / 417.9 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.1463, allocations: 15.84 kB / 418 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1464, allocations: 4 kB / 418 MB, free: 5.578 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 0.000178/0.1466, allocations: 129.8 kB / 418.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.1466, allocations: 11.91 kB / 418.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/0.1467, allocations: 25.06 kB / 418.1 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.1467, allocations: 4 kB / 418.1 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1468, allocations: 0 / 418.1 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.1468, allocations: 8.188 kB / 418.1 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.1472, allocations: 277.3 kB / 418.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1472, allocations: 4 kB / 418.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007539/0.148, allocations: 107.9 kB / 418.5 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.148, allocations: 0 / 418.5 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.1481, allocations: 8 kB / 418.5 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.1481, allocations: 0 / 418.5 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1481, allocations: 0 / 418.5 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.1487, allocations: 277.4 kB / 418.8 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.1487, allocations: 92.95 kB / 418.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.1488, allocations: 4 kB / 418.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.1489, allocations: 8 kB / 418.9 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.149, allocations: 15.97 kB / 418.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1491, allocations: 4 kB / 418.9 MB, free: 4.531 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.1491, allocations: 87.22 kB / 419 MB, free: 4.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1491, allocations: 0 / 419 MB, free: 4.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.1495, allocations: 51.75 kB / 419.1 MB, free: 4.395 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001518/0.1497, allocations: 111.1 kB / 419.2 MB, free: 4.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004745/0.1502, allocations: 131.9 kB / 419.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1502, allocations: 4 kB / 419.3 MB, free: 4.141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.1504, allocations: 79.19 kB / 419.4 MB, free: 4.066 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.1506, allocations: 6.5 kB / 419.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1519, allocations: 0.6165 MB / 420 MB, free: 3.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1523, allocations: 0.744 MB / 420.7 MB, free: 2.641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1524, allocations: 19.44 kB / 420.8 MB, free: 2.621 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.1524, allocations: 0 / 420.8 MB, free: 2.621 MB / 346.7 MB Notification: Performance of Templates: time 0.005008/0.1575, allocations: 1.675 MB / 422.4 MB, free: 0.9414 MB / 346.7 MB