Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.698/1.698, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.61e-05, allocations: 3.938 kB / 228.1 MB, free: 8.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07872/0.07877, allocations: 38.78 MB / 266.9 MB, free: 1.152 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002008/0.08083, allocations: 1.173 MB / 268.1 MB, free: 15.95 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000959/0.08184, allocations: 437.1 kB / 268.5 MB, free: 15.53 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.08192, allocations: 4 kB / 268.5 MB, free: 15.52 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.527e-05/0.082, allocations: 3.938 kB / 268.5 MB, free: 15.52 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.08208, allocations: 7.984 kB / 268.5 MB, free: 15.51 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.08224, allocations: 23.91 kB / 268.5 MB, free: 15.49 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.08233, allocations: 27.97 kB / 268.6 MB, free: 15.46 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.08244, allocations: 4 kB / 268.6 MB, free: 15.46 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.08258, allocations: 27.84 kB / 268.6 MB, free: 15.43 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.08266, allocations: 23.91 kB / 268.6 MB, free: 15.41 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.08273, allocations: 8 kB / 268.6 MB, free: 15.4 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.08276, allocations: 4 kB / 268.6 MB, free: 15.39 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.08279, allocations: 7.984 kB / 268.6 MB, free: 15.39 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.08282, allocations: 8 kB / 268.6 MB, free: 15.38 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.08295, allocations: 35.92 kB / 268.7 MB, free: 15.34 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.08297, allocations: 0 / 268.7 MB, free: 15.34 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.08298, allocations: 0 / 268.7 MB, free: 15.34 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.08301, allocations: 7.938 kB / 268.7 MB, free: 15.34 MB / 234.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.0007588/0.08378, allocations: 375.5 kB / 269 MB, free: 14.92 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.08384, allocations: 12.03 kB / 269.1 MB, free: 14.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.08389, allocations: 11.91 kB / 269.1 MB, free: 14.9 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.08406, allocations: 170.9 kB / 269.2 MB, free: 14.69 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.08409, allocations: 7.953 kB / 269.2 MB, free: 14.68 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.08411, allocations: 0 / 269.2 MB, free: 14.68 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.0846, allocations: 97.64 kB / 269.3 MB, free: 14.58 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.08463, allocations: 0 / 269.3 MB, free: 14.58 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.08465, allocations: 0 / 269.3 MB, free: 14.58 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.08466, allocations: 0 / 269.3 MB, free: 14.58 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.08527, allocations: 103.9 kB / 269.4 MB, free: 14.48 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.08584, allocations: 300.7 kB / 269.7 MB, free: 14.14 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.08625, allocations: 82.58 kB / 269.8 MB, free: 14.05 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.08629, allocations: 96 / 269.8 MB, free: 14.05 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.08633, allocations: 34.55 kB / 269.8 MB, free: 14 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.08634, allocations: 4 kB / 269.9 MB, free: 14 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0009918/0.08734, allocations: 169.7 kB / 270 MB, free: 13.83 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.08741, allocations: 55.34 kB / 270.1 MB, free: 13.76 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.08752, allocations: 104.9 kB / 270.2 MB, free: 13.65 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.08755, allocations: 25.7 kB / 270.2 MB, free: 13.62 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.08765, allocations: 170.5 kB / 270.4 MB, free: 13.45 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.08769, allocations: 11.75 kB / 270.4 MB, free: 13.44 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.08771, allocations: 0 / 270.4 MB, free: 13.44 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.08784, allocations: 318.8 kB / 270.7 MB, free: 13.12 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.08815, allocations: 47.95 kB / 270.7 MB, free: 13.07 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.08844, allocations: 48 kB / 270.8 MB, free: 13.03 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.08877, allocations: 47.95 kB / 270.8 MB, free: 12.98 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.08879, allocations: 0 / 270.8 MB, free: 12.98 MB / 234.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006428/0.08944, allocations: 121.6 kB / 270.9 MB, free: 12.86 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.08948, allocations: 5.875 kB / 271 MB, free: 12.85 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.0895, allocations: 4 kB / 271 MB, free: 12.85 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.08953, allocations: 0 / 271 MB, free: 12.85 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.08978, allocations: 23.97 kB / 271 MB, free: 12.82 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.0898, allocations: 3.938 kB / 271 MB, free: 12.82 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.08997, allocations: 19.98 kB / 271 MB, free: 12.8 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.09001, allocations: 7.938 kB / 271 MB, free: 12.79 MB / 234.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 (4): * Single equations (assignments): 4 * 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.0001144/0.09013, allocations: 113.8 kB / 271.1 MB, free: 12.67 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.09019, allocations: 3.906 kB / 271.1 MB, free: 12.67 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.09091, allocations: 149.5 kB / 271.3 MB, free: 12.51 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.09094, allocations: 0 / 271.3 MB, free: 12.51 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.09096, allocations: 4 kB / 271.3 MB, free: 12.51 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.09097, allocations: 4 kB / 271.3 MB, free: 12.5 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.09124, allocations: 181.6 kB / 271.5 MB, free: 12.28 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.09126, allocations: 0 / 271.5 MB, free: 12.28 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.09149, allocations: 31.91 kB / 271.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.09151, allocations: 0 / 271.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.09153, allocations: 0 / 271.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.09155, allocations: 0 / 271.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.09156, allocations: 64 / 271.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.0923, allocations: 243.3 kB / 271.7 MB, free: 11.99 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.09239, allocations: 81.05 kB / 271.8 MB, free: 11.89 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.09242, allocations: 3.984 kB / 271.8 MB, free: 11.89 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.09266, allocations: 19.98 kB / 271.8 MB, free: 11.87 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.09273, allocations: 7.938 kB / 271.8 MB, free: 11.86 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.09275, allocations: 7.984 kB / 271.8 MB, free: 11.86 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.041e-05/0.09283, allocations: 87.28 kB / 271.9 MB, free: 11.77 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.09284, allocations: 0 / 271.9 MB, free: 11.77 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.09314, allocations: 8 kB / 271.9 MB, free: 11.76 MB / 234.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 (6): * Single equations (assignments): 6 * 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.0001766/0.09333, allocations: 103.2 kB / 272 MB, free: 11.65 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000677/0.09402, allocations: 99.91 kB / 272.1 MB, free: 11.55 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.09404, allocations: 0 / 272.1 MB, free: 11.55 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.09437, allocations: 55.97 kB / 272.2 MB, free: 11.5 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.09461, allocations: 15.94 kB / 272.2 MB, free: 11.48 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.09513, allocations: 194.4 kB / 272.4 MB, free: 11.26 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.09549, allocations: 0.6887 MB / 273.1 MB, free: 10.55 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.09557, allocations: 11.42 kB / 273.1 MB, free: 10.54 MB / 234.7 MB Notification: Performance of SimCode: time 1.022e-06/0.09558, allocations: 4 kB / 273.1 MB, free: 10.53 MB / 234.7 MB Notification: Performance of Templates: time 0.00316/0.09875, allocations: 0.8912 MB / 274 MB, free: 9.645 MB / 234.7 MB