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.2_cpp_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadModel(ModelicaTest): time 2.618/2.618, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.213e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3738, allocations: 54.86 MB / 362.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.005545/0.3794, allocations: 3.08 MB / 365.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.3826, allocations: 0.9678 MB / 366.9 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/0.3833, allocations: 32.88 kB / 366.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.3835, allocations: 46.69 kB / 367 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008672/0.3844, allocations: 157.5 kB / 367.1 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3855, allocations: 240.2 kB / 367.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.3869, allocations: 437.9 kB / 367.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.3875, allocations: 146.9 kB / 367.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007012/0.3882, allocations: 218 kB / 368.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.3886, allocations: 201.2 kB / 368.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.3888, allocations: 19.94 kB / 368.4 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.3889, allocations: 21.66 kB / 368.4 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.389, allocations: 89.5 kB / 368.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.3891, allocations: 40.09 kB / 368.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008496/0.39, allocations: 0.4894 MB / 369 MB, free: 7.398 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.39, allocations: 0 / 369 MB, free: 7.398 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.39, allocations: 0 / 369 MB, free: 7.398 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.3901, allocations: 3.938 kB / 369 MB, free: 7.395 MB / 298.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.002159/0.3922, allocations: 0.7965 MB / 369.8 MB, free: 6.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3923, allocations: 9.344 kB / 369.8 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.3926, allocations: 81.66 kB / 369.9 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.3936, allocations: 438.8 kB / 370.3 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.3937, allocations: 37 kB / 370.3 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.3939, allocations: 56 kB / 370.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.3954, allocations: 482.2 kB / 370.9 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.3954, allocations: 3.906 kB / 370.9 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.3955, allocations: 27.95 kB / 370.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.3955, allocations: 15.98 kB / 370.9 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.3968, allocations: 346.5 kB / 371.3 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005673/0.4025, allocations: 1.792 MB / 373.1 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.4043, allocations: 457.5 kB / 373.5 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.275e-05/0.4044, allocations: 4 kB / 373.5 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.4044, allocations: 46.55 kB / 373.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 3.236e-06/0.4044, allocations: 3.938 kB / 373.6 MB, free: 2.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002173/0.4066, allocations: 0.5575 MB / 374.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.4068, allocations: 110.8 kB / 374.2 MB, free: 2.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/0.4075, allocations: 389.4 kB / 374.6 MB, free: 1.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.749e-05/0.4076, allocations: 29.7 kB / 374.6 MB, free: 1.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.4079, allocations: 346.3 kB / 375 MB, free: 1.449 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.4081, allocations: 149.8 kB / 375.1 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.4081, allocations: 8 kB / 375.1 MB, free: 1.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4083, allocations: 338.8 kB / 375.4 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/0.409, allocations: 165 kB / 375.6 MB, free: 0.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.4098, allocations: 305.3 kB / 375.9 MB, free: 456 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007606/0.4106, allocations: 195.9 kB / 376.1 MB, free: 260 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4106, allocations: 7.953 kB / 376.1 MB, free: 252 kB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001803/0.4125, allocations: 0.5203 MB / 376.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006932/0.4132, allocations: 1.406 MB / 378 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.4132, allocations: 400 / 378 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.4133, allocations: 8 kB / 378 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.4143, allocations: 123.8 kB / 378.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.4144, allocations: 8 kB / 378.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/0.4151, allocations: 63.58 kB / 378.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/0.4152, allocations: 20 kB / 378.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4152, allocations: 4 kB / 378.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001519/0.4167, allocations: 471.8 kB / 378.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4168, allocations: 7.938 kB / 378.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4168, allocations: 8 kB / 378.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009327/0.4177, allocations: 119.8 kB / 378.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.4178, allocations: 8 kB / 378.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.4182, allocations: 47.67 kB / 378.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.4183, allocations: 20.03 kB / 378.9 MB, free: 13.31 MB / 314.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.000402/0.4187, allocations: 185.6 kB / 379.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.4189, allocations: 51.34 kB / 379.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.4191, allocations: 65.08 kB / 379.2 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.4191, allocations: 4 kB / 379.2 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4191, allocations: 0 / 379.2 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4192, allocations: 3.984 kB / 379.2 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.4204, allocations: 0.5398 MB / 379.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4204, allocations: 0 / 379.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.4214, allocations: 95.88 kB / 379.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.4214, allocations: 0 / 379.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.4215, allocations: 15.94 kB / 379.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.4215, allocations: 4 kB / 379.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4215, allocations: 0 / 379.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.4238, allocations: 0.8016 MB / 380.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.4242, allocations: 164.5 kB / 380.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.4243, allocations: 8 kB / 380.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/0.425, allocations: 27.98 kB / 380.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4251, allocations: 27.95 kB / 380.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.4251, allocations: 15.98 kB / 380.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005515/0.4257, allocations: 310.9 kB / 381.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4257, allocations: 0 / 381.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009941/0.4267, allocations: 219.2 kB / 381.4 MB, free: 10.7 MB / 314.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.0001758/0.4269, allocations: 111.2 kB / 381.5 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.4292, allocations: 0.645 MB / 382.2 MB, free: 9.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4292, allocations: 4.312 kB / 382.2 MB, free: 9.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007008/0.4299, allocations: 207.8 kB / 382.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.4313, allocations: 138.2 kB / 382.5 MB, free: 9.594 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.4345, allocations: 1.578 MB / 384.1 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.4351, allocations: 0.8941 MB / 385 MB, free: 7.055 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.4354, allocations: 43.38 kB / 385 MB, free: 7.012 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4354, allocations: 0 / 385 MB, free: 7.012 MB / 314.7 MB Notification: Performance of Templates: time 0.01621/0.4517, allocations: 6.538 MB / 391.6 MB, free: 500 kB / 314.7 MB