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 2.03/2.03, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/3.028e-05, allocations: 6.812 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.09647, allocations: 48.68 MB / 321.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5492, allocations: 82.35 MB / 404.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.5494, allocations: 68.5 kB / 404.2 MB, free: 6.246 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05472/0.6042, allocations: 14.14 MB / 418.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.577e-06/0.6042, allocations: 3.938 kB / 418.3 MB, free: 388 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.104e-05/0.6043, allocations: 20 kB / 418.3 MB, free: 368 kB / 314.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.001714/0.606, allocations: 0.8227 MB / 419.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.6061, allocations: 8.031 kB / 419.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.6063, allocations: 87.02 kB / 419.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.6075, allocations: 479.5 kB / 419.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.6075, allocations: 48.36 kB / 419.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.6077, allocations: 52.03 kB / 419.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.6087, allocations: 453.1 kB / 420.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.6088, allocations: 4 kB / 420.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.6089, allocations: 16.94 kB / 420.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.6089, allocations: 8 kB / 420.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.6097, allocations: 294.5 kB / 420.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004646/0.6143, allocations: 1.771 MB / 422.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008792/0.6152, allocations: 362.2 kB / 422.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.6156, allocations: 139.6 kB / 422.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/0.6156, allocations: 4 kB / 422.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.6157, allocations: 41.66 kB / 422.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 3.977e-06/0.6157, allocations: 7.938 kB / 422.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009489/0.6167, allocations: 333.4 kB / 423.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.6168, allocations: 132.5 kB / 423.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/0.6175, allocations: 393.7 kB / 423.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.6176, allocations: 36.39 kB / 423.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.6178, allocations: 310.8 kB / 424.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.618, allocations: 150.8 kB / 424.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.6181, allocations: 7.562 kB / 424.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.6183, allocations: 370.8 kB / 424.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.6187, allocations: 131.8 kB / 424.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.6191, allocations: 264.5 kB / 425 MB, free: 10.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.6196, allocations: 160.4 kB / 425.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.044e-06/0.6196, allocations: 7.938 kB / 425.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001139/0.6207, allocations: 469.4 kB / 425.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6208, allocations: 8 kB / 425.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.6208, allocations: 7.984 kB / 425.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.6208, allocations: 4 kB / 425.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.6216, allocations: 126.4 kB / 425.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/0.6216, allocations: 11.98 kB / 425.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.6222, allocations: 66.06 kB / 425.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.6223, allocations: 19.38 kB / 425.8 MB, free: 10.09 MB / 330.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.0001744/0.6224, allocations: 131.4 kB / 426 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.6226, allocations: 63.28 kB / 426 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.6228, allocations: 66.3 kB / 426.1 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.6228, allocations: 7.938 kB / 426.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.6229, allocations: 0 / 426.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.6229, allocations: 3.984 kB / 426.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.6239, allocations: 0.5378 MB / 426.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6239, allocations: 0 / 426.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.6247, allocations: 91.58 kB / 426.7 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.524e-06/0.6248, allocations: 4 kB / 426.7 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.6248, allocations: 15.58 kB / 426.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.75e-06/0.6248, allocations: 0 / 426.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.932e-06/0.6249, allocations: 4 kB / 426.8 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.6262, allocations: 0.68 MB / 427.4 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.6265, allocations: 162.8 kB / 427.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.6266, allocations: 19.11 kB / 427.6 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.6272, allocations: 34.67 kB / 427.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.6273, allocations: 23.95 kB / 427.7 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.6273, allocations: 15.73 kB / 427.7 MB, free: 8.523 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000514/0.6279, allocations: 308 kB / 428 MB, free: 8.293 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.031e-06/0.6279, allocations: 4 kB / 428 MB, free: 8.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007438/0.6286, allocations: 132.6 kB / 428.1 MB, free: 8.172 MB / 330.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.0001918/0.6288, allocations: 116.5 kB / 428.2 MB, free: 8.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008838/0.6297, allocations: 332.8 kB / 428.6 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6298, allocations: 0.875 kB / 428.6 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.6301, allocations: 154.4 kB / 428.7 MB, free: 7.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.6312, allocations: 142.3 kB / 428.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.6334, allocations: 0.9844 MB / 429.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/0.6341, allocations: 0.8947 MB / 430.7 MB, free: 5.781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004153/0.6346, allocations: 56.25 kB / 430.8 MB, free: 5.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.6348, allocations: 39.42 kB / 430.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of SimCode: time 1.918e-06/0.6348, allocations: 0 / 430.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of Templates: time 0.01646/0.6512, allocations: 5.283 MB / 436.1 MB, free: 468 kB / 330.7 MB