Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.808e-05, allocations: 3.188 kB / 379 MB, free: 115.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0773/0.07734, allocations: 44.53 MB / 423.6 MB, free: 77.22 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.4835, allocations: 118.5 MB / 0.5294 GB, free: 18.15 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.4839, allocations: 81.3 kB / 0.5294 GB, free: 18.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3004/0.7843, allocations: 77.88 MB / 0.6055 GB, free: 2.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7844, allocations: 0 / 0.6055 GB, free: 2.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003066/0.7847, allocations: 91.86 kB / 0.6056 GB, free: 2.902 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.00946/0.7942, allocations: 3.271 MB / 0.6088 GB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.7942, allocations: 8.531 kB / 0.6088 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.7967, allocations: 0.5317 MB / 0.6093 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006967/0.8037, allocations: 2.534 MB / 0.6118 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000552/0.8042, allocations: 255.2 kB / 0.612 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009204/0.8052, allocations: 191.9 kB / 0.6122 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008821/0.814, allocations: 3.285 MB / 0.6154 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.8246, allocations: 3.634 MB / 0.619 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001439/0.8248, allocations: 11.91 kB / 0.619 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004022/0.8252, allocations: 4 kB / 0.619 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000187/0.8254, allocations: 138 kB / 0.6191 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04305/0.8685, allocations: 13.37 MB / 0.6322 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008886/0.8774, allocations: 2.042 MB / 0.6341 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005278/0.8827, allocations: 1.151 MB / 0.6353 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007162/0.8835, allocations: 240.1 kB / 0.6355 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004608/0.8882, allocations: 1.19 MB / 0.6367 GB, free: 2.266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=196): time 1.087e-05/0.8882, allocations: 0 / 0.6367 GB, free: 2.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=249): time 0.186/1.074, allocations: 9.455 MB / 0.6459 GB, free: 79.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.074, allocations: 189 kB / 0.6461 GB, free: 79.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00418/1.079, allocations: 1.624 MB / 0.6477 GB, free: 79.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005054/1.079, allocations: 45.98 kB / 0.6477 GB, free: 79.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/1.081, allocations: 1.482 MB / 0.6492 GB, free: 79.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001217/1.082, allocations: 0.7997 MB / 0.6499 GB, free: 78.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/1.082, allocations: 3.859 kB / 0.6499 GB, free: 78.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002474/1.083, allocations: 418.3 kB / 0.6503 GB, free: 78.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002665/1.085, allocations: 1.225 MB / 0.6515 GB, free: 78.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/1.089, allocations: 1.839 MB / 0.6533 GB, free: 77.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/1.093, allocations: 1.504 MB / 0.6548 GB, free: 77.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-05/1.093, allocations: 3.844 kB / 0.6548 GB, free: 77.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01058/1.104, allocations: 3.611 MB / 0.6583 GB, free: 77.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/1.104, allocations: 11.59 kB / 0.6583 GB, free: 77.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-05/1.104, allocations: 15.34 kB / 0.6584 GB, free: 77.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/1.106, allocations: 498.7 kB / 0.6588 GB, free: 77.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/1.11, allocations: 0.6893 MB / 0.6595 GB, free: 77.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/1.116, allocations: 4.477 MB / 0.6639 GB, free: 74.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/1.119, allocations: 144.2 kB / 0.664 GB, free: 74.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004608/1.12, allocations: 117.3 kB / 0.6641 GB, free: 74.73 MB / 398.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gearbox.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gearbox.lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$PRE.motor.uniformNoise.state[1],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[4],$PRE.motor.uniformNoise.r,motor.uniformNoise.r,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.mode,gearbox.lossyGear.ideal,motor.uniformNoise.localSeed,motor.uniformNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 315 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0006632/1.12, allocations: 194.4 kB / 0.6643 GB, free: 74.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006022/1.121, allocations: 244 kB / 0.6645 GB, free: 74.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007537/1.129, allocations: 3.382 MB / 0.6678 GB, free: 74.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/1.129, allocations: 21.25 kB / 0.6679 GB, free: 74.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.129, allocations: 6.156 kB / 0.6679 GB, free: 74.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.372e-05/1.129, allocations: 10.83 kB / 0.6679 GB, free: 74.32 MB / 398.1 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02271/1.151, allocations: 8.863 MB / 0.6765 GB, free: 73.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-05/1.152, allocations: 3.125 kB / 0.6765 GB, free: 73.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004932/1.156, allocations: 474.5 kB / 0.677 GB, free: 73.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/1.159, allocations: 0.655 MB / 0.6776 GB, free: 73.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004405/1.159, allocations: 26.14 kB / 0.6777 GB, free: 73.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009984/1.169, allocations: 7.514 MB / 0.685 GB, free: 68.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004435/1.174, allocations: 3.249 MB / 0.6882 GB, free: 66.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05961/1.233, allocations: 28.89 MB / 0.7164 GB, free: 51.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/1.236, allocations: 0.6245 MB / 0.717 GB, free: 50.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006517/1.236, allocations: 19.19 kB / 0.717 GB, free: 50.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.239, allocations: 126.3 kB / 0.7171 GB, free: 50.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006744/1.24, allocations: 213.5 kB / 0.7173 GB, free: 50.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/1.24, allocations: 72.16 kB / 0.7174 GB, free: 50.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002543/1.242, allocations: 1.209 MB / 0.7186 GB, free: 50.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.36e-07/1.242, allocations: 0 / 0.7186 GB, free: 50.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.008498/1.251, allocations: 1.002 MB / 0.7196 GB, free: 50.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 ($STATESET1.x,controller.speed_PI.x,controller.positionToSpeed.x,controller.position_PI.x,gearbox.phi_rel,gearbox.w_rel,slewRateLimiter.y,rodMass.s,rodMass.v,elastoGap.s_rel,elastoGap.v_rel) * Number of discrete variables: 12 ($whenCondition1,motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],motor.uniformNoise.r,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,gearbox.lossyGear.mode) * Number of discrete states: 5 (motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],gearbox.lossyGear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(3,100.0%) 11} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002312/1.253, allocations: 0.5791 MB / 0.7201 GB, free: 50.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007312/1.261, allocations: 3.498 MB / 0.7235 GB, free: 47.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.433e-06/1.261, allocations: 3.094 kB / 0.7235 GB, free: 47.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004209/1.265, allocations: 2.14 MB / 0.7256 GB, free: 45.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/1.268, allocations: 485.2 kB / 0.7261 GB, free: 45.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/1.284, allocations: 7.759 MB / 0.7337 GB, free: 38.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003214/1.288, allocations: 2.517 MB / 0.7361 GB, free: 36.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003248/1.291, allocations: 0.6506 MB / 0.7368 GB, free: 35.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.292, allocations: 218.9 kB / 0.737 GB, free: 35.72 MB / 398.1 MB Notification: Performance of SimCode: time 1.837e-06/1.292, allocations: 3.891 kB / 0.737 GB, free: 35.72 MB / 398.1 MB Notification: Performance of Templates: time 0.1055/1.398, allocations: 44.59 MB / 0.7805 GB, free: 2.34 MB / 398.1 MB