Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.015e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3501, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/0.565, allocations: 118.5 MB / 412.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/0.5654, allocations: 87.95 kB / 412.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5953/1.161, allocations: 77.84 MB / 490.6 MB, free: 61.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.161, allocations: 0 / 490.6 MB, free: 61.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004003/1.161, allocations: 87.94 kB / 490.7 MB, free: 61.03 MB / 362.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.01311/1.174, allocations: 3.271 MB / 494 MB, free: 57.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/1.174, allocations: 12.03 kB / 494 MB, free: 57.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/1.177, allocations: 459 kB / 494.4 MB, free: 57.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008116/1.186, allocations: 2.541 MB / 497 MB, free: 54.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006538/1.186, allocations: 255.2 kB / 497.2 MB, free: 54.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/1.188, allocations: 187.9 kB / 497.4 MB, free: 54.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01005/1.198, allocations: 3.289 MB / 0.489 GB, free: 50.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/1.209, allocations: 3.634 MB / 0.4925 GB, free: 47.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/1.209, allocations: 11.91 kB / 0.4925 GB, free: 47.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000424/1.21, allocations: 4 kB / 0.4925 GB, free: 47.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/1.21, allocations: 142 kB / 0.4927 GB, free: 47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0338/1.244, allocations: 13.36 MB / 0.5057 GB, free: 33.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006375/1.25, allocations: 2.034 MB / 0.5077 GB, free: 31.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004349/1.254, allocations: 1.147 MB / 0.5088 GB, free: 30.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000806/1.255, allocations: 240 kB / 0.5091 GB, free: 29.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004861/1.26, allocations: 1.194 MB / 0.5102 GB, free: 28.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=196): time 7.254e-06/1.26, allocations: 0 / 0.5102 GB, free: 28.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=249): time 0.03627/1.297, allocations: 9.48 MB / 0.5195 GB, free: 19.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/1.297, allocations: 192.2 kB / 0.5197 GB, free: 18.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003836/1.301, allocations: 1.622 MB / 0.5212 GB, free: 17.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006579/1.301, allocations: 41.69 kB / 0.5213 GB, free: 17.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/1.303, allocations: 1.476 MB / 0.5227 GB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001303/1.304, allocations: 0.8006 MB / 0.5235 GB, free: 14.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/1.305, allocations: 4 kB / 0.5235 GB, free: 14.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002114/1.305, allocations: 407.6 kB / 0.5239 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003191/1.308, allocations: 1.232 MB / 0.5251 GB, free: 13.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00389/1.312, allocations: 1.841 MB / 0.5269 GB, free: 11.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004208/1.316, allocations: 1.507 MB / 0.5284 GB, free: 9.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.839e-05/1.316, allocations: 4 kB / 0.5284 GB, free: 9.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01659/1.333, allocations: 3.603 MB / 0.5319 GB, free: 5.988 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/1.333, allocations: 12 kB / 0.5319 GB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.31e-05/1.333, allocations: 32 kB / 0.5319 GB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/1.336, allocations: 491.1 kB / 0.5324 GB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006283/1.343, allocations: 0.6903 MB / 0.5331 GB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007972/1.351, allocations: 4.48 MB / 0.5375 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/1.355, allocations: 151.8 kB / 0.5376 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009275/1.356, allocations: 112 kB / 0.5377 GB, free: 15.8 MB / 378.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.001234/1.357, allocations: 203.3 kB / 0.5379 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01092/1.368, allocations: 3.145 MB / 0.541 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/1.37, allocations: 241 kB / 0.5412 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.381, allocations: 3.377 MB / 0.5445 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/1.381, allocations: 24 kB / 0.5445 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/1.381, allocations: 4 kB / 0.5445 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.725e-05/1.382, allocations: 15.95 kB / 0.5445 GB, free: 8.746 MB / 378.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.3904/1.772, allocations: 8.859 MB / 0.5532 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.631e-05/1.772, allocations: 6.188 kB / 0.5532 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004591/1.777, allocations: 479.4 kB / 0.5537 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/1.78, allocations: 0.6481 MB / 0.5543 GB, free: 77.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005631/1.78, allocations: 21.05 kB / 0.5543 GB, free: 77.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.795, allocations: 7.5 MB / 0.5616 GB, free: 74.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008547/1.804, allocations: 3.24 MB / 0.5648 GB, free: 72.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01846/1.822, allocations: 5.245 MB / 0.5699 GB, free: 72.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003055/1.825, allocations: 0.6248 MB / 0.5705 GB, free: 72.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/1.827, allocations: 23.14 kB / 0.5706 GB, free: 72.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004494/1.831, allocations: 126 kB / 0.5707 GB, free: 72.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/1.832, allocations: 210.2 kB / 0.5709 GB, free: 72.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003718/1.833, allocations: 69.56 kB / 0.5709 GB, free: 72.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004048/1.837, allocations: 1.204 MB / 0.5721 GB, free: 72.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.61e-07/1.837, allocations: 0 / 0.5721 GB, free: 72.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006313/1.843, allocations: 0.7465 MB / 0.5728 GB, free: 72.27 MB / 378.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.02178/1.865, allocations: 6.65 MB / 0.5793 GB, free: 70.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01212/1.877, allocations: 3.493 MB / 0.5828 GB, free: 70.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/1.877, allocations: 2.781 kB / 0.5828 GB, free: 70.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00565/1.883, allocations: 2.146 MB / 0.5849 GB, free: 69.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004816/1.888, allocations: 488.1 kB / 0.5853 GB, free: 69.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/1.908, allocations: 6.603 MB / 0.5918 GB, free: 67.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002918/1.911, allocations: 2.448 MB / 0.5942 GB, free: 66.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003607/1.915, allocations: 0.6084 MB / 0.5948 GB, free: 66.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003501/1.918, allocations: 1.336 MB / 0.5961 GB, free: 65.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/1.918, allocations: 0 / 0.5961 GB, free: 65.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/2.149, allocations: 62.94 MB / 0.6575 GB, free: 20.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/2.149, allocations: 183 kB / 0.6577 GB, free: 20.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.432/7.582, allocations: 0 / 0.6577 GB, free: 20.73 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise_res.mat does not exist to compare? outputFormat=mat