Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 194.9 MB / 210.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.095e-05, allocations: 4 kB / 258.8 MB, free: 8.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.311, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002066/0.3131, allocations: 1.185 MB / 304.5 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.3141, allocations: 442.7 kB / 304.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.3142, allocations: 5.594 kB / 304.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.773e-05/0.3142, allocations: 13.36 kB / 304.9 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.3143, allocations: 3.984 kB / 304.9 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.3145, allocations: 20.36 kB / 305 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.3146, allocations: 24.34 kB / 305 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3147, allocations: 13.42 kB / 305 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3148, allocations: 23.16 kB / 305 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.3149, allocations: 23.59 kB / 305.1 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.945e-05/0.315, allocations: 15.41 kB / 305.1 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.315, allocations: 6.594 kB / 305.1 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.315, allocations: 9.078 kB / 305.1 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.3151, allocations: 3.188 kB / 305.1 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.3152, allocations: 38.81 kB / 305.1 MB, free: 11.47 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3152, allocations: 3.938 kB / 305.1 MB, free: 11.47 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3152, allocations: 0 / 305.1 MB, free: 11.47 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3153, allocations: 0 / 305.1 MB, free: 11.47 MB / 250.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.0007521/0.316, allocations: 378.5 kB / 305.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3161, allocations: 8.812 kB / 305.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.3161, allocations: 7.219 kB / 305.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3163, allocations: 174.2 kB / 305.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3163, allocations: 6.594 kB / 305.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.3163, allocations: 2.312 kB / 305.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.3168, allocations: 102.8 kB / 305.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3168, allocations: 0 / 305.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3168, allocations: 1 kB / 305.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3168, allocations: 1.031 kB / 305.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005908/0.3174, allocations: 106.9 kB / 305.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.318, allocations: 316.1 kB / 306.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.3184, allocations: 80.62 kB / 306.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3184, allocations: 5.156 kB / 306.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3185, allocations: 34.69 kB / 306.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.3185, allocations: 1.125 kB / 306.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.001002/0.3195, allocations: 184.7 kB / 306.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3196, allocations: 60.42 kB / 306.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.3197, allocations: 105.5 kB / 306.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3197, allocations: 25.7 kB / 306.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.3198, allocations: 91.98 kB / 306.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.3198, allocations: 23.73 kB / 306.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.3198, allocations: 0 / 306.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.32, allocations: 310.8 kB / 307.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.3203, allocations: 55.95 kB / 307.2 MB, free: 9.555 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.3206, allocations: 39.97 kB / 307.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.3209, allocations: 51.95 kB / 307.3 MB, free: 9.465 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3209, allocations: 4 kB / 307.3 MB, free: 9.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006388/0.3215, allocations: 133.9 kB / 307.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3216, allocations: 4 kB / 307.4 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3216, allocations: 4 kB / 307.4 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3216, allocations: 0 / 307.4 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3219, allocations: 31.91 kB / 307.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3219, allocations: 3.953 kB / 307.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.322, allocations: 15.98 kB / 307.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3221, allocations: 4 kB / 307.5 MB, free: 9.262 MB / 250.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 9.726e-05/0.3222, allocations: 112.9 kB / 307.6 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.3222, allocations: 11.91 kB / 307.6 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/0.323, allocations: 153.5 kB / 307.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.323, allocations: 4 kB / 307.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.323, allocations: 0 / 307.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.323, allocations: 3.953 kB / 307.7 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.3233, allocations: 185.6 kB / 307.9 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3233, allocations: 0 / 307.9 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.3235, allocations: 31.97 kB / 307.9 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3235, allocations: 4 kB / 307.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3236, allocations: 448 / 307.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3236, allocations: 0 / 307.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3236, allocations: 0 / 307.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.3243, allocations: 243.3 kB / 308.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.3244, allocations: 88.95 kB / 308.3 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.3244, allocations: 4 kB / 308.3 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.3246, allocations: 19.98 kB / 308.3 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.3247, allocations: 7.984 kB / 308.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3247, allocations: 0 / 308.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.647e-05/0.3248, allocations: 91.27 kB / 308.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3248, allocations: 3.938 kB / 308.4 MB, free: 8.215 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.3251, allocations: 15.94 kB / 308.4 MB, free: 8.199 MB / 250.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.0001776/0.3252, allocations: 103.2 kB / 308.5 MB, free: 8.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006293/0.3259, allocations: 103.9 kB / 308.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3259, allocations: 0 / 308.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.3262, allocations: 59.89 kB / 308.7 MB, free: 7.926 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.3265, allocations: 13.95 kB / 308.7 MB, free: 7.914 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.3269, allocations: 172.8 kB / 308.9 MB, free: 7.723 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.3272, allocations: 0.6887 MB / 309.5 MB, free: 7.008 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.3273, allocations: 11.98 kB / 309.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.3274, allocations: 11.44 kB / 309.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3274, allocations: 0 / 309.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of Templates: time 0.003996/0.3314, allocations: 0.7516 MB / 310.3 MB, free: 6.234 MB / 250.7 MB