Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.902e-05, allocations: 10.03 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 50.4 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5635/0.6738, allocations: 125.3 MB / 467.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.6742, allocations: 87.7 kB / 468 MB, free: 1.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6595/1.334, allocations: 79.57 MB / 0.5347 GB, free: 100.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.334, allocations: 2.812 kB / 0.5347 GB, free: 100.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004551/1.334, allocations: 91.03 kB / 0.5348 GB, free: 100.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01455/1.349, allocations: 3.31 MB / 0.5381 GB, free: 99.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.349, allocations: 9.875 kB / 0.5381 GB, free: 99.09 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001878/1.351, allocations: 440.3 kB / 0.5385 GB, free: 99.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003218/1.354, allocations: 465.9 kB / 0.5389 GB, free: 98.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00912/1.363, allocations: 2.559 MB / 0.5414 GB, free: 98.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009212/1.364, allocations: 356.4 kB / 0.5418 GB, free: 98.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/1.366, allocations: 327.3 kB / 0.5421 GB, free: 98.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/1.382, allocations: 4.047 MB / 0.546 GB, free: 97.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002544/1.382, allocations: 11.59 kB / 0.546 GB, free: 97.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001035/1.383, allocations: 128.7 kB / 0.5462 GB, free: 97.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002834/1.383, allocations: 141 kB / 0.5463 GB, free: 97.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/1.399, allocations: 3.453 MB / 0.5497 GB, free: 97.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04286/1.442, allocations: 14.03 MB / 0.5634 GB, free: 93.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007668/1.45, allocations: 2.076 MB / 0.5654 GB, free: 92.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004879/1.455, allocations: 1.195 MB / 0.5666 GB, free: 92.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006893/1.455, allocations: 237.1 kB / 0.5668 GB, free: 92.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004778/1.46, allocations: 1.234 MB / 0.568 GB, free: 91.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=193): time 9.227e-06/1.46, allocations: 6.188 kB / 0.568 GB, free: 91.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=244): time 0.05784/1.518, allocations: 10.96 MB / 0.5787 GB, free: 87.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00886/1.527, allocations: 3.52 MB / 0.5821 GB, free: 84.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006486/1.534, allocations: 1.95 MB / 0.5841 GB, free: 84.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000865/1.534, allocations: 80.64 kB / 0.5841 GB, free: 84.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002317/1.537, allocations: 1.493 MB / 0.5856 GB, free: 82.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001801/1.539, allocations: 0.822 MB / 0.5864 GB, free: 82.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/1.539, allocations: 54.5 kB / 0.5864 GB, free: 82.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002824/1.539, allocations: 419.4 kB / 0.5868 GB, free: 81.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004938/1.544, allocations: 1.256 MB / 0.5881 GB, free: 81.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005681/1.55, allocations: 1.885 MB / 0.5899 GB, free: 80.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005809/1.556, allocations: 1.525 MB / 0.5914 GB, free: 79.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.431e-05/1.556, allocations: 3.625 kB / 0.5914 GB, free: 79.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01687/1.573, allocations: 3.792 MB / 0.5951 GB, free: 77.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/1.573, allocations: 11.09 kB / 0.5951 GB, free: 77.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.63e-05/1.573, allocations: 21.53 kB / 0.5951 GB, free: 77.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/1.576, allocations: 0.4949 MB / 0.5956 GB, free: 77.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005554/1.582, allocations: 0.6853 MB / 0.5963 GB, free: 77.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007691/1.59, allocations: 4.629 MB / 0.6008 GB, free: 74.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005055/1.595, allocations: 203.8 kB / 0.601 GB, free: 74.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008884/1.596, allocations: 119.1 kB / 0.6011 GB, free: 74.09 MB / 442.7 MB 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 (316): * Single equations (assignments): 310 * 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.001077/1.597, allocations: 271.2 kB / 0.6014 GB, free: 73.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/1.598, allocations: 267.6 kB / 0.6016 GB, free: 73.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/1.613, allocations: 3.548 MB / 0.6051 GB, free: 72.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.538e-05/1.613, allocations: 22.38 kB / 0.6051 GB, free: 72.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/1.613, allocations: 7.875 kB / 0.6051 GB, free: 72.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.131e-05/1.613, allocations: 10.36 kB / 0.6051 GB, free: 72.25 MB / 442.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.07394/1.687, allocations: 9.279 MB / 0.6142 GB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/1.687, allocations: 0 / 0.6142 GB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005501/1.693, allocations: 472.4 kB / 0.6146 GB, free: 64.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004066/1.697, allocations: 0.6469 MB / 0.6153 GB, free: 64.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006301/1.698, allocations: 54.61 kB / 0.6153 GB, free: 64.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/1.715, allocations: 7.716 MB / 0.6229 GB, free: 56.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007759/1.723, allocations: 3.283 MB / 0.6261 GB, free: 53.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.74, allocations: 5.381 MB / 0.6313 GB, free: 48.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002803/1.743, allocations: 0.6523 MB / 0.632 GB, free: 47.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.744, allocations: 48 kB / 0.632 GB, free: 47.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003674/1.748, allocations: 166.5 kB / 0.6322 GB, free: 47.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/1.749, allocations: 201.7 kB / 0.6324 GB, free: 47.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003011/1.749, allocations: 78.17 kB / 0.6324 GB, free: 47.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00384/1.753, allocations: 1.476 MB / 0.6339 GB, free: 46.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.302e-06/1.753, allocations: 0 / 0.6339 GB, free: 46.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005295/1.758, allocations: 0.8503 MB / 0.6347 GB, free: 45.34 MB / 442.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 (204): * Single equations (assignments): 198 * 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.01569/1.774, allocations: 6.824 MB / 0.6414 GB, free: 39.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009055/1.783, allocations: 3.547 MB / 0.6448 GB, free: 35.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.783, allocations: 3.375 kB / 0.6448 GB, free: 35.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005712/1.789, allocations: 2.156 MB / 0.6469 GB, free: 33.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005275/1.794, allocations: 0.5892 MB / 0.6475 GB, free: 33.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.816, allocations: 6.809 MB / 0.6542 GB, free: 27.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003528/1.82, allocations: 2.451 MB / 0.6566 GB, free: 25.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003745/1.824, allocations: 0.6174 MB / 0.6572 GB, free: 24.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003465/1.827, allocations: 1.339 MB / 0.6585 GB, free: 23.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/1.827, allocations: 0 / 0.6585 GB, free: 23.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4857/2.313, allocations: 72.12 MB / 0.7289 GB, free: 82.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/2.313, allocations: 229.3 kB / 0.7291 GB, free: 82.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.87/8.183, allocations: 0 / 0.7291 GB, free: 82.57 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise_res.mat does not exist to compare? outputFormat=mat