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.542/2.542, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.833e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3853, allocations: 44.5 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2929/0.6783, allocations: 118.5 MB / 412.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/0.6787, allocations: 83.95 kB / 412.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.726/1.405, allocations: 77.84 MB / 490.7 MB, free: 61.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.405, allocations: 0 / 490.7 MB, free: 61.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005337/1.405, allocations: 87.88 kB / 490.8 MB, free: 60.99 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.01984/1.425, allocations: 3.275 MB / 494 MB, free: 57.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/1.425, allocations: 8.031 kB / 494.1 MB, free: 57.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005214/1.431, allocations: 471 kB / 494.5 MB, free: 57.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/1.446, allocations: 2.537 MB / 497 MB, free: 54.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001262/1.447, allocations: 255.2 kB / 497.3 MB, free: 54.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/1.449, allocations: 191.9 kB / 497.5 MB, free: 54.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01806/1.467, allocations: 3.292 MB / 0.489 GB, free: 50.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/1.486, allocations: 3.63 MB / 0.4926 GB, free: 47.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002186/1.486, allocations: 15.84 kB / 0.4926 GB, free: 47.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008251/1.487, allocations: 0 / 0.4926 GB, free: 47.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002006/1.487, allocations: 146 kB / 0.4927 GB, free: 46.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03753/1.525, allocations: 13.36 MB / 0.5058 GB, free: 33.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005463/1.53, allocations: 2.038 MB / 0.5078 GB, free: 31.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003087/1.533, allocations: 1.147 MB / 0.5089 GB, free: 30.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/1.534, allocations: 235.8 kB / 0.5091 GB, free: 29.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003252/1.537, allocations: 1.201 MB / 0.5103 GB, free: 28.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=196): time 6.131e-06/1.537, allocations: 0 / 0.5103 GB, free: 28.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=249): time 0.03353/1.571, allocations: 9.468 MB / 0.5195 GB, free: 19.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/1.571, allocations: 192.2 kB / 0.5197 GB, free: 18.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/1.575, allocations: 1.622 MB / 0.5213 GB, free: 17.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006604/1.576, allocations: 41.62 kB / 0.5213 GB, free: 17.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/1.577, allocations: 1.48 MB / 0.5228 GB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.579, allocations: 0.7967 MB / 0.5236 GB, free: 14.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/1.579, allocations: 3.938 kB / 0.5236 GB, free: 14.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002183/1.579, allocations: 415.6 kB / 0.524 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003242/1.583, allocations: 1.228 MB / 0.5252 GB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003929/1.587, allocations: 1.841 MB / 0.527 GB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/1.591, allocations: 1.503 MB / 0.5284 GB, free: 9.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.967e-05/1.591, allocations: 7.938 kB / 0.5284 GB, free: 9.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01158/1.603, allocations: 3.599 MB / 0.532 GB, free: 5.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/1.603, allocations: 15.98 kB / 0.532 GB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.316e-05/1.603, allocations: 19.95 kB / 0.532 GB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/1.605, allocations: 499.1 kB / 0.5325 GB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006193/1.611, allocations: 0.6865 MB / 0.5331 GB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008122/1.619, allocations: 4.479 MB / 0.5375 GB, free: 24 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/1.624, allocations: 143.8 kB / 0.5376 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008793/1.625, allocations: 120 kB / 0.5378 GB, free: 15.77 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.0009548/1.626, allocations: 195.2 kB / 0.5379 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01149/1.637, allocations: 3.153 MB / 0.541 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.639, allocations: 241 kB / 0.5413 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/1.651, allocations: 3.384 MB / 0.5446 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-05/1.651, allocations: 24 kB / 0.5446 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/1.651, allocations: 8 kB / 0.5446 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/1.651, allocations: 11.95 kB / 0.5446 GB, free: 8.703 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.357/2.008, allocations: 8.851 MB / 0.5532 GB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.592e-05/2.008, allocations: 8.625 kB / 0.5533 GB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005215/2.013, allocations: 483.7 kB / 0.5537 GB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00333/2.017, allocations: 0.6423 MB / 0.5543 GB, free: 77.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005623/2.017, allocations: 25.3 kB / 0.5544 GB, free: 77.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/2.033, allocations: 7.506 MB / 0.5617 GB, free: 74.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006916/2.04, allocations: 3.247 MB / 0.5649 GB, free: 73.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/2.055, allocations: 5.248 MB / 0.57 GB, free: 72.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002641/2.058, allocations: 0.6307 MB / 0.5706 GB, free: 72.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/2.059, allocations: 19.27 kB / 0.5706 GB, free: 72.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003784/2.063, allocations: 127 kB / 0.5707 GB, free: 72.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/2.064, allocations: 207.2 kB / 0.5709 GB, free: 72.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003166/2.064, allocations: 70.25 kB / 0.571 GB, free: 72.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003191/2.068, allocations: 1.205 MB / 0.5722 GB, free: 72.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.01e-07/2.068, allocations: 3.906 kB / 0.5722 GB, free: 72.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005001/2.073, allocations: 0.7328 MB / 0.5729 GB, free: 72.32 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.02262/2.095, allocations: 6.659 MB / 0.5794 GB, free: 70.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01353/2.109, allocations: 3.497 MB / 0.5828 GB, free: 70.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.109, allocations: 2.906 kB / 0.5828 GB, free: 70.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008605/2.118, allocations: 2.151 MB / 0.5849 GB, free: 69.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007/2.125, allocations: 478.4 kB / 0.5854 GB, free: 69.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05759/2.182, allocations: 6.597 MB / 0.5918 GB, free: 67.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006078/2.188, allocations: 2.454 MB / 0.5942 GB, free: 66.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007135/2.196, allocations: 0.6097 MB / 0.5948 GB, free: 66.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006467/2.202, allocations: 1.331 MB / 0.5961 GB, free: 65.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.595e-06/2.202, allocations: 0 / 0.5961 GB, free: 65.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2301/2.432, allocations: 62.97 MB / 0.6576 GB, free: 20.9 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002661/2.433, allocations: 183.6 kB / 0.6578 GB, free: 20.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.225/8.658, allocations: 11.66 kB / 0.6578 GB, free: 20.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise_res.mat does not exist to compare? outputFormat=mat