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_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadModel(ModelicaTest): time 1.934/1.934, allocations: 209.3 MB / 223.8 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.009e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3597, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.004901/0.3647, allocations: 3.057 MB / 327.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.3675, allocations: 0.9613 MB / 328.9 MB, free: 1.098 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005516/0.3681, allocations: 32.31 kB / 328.9 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.3683, allocations: 48.83 kB / 329 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006909/0.369, allocations: 156.7 kB / 329.1 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.3702, allocations: 310.8 kB / 329.4 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.3713, allocations: 441.1 kB / 329.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.3717, allocations: 150.1 kB / 330 MB, free: 496 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.3723, allocations: 232.6 kB / 330.2 MB, free: 396 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.3727, allocations: 204.5 kB / 330.4 MB, free: 308 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.3728, allocations: 19.38 kB / 330.4 MB, free: 308 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.156e-05/0.3729, allocations: 22.88 kB / 330.5 MB, free: 304 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.373, allocations: 86.95 kB / 330.6 MB, free: 252 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.3731, allocations: 39.94 kB / 330.6 MB, free: 252 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007853/0.3739, allocations: 0.4898 MB / 331.1 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.374, allocations: 0 / 331.1 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.374, allocations: 0 / 331.1 MB, free: 124 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.374, allocations: 0 / 331.1 MB, free: 124 kB / 266.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.002057/0.3761, allocations: 0.7989 MB / 331.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3761, allocations: 9.625 kB / 331.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.3763, allocations: 78.17 kB / 332 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008951/0.3772, allocations: 436.6 kB / 332.4 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.3773, allocations: 37.52 kB / 332.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3775, allocations: 53.67 kB / 332.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.3789, allocations: 488.1 kB / 333 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.379, allocations: 5.219 kB / 333 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.3791, allocations: 20.88 kB / 333 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.3791, allocations: 10.62 kB / 333 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3804, allocations: 352.3 kB / 333.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005572/0.386, allocations: 1.779 MB / 335.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.3878, allocations: 469.3 kB / 335.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.187e-05/0.3879, allocations: 8.75 kB / 335.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3879, allocations: 37.64 kB / 335.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 2.965e-06/0.3879, allocations: 0 / 335.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.002167/0.3901, allocations: 0.553 MB / 336.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.3902, allocations: 108.1 kB / 336.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007743/0.391, allocations: 395.4 kB / 336.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.3911, allocations: 36.02 kB / 336.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.3915, allocations: 310.2 kB / 337 MB, free: 12.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.3917, allocations: 151.7 kB / 337.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.3917, allocations: 11.03 kB / 337.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3919, allocations: 369.6 kB / 337.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/0.3926, allocations: 167 kB / 337.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007802/0.3934, allocations: 306.1 kB / 338 MB, free: 12.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.3942, allocations: 207.5 kB / 338.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3942, allocations: 2.781 kB / 338.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001869/0.3961, allocations: 0.5488 MB / 338.7 MB, free: 11.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.3961, allocations: 11.55 kB / 338.7 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3962, allocations: 4.25 kB / 338.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.3962, allocations: 7.312 kB / 338.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.3971, allocations: 126.9 kB / 338.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.3972, allocations: 8.812 kB / 338.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.3978, allocations: 63.19 kB / 339 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.3979, allocations: 20.92 kB / 339 MB, free: 11.64 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.000369/0.3983, allocations: 178.5 kB / 339.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.3985, allocations: 56.62 kB / 339.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.3986, allocations: 61.8 kB / 339.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3987, allocations: 7.938 kB / 339.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/0.3987, allocations: 5.609 kB / 339.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3987, allocations: 6.109 kB / 339.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.3999, allocations: 0.5372 MB / 339.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3999, allocations: 5.25 kB / 339.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009909/0.4009, allocations: 86.14 kB / 339.9 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.4009, allocations: 6.375 kB / 339.9 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.401, allocations: 11.52 kB / 339.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.401, allocations: 2.344 kB / 339.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.401, allocations: 4 kB / 339.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.4033, allocations: 0.8025 MB / 340.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.4036, allocations: 163.1 kB / 340.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.4038, allocations: 7.438 kB / 340.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.4044, allocations: 31.77 kB / 340.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4045, allocations: 34.16 kB / 341 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.4046, allocations: 14.55 kB / 341 MB, free: 10.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005376/0.4051, allocations: 308.1 kB / 341.3 MB, free: 10.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4051, allocations: 0 / 341.3 MB, free: 10.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007003/0.4058, allocations: 120.7 kB / 341.4 MB, free: 10.06 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.0001678/0.406, allocations: 113.1 kB / 341.5 MB, free: 9.957 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.4076, allocations: 423.5 kB / 341.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4076, allocations: 1.031 kB / 341.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006745/0.4083, allocations: 195.5 kB / 342.1 MB, free: 9.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.4095, allocations: 141.8 kB / 342.3 MB, free: 9.641 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.4129, allocations: 1.544 MB / 343.8 MB, free: 8.527 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.4135, allocations: 0.8963 MB / 344.7 MB, free: 7.734 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004909/0.414, allocations: 60.2 kB / 344.8 MB, free: 7.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.4142, allocations: 41.94 kB / 344.8 MB, free: 7.688 MB / 282.7 MB Notification: Performance of SimCode: time 9.51e-07/0.4142, allocations: 0 / 344.8 MB, free: 7.688 MB / 282.7 MB Notification: Performance of Templates: time 0.0174/0.4316, allocations: 5.023 MB / 349.8 MB, free: 5.211 MB / 282.7 MB