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.18/2.18, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.386e-05/5.416e-05, allocations: 4 kB / 304.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3246, allocations: 54.85 MB / 359.7 MB, free: 2.652 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.4602, allocations: 88.41 MB / 448.2 MB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.4604, allocations: 67.97 kB / 448.2 MB, free: 8.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05421/0.5146, allocations: 13.24 MB / 461.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.182e-06/0.5147, allocations: 0 / 461.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.328e-05/0.5148, allocations: 19.92 kB / 461.5 MB, free: 11.28 MB / 394.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.001691/0.5165, allocations: 0.8099 MB / 462.3 MB, free: 10.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5165, allocations: 8.031 kB / 462.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.5167, allocations: 79.06 kB / 462.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.5177, allocations: 460.1 kB / 462.8 MB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/0.5178, allocations: 44.95 kB / 462.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5179, allocations: 59.91 kB / 462.9 MB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009983/0.5189, allocations: 432.6 kB / 463.4 MB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.519, allocations: 4 kB / 463.4 MB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.519, allocations: 20 kB / 463.4 MB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.5191, allocations: 8 kB / 463.4 MB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007672/0.5198, allocations: 293.2 kB / 463.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004283/0.5241, allocations: 1.778 MB / 465.4 MB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000883/0.525, allocations: 350.1 kB / 465.8 MB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.5254, allocations: 137.7 kB / 465.9 MB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.471e-05/0.5255, allocations: 4 kB / 465.9 MB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.5255, allocations: 38.56 kB / 466 MB, free: 6.566 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 3.185e-06/0.5255, allocations: 4.938 kB / 466 MB, free: 6.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008937/0.5264, allocations: 334.2 kB / 466.3 MB, free: 6.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.5265, allocations: 114.8 kB / 466.4 MB, free: 6.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/0.5272, allocations: 400 kB / 466.8 MB, free: 5.695 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.5273, allocations: 37.64 kB / 466.8 MB, free: 5.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.5276, allocations: 342.4 kB / 467.2 MB, free: 5.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.5278, allocations: 149.8 kB / 467.3 MB, free: 5.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.5278, allocations: 8 kB / 467.3 MB, free: 5.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.528, allocations: 334.8 kB / 467.7 MB, free: 4.824 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.5283, allocations: 129.1 kB / 467.8 MB, free: 4.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.5288, allocations: 260 kB / 468 MB, free: 4.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.5293, allocations: 163.8 kB / 468.2 MB, free: 4.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5293, allocations: 0 / 468.2 MB, free: 4.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001059/0.5303, allocations: 440.8 kB / 468.6 MB, free: 3.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007857/0.5311, allocations: 1.396 MB / 470 MB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5312, allocations: 4 kB / 470 MB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.5312, allocations: 4 kB / 470 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.5319, allocations: 131.8 kB / 470.2 MB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/0.532, allocations: 7.938 kB / 470.2 MB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/0.5325, allocations: 63.56 kB / 470.2 MB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.5325, allocations: 20.56 kB / 470.2 MB, free: 2.066 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5326, allocations: 4 kB / 470.2 MB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009421/0.5335, allocations: 395.3 kB / 470.6 MB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5335, allocations: 4 kB / 470.6 MB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5336, allocations: 11.95 kB / 470.7 MB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.5342, allocations: 120.3 kB / 470.8 MB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.5342, allocations: 13.53 kB / 470.8 MB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.5345, allocations: 51.61 kB / 470.8 MB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/0.5346, allocations: 20 kB / 470.9 MB, free: 1.461 MB / 394.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.0001657/0.5348, allocations: 128.8 kB / 471 MB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.5349, allocations: 55.34 kB / 471 MB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.5351, allocations: 61.22 kB / 471.1 MB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.763e-06/0.5351, allocations: 11.95 kB / 471.1 MB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.437e-06/0.5352, allocations: 4 kB / 471.1 MB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5352, allocations: 3.984 kB / 471.1 MB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.5363, allocations: 0.536 MB / 471.6 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.618e-06/0.5363, allocations: 4 kB / 471.7 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.537, allocations: 91.88 kB / 471.7 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.537, allocations: 3.984 kB / 471.7 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/0.5371, allocations: 19.94 kB / 471.8 MB, free: 500 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.406e-06/0.5371, allocations: 4 kB / 471.8 MB, free: 496 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.276e-06/0.5371, allocations: 3.953 kB / 471.8 MB, free: 492 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.5384, allocations: 0.6658 MB / 472.4 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.5387, allocations: 165.4 kB / 472.6 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.5388, allocations: 12 kB / 472.6 MB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.5393, allocations: 39.92 kB / 472.6 MB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.5394, allocations: 35.89 kB / 472.7 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.5394, allocations: 4 kB / 472.7 MB, free: 15.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005041/0.54, allocations: 313.6 kB / 473 MB, free: 15.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.54, allocations: 0 / 473 MB, free: 15.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009686/0.541, allocations: 223.2 kB / 473.2 MB, free: 15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (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,Wsec.y,Vsec.y,Asec.y) * 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.000187/0.5412, allocations: 122.2 kB / 473.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.5425, allocations: 0.5202 MB / 473.9 MB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.378e-06/0.5425, allocations: 1.188 kB / 473.9 MB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.5428, allocations: 155.9 kB / 474 MB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009407/0.5438, allocations: 137.3 kB / 474.1 MB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.546, allocations: 1.015 MB / 475.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.5467, allocations: 0.8988 MB / 476.1 MB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.547, allocations: 43.44 kB / 476.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of SimCode: time 4.771e-06/0.547, allocations: 0 / 476.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of Templates: time 0.01329/0.5603, allocations: 6.602 MB / 482.7 MB, free: 5.457 MB / 410.7 MB