Running command: translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.3 MB / 224.4 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.924e-05, allocations: 0 / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3466, allocations: 48.7 MB / 324.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.005099/0.3518, allocations: 3.056 MB / 327.9 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.3546, allocations: 0.9629 MB / 328.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005946/0.3553, allocations: 32.12 kB / 328.9 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.3555, allocations: 51.88 kB / 328.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007323/0.3562, allocations: 157.3 kB / 329.1 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3574, allocations: 311 kB / 329.4 MB, free: 400 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.3586, allocations: 442.7 kB / 329.8 MB, free: 136 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.359, allocations: 146.9 kB / 330 MB, free: 76 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.3596, allocations: 237.2 kB / 330.2 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.36, allocations: 199.3 kB / 330.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.3601, allocations: 19.56 kB / 330.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.996e-05/0.3602, allocations: 19.34 kB / 330.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3604, allocations: 88.8 kB / 330.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3605, allocations: 38.56 kB / 330.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00087/0.3614, allocations: 0.4993 MB / 331.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3614, allocations: 0 / 331.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3614, allocations: 0 / 331.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.3614, allocations: 0 / 331.1 MB, free: 15.71 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002121/0.3636, allocations: 0.7906 MB / 331.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3636, allocations: 10.22 kB / 331.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.3639, allocations: 77.58 kB / 331.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000947/0.3648, allocations: 442.3 kB / 332.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.556e-05/0.3649, allocations: 38.17 kB / 332.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.365, allocations: 58.77 kB / 332.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3666, allocations: 481.7 kB / 332.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.3666, allocations: 0 / 332.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.3667, allocations: 25.44 kB / 333 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.3667, allocations: 11 kB / 333 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.368, allocations: 352.5 kB / 333.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005601/0.3736, allocations: 1.775 MB / 335.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.3754, allocations: 471.6 kB / 335.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.575e-05/0.3755, allocations: 4.281 kB / 335.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.3756, allocations: 38.53 kB / 335.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 2.955e-06/0.3756, allocations: 4 kB / 335.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.002138/0.3777, allocations: 0.5492 MB / 336.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.3778, allocations: 114.2 kB / 336.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/0.3786, allocations: 392.5 kB / 336.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.3787, allocations: 36.36 kB / 336.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.379, allocations: 344 kB / 337 MB, free: 12.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.3792, allocations: 152.4 kB / 337.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.3792, allocations: 10.28 kB / 337.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3794, allocations: 330.4 kB / 337.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006696/0.3801, allocations: 170.3 kB / 337.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.3808, allocations: 303.2 kB / 338 MB, free: 11.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/0.3816, allocations: 199.9 kB / 338.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.3816, allocations: 1.156 kB / 338.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00177/0.3834, allocations: 0.5144 MB / 338.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3835, allocations: 10.97 kB / 338.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3835, allocations: 2.438 kB / 338.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.3835, allocations: 7.375 kB / 338.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009544/0.3845, allocations: 132.8 kB / 338.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.3845, allocations: 8.531 kB / 338.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006676/0.3852, allocations: 59.88 kB / 338.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.3853, allocations: 23.53 kB / 338.9 MB, free: 11.22 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0003623/0.3856, allocations: 179.7 kB / 339.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.3858, allocations: 54.39 kB / 339.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.386, allocations: 66.72 kB / 339.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.386, allocations: 5.375 kB / 339.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.386, allocations: 6.266 kB / 339.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.386, allocations: 3.297 kB / 339.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.3873, allocations: 0.5348 MB / 339.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3873, allocations: 9.953 kB / 339.8 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009715/0.3883, allocations: 85.95 kB / 339.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.3883, allocations: 5.844 kB / 339.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.344e-05/0.3884, allocations: 13.08 kB / 339.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3884, allocations: 2.75 kB / 339.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3884, allocations: 0 / 339.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.3906, allocations: 0.7954 MB / 340.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.391, allocations: 166.1 kB / 340.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.3911, allocations: 12.23 kB / 340.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.3917, allocations: 29.33 kB / 340.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3918, allocations: 34.27 kB / 340.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.3919, allocations: 8.5 kB / 340.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005554/0.3925, allocations: 316.2 kB / 341.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3925, allocations: 0 / 341.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007009/0.3932, allocations: 121.7 kB / 341.3 MB, free: 9.828 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (Wsec.y,Vsec.y,Asec.y,integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.000182/0.3934, allocations: 110 kB / 341.4 MB, free: 9.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.3949, allocations: 426.8 kB / 341.9 MB, free: 9.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3949, allocations: 3.938 kB / 341.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.3956, allocations: 199.9 kB / 342.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3969, allocations: 138.2 kB / 342.2 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.4004, allocations: 1.583 MB / 343.8 MB, free: 8.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.401, allocations: 0.9009 MB / 344.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.4013, allocations: 37.72 kB / 344.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of SimCode: time 3.206e-06/0.4013, allocations: 0 / 344.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of Templates: time 0.01714/0.4184, allocations: 6.54 MB / 351.2 MB, free: 4.09 MB / 282.7 MB