Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.406/2.406, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.879e-05, allocations: 4.375 kB / 249.8 MB, free: 5.301 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6046/0.7293, allocations: 118.5 MB / 412.7 MB, free: 3.469 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.7297, allocations: 81.27 kB / 412.8 MB, free: 3.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.41/1.14, allocations: 78.13 MB / 491 MB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.14, allocations: 0 / 491 MB, free: 12.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005317/1.14, allocations: 91.8 kB / 491 MB, free: 12.65 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.01627/1.157, allocations: 3.283 MB / 494.3 MB, free: 9.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/1.157, allocations: 8.031 kB / 494.3 MB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002197/1.159, allocations: 318.7 kB / 494.6 MB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/1.163, allocations: 463.4 kB / 495.1 MB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/1.174, allocations: 2.53 MB / 497.6 MB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009252/1.175, allocations: 259.2 kB / 497.9 MB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/1.176, allocations: 191.9 kB / 498.1 MB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01342/1.19, allocations: 3.285 MB / 0.4896 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3644/1.554, allocations: 3.632 MB / 0.4931 GB, free: 78.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002857/1.554, allocations: 10.53 kB / 0.4932 GB, free: 78.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001205/1.556, allocations: 3.5 kB / 0.4932 GB, free: 78.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002778/1.556, allocations: 142 kB / 0.4933 GB, free: 78.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04545/1.601, allocations: 13.36 MB / 0.5063 GB, free: 75.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006092/1.608, allocations: 2.036 MB / 0.5083 GB, free: 75.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/1.611, allocations: 1.153 MB / 0.5095 GB, free: 75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/1.612, allocations: 236.1 kB / 0.5097 GB, free: 74.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003757/1.616, allocations: 1.188 MB / 0.5108 GB, free: 74.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=196): time 7.114e-06/1.616, allocations: 0 / 0.5108 GB, free: 74.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=249): time 0.03885/1.655, allocations: 9.47 MB / 0.5201 GB, free: 73.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.655, allocations: 192.8 kB / 0.5203 GB, free: 73.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/1.659, allocations: 1.628 MB / 0.5219 GB, free: 73.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007231/1.66, allocations: 36.14 kB / 0.5219 GB, free: 73.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002141/1.662, allocations: 1.482 MB / 0.5234 GB, free: 72.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.664, allocations: 0.7972 MB / 0.5241 GB, free: 72.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/1.664, allocations: 3.938 kB / 0.5241 GB, free: 72.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002588/1.665, allocations: 418.3 kB / 0.5245 GB, free: 71.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003718/1.668, allocations: 1.221 MB / 0.5257 GB, free: 71.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004458/1.673, allocations: 1.842 MB / 0.5275 GB, free: 71.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004862/1.678, allocations: 1.507 MB / 0.529 GB, free: 70.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.953e-05/1.678, allocations: 7.906 kB / 0.529 GB, free: 70.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01291/1.691, allocations: 3.609 MB / 0.5325 GB, free: 69.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/1.691, allocations: 12 kB / 0.5325 GB, free: 69.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.147e-05/1.691, allocations: 20.28 kB / 0.5326 GB, free: 69.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/1.693, allocations: 0.4901 MB / 0.533 GB, free: 69.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006644/1.7, allocations: 0.6875 MB / 0.5337 GB, free: 69.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0087/1.709, allocations: 4.481 MB / 0.5381 GB, free: 65.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/1.713, allocations: 146.1 kB / 0.5382 GB, free: 65.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000795/1.714, allocations: 117.3 kB / 0.5383 GB, free: 65.77 MB / 394.7 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.001032/1.715, allocations: 185.5 kB / 0.5385 GB, free: 65.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.716, allocations: 247.6 kB / 0.5387 GB, free: 65.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/1.728, allocations: 3.382 MB / 0.5421 GB, free: 64.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/1.728, allocations: 22.5 kB / 0.5421 GB, free: 64.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.728, allocations: 6.562 kB / 0.5421 GB, free: 64.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.733e-05/1.729, allocations: 11.39 kB / 0.5421 GB, free: 64.18 MB / 394.7 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.02944/1.758, allocations: 8.871 MB / 0.5508 GB, free: 60.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-05/1.758, allocations: 2.938 kB / 0.5508 GB, free: 60.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005088/1.763, allocations: 478.6 kB / 0.5512 GB, free: 60.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003386/1.767, allocations: 0.6546 MB / 0.5519 GB, free: 60.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005525/1.767, allocations: 22.16 kB / 0.5519 GB, free: 60.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/1.784, allocations: 7.508 MB / 0.5592 GB, free: 54.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008928/1.793, allocations: 3.231 MB / 0.5624 GB, free: 52.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02027/1.813, allocations: 5.249 MB / 0.5675 GB, free: 50.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003493/1.817, allocations: 0.6288 MB / 0.5681 GB, free: 49.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.818, allocations: 18.52 kB / 0.5681 GB, free: 49.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005107/1.824, allocations: 126.6 kB / 0.5682 GB, free: 49.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/1.825, allocations: 207.2 kB / 0.5684 GB, free: 49.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004969/1.825, allocations: 72.17 kB / 0.5685 GB, free: 49.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004673/1.83, allocations: 1.207 MB / 0.5697 GB, free: 49.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.443e-06/1.83, allocations: 0 / 0.5697 GB, free: 49.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007325/1.837, allocations: 0.7425 MB / 0.5704 GB, free: 49.21 MB / 394.7 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.02274/1.86, allocations: 6.661 MB / 0.5769 GB, free: 45.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01691/1.877, allocations: 3.487 MB / 0.5803 GB, free: 42.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/1.877, allocations: 8.062 kB / 0.5803 GB, free: 42.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007817/1.885, allocations: 2.144 MB / 0.5824 GB, free: 40.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005777/1.891, allocations: 485 kB / 0.5829 GB, free: 40.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/1.917, allocations: 6.597 MB / 0.5893 GB, free: 34.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003972/1.921, allocations: 2.45 MB / 0.5917 GB, free: 32.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004835/1.926, allocations: 0.6091 MB / 0.5923 GB, free: 32.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004774/1.931, allocations: 1.336 MB / 0.5936 GB, free: 31.08 MB / 394.7 MB Notification: Performance of SimCode: time 2.224e-06/1.931, allocations: 0 / 0.5936 GB, free: 31.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6449/2.576, allocations: 65.41 MB / 0.6575 GB, free: 82.72 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00033/2.576, allocations: 185.4 kB / 0.6577 GB, free: 82.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.497/9.073, allocations: 5.109 kB / 0.6577 GB, free: 82.54 MB / 410.7 MB