Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 224.7 MB / 241.1 MB, free: 1.703 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.689e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 50.41 MB / 345 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002199/0.1138, allocations: 1.206 MB / 346.2 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.1148, allocations: 411.5 kB / 346.6 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.1149, allocations: 0 / 346.6 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.831e-05/0.115, allocations: 7.938 kB / 346.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.1151, allocations: 11.98 kB / 346.6 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.1152, allocations: 23.86 kB / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.706e-05/0.1153, allocations: 23.95 kB / 346.6 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.1154, allocations: 11.98 kB / 346.6 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1156, allocations: 23.91 kB / 346.7 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.35e-05/0.1157, allocations: 27.91 kB / 346.7 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.704e-05/0.1157, allocations: 8 kB / 346.7 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1158, allocations: 4 kB / 346.7 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.1158, allocations: 7.984 kB / 346.7 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.1158, allocations: 8 kB / 346.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.116, allocations: 47.91 kB / 346.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.116, allocations: 0 / 346.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.116, allocations: 3.938 kB / 346.8 MB, free: 7.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.116, allocations: 3.938 kB / 346.8 MB, free: 7.145 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007793/0.1168, allocations: 379.5 kB / 347.2 MB, free: 6.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1169, allocations: 8.031 kB / 347.2 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.1169, allocations: 11.86 kB / 347.2 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1171, allocations: 167 kB / 347.3 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1171, allocations: 0 / 347.3 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1171, allocations: 8 kB / 347.3 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.1176, allocations: 97.58 kB / 347.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1177, allocations: 0 / 347.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1177, allocations: 0 / 347.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1177, allocations: 11.92 kB / 347.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.1183, allocations: 99.88 kB / 347.5 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.1189, allocations: 308.7 kB / 347.8 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.1193, allocations: 86.53 kB / 347.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1194, allocations: 3.984 kB / 347.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.1194, allocations: 38.52 kB / 348 MB, free: 5.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.345e-06/0.1194, allocations: 0 / 348 MB, free: 5.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009984/0.1204, allocations: 181.7 kB / 348.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.1205, allocations: 51.41 kB / 348.2 MB, free: 5.543 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.1206, allocations: 105 kB / 348.3 MB, free: 5.434 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1206, allocations: 29.7 kB / 348.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1207, allocations: 158.8 kB / 348.5 MB, free: 5.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.1208, allocations: 23.73 kB / 348.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.1208, allocations: 0 / 348.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1209, allocations: 310.8 kB / 348.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.1212, allocations: 59.89 kB / 348.9 MB, free: 4.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.1215, allocations: 39.97 kB / 348.9 MB, free: 4.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.1219, allocations: 51.95 kB / 349 MB, free: 4.758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1219, allocations: 0 / 349 MB, free: 4.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006515/0.1225, allocations: 137.6 kB / 349.1 MB, free: 4.617 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.1226, allocations: 7.953 kB / 349.1 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1226, allocations: 0 / 349.1 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1226, allocations: 0 / 349.1 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.1229, allocations: 27.97 kB / 349.1 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1229, allocations: 4 kB / 349.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.1231, allocations: 15.98 kB / 349.2 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1231, allocations: 0 / 349.2 MB, free: 4.562 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001079/0.1232, allocations: 113.8 kB / 349.3 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.1233, allocations: 3.906 kB / 349.3 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007173/0.124, allocations: 161.5 kB / 349.4 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.124, allocations: 0 / 349.4 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.124, allocations: 4 kB / 349.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.124, allocations: 0 / 349.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.1243, allocations: 185.6 kB / 349.6 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1243, allocations: 0 / 349.6 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.1246, allocations: 31.91 kB / 349.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1246, allocations: 0 / 349.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1246, allocations: 8.438 kB / 349.6 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1246, allocations: 3.953 kB / 349.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1246, allocations: 4 kB / 349.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.1254, allocations: 243.3 kB / 349.9 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.1254, allocations: 89.02 kB / 350 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1255, allocations: 0 / 350 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.1257, allocations: 23.92 kB / 350 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.1258, allocations: 7.938 kB / 350 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1258, allocations: 8 kB / 350 MB, free: 3.594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.884e-05/0.1259, allocations: 91.27 kB / 350.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1259, allocations: 0 / 350.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.1262, allocations: 8.281 kB / 350.1 MB, free: 3.496 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001667/0.1264, allocations: 103.2 kB / 350.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.127, allocations: 103.9 kB / 350.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1271, allocations: 7.938 kB / 350.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.1274, allocations: 59.89 kB / 350.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1276, allocations: 8 kB / 350.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.1282, allocations: 204.5 kB / 350.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1284, allocations: 0.6926 MB / 351.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.1285, allocations: 7.438 kB / 351.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1285, allocations: 0 / 351.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of Templates: time 0.003369/0.1319, allocations: 0.9585 MB / 352.3 MB, free: 1.297 MB / 282.7 MB