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.394/2.394, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.167e-05/4.204e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.09986, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5145/0.6144, allocations: 119.1 MB / 419.1 MB, free: 5.777 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.6148, allocations: 83.8 kB / 419.2 MB, free: 5.766 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3747/0.9895, allocations: 78.75 MB / 497.9 MB, free: 2.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.9896, allocations: 0 / 497.9 MB, free: 2.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000501/0.9901, allocations: 99.8 kB / 498 MB, free: 2.219 MB / 378.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.0148/1.005, allocations: 3.267 MB / 0.4895 GB, free: 14.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/1.005, allocations: 12.03 kB / 0.4895 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002099/1.007, allocations: 446.7 kB / 0.49 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/1.011, allocations: 459.4 kB / 0.4904 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009241/1.02, allocations: 2.542 MB / 0.4929 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008039/1.021, allocations: 359.2 kB / 0.4932 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/1.022, allocations: 307.9 kB / 0.4935 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/1.036, allocations: 4.076 MB / 0.4975 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001896/1.036, allocations: 15.89 kB / 0.4975 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006517/1.037, allocations: 136 kB / 0.4976 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002162/1.037, allocations: 138.1 kB / 0.4978 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/1.049, allocations: 3.484 MB / 0.5012 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04229/1.092, allocations: 13.99 MB / 0.5148 GB, free: 4.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005896/1.098, allocations: 2.076 MB / 0.5169 GB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003561/1.101, allocations: 1.194 MB / 0.518 GB, free: 1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000638/1.102, allocations: 228.1 kB / 0.5183 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2826/1.385, allocations: 1.232 MB / 0.5195 GB, free: 87.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 6.722e-06/1.385, allocations: 0 / 0.5195 GB, free: 87.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=243): time 0.0493/1.434, allocations: 10.94 MB / 0.5301 GB, free: 86.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006675/1.441, allocations: 3.528 MB / 0.5336 GB, free: 85.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005005/1.446, allocations: 1.942 MB / 0.5355 GB, free: 85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007269/1.447, allocations: 73.89 kB / 0.5355 GB, free: 84.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/1.449, allocations: 1.476 MB / 0.537 GB, free: 84.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.45, allocations: 0.8117 MB / 0.5378 GB, free: 84.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/1.45, allocations: 53.78 kB / 0.5378 GB, free: 84.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002128/1.451, allocations: 412.1 kB / 0.5382 GB, free: 83.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/1.454, allocations: 1.262 MB / 0.5395 GB, free: 83.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0037/1.457, allocations: 1.892 MB / 0.5413 GB, free: 83.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/1.461, allocations: 1.524 MB / 0.5428 GB, free: 83.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/1.461, allocations: 3.969 kB / 0.5428 GB, free: 83.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01023/1.472, allocations: 3.823 MB / 0.5465 GB, free: 82.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/1.472, allocations: 14.44 kB / 0.5465 GB, free: 82.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.763e-05/1.472, allocations: 18.38 kB / 0.5466 GB, free: 82.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/1.474, allocations: 0.4963 MB / 0.547 GB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005326/1.479, allocations: 0.6756 MB / 0.5477 GB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007457/1.486, allocations: 4.627 MB / 0.5522 GB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003993/1.49, allocations: 201.1 kB / 0.5524 GB, free: 80.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/1.491, allocations: 114.4 kB / 0.5525 GB, free: 80.1 MB / 410.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 (315): * Single equations (assignments): 309 * 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.0007581/1.492, allocations: 279.8 kB / 0.5528 GB, free: 79.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/1.493, allocations: 261.4 kB / 0.553 GB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00955/1.502, allocations: 3.553 MB / 0.5565 GB, free: 79.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/1.502, allocations: 25.91 kB / 0.5565 GB, free: 79.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.502, allocations: 3.812 kB / 0.5565 GB, free: 79.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-05/1.502, allocations: 11.3 kB / 0.5566 GB, free: 79.69 MB / 410.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.02552/1.528, allocations: 9.261 MB / 0.5656 GB, free: 76.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.528, allocations: 7.031 kB / 0.5656 GB, free: 76.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004157/1.532, allocations: 467.8 kB / 0.566 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002842/1.535, allocations: 0.6423 MB / 0.5667 GB, free: 76.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004722/1.535, allocations: 62.09 kB / 0.5667 GB, free: 76.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/1.548, allocations: 7.705 MB / 0.5743 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005577/1.553, allocations: 3.289 MB / 0.5775 GB, free: 68.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.566, allocations: 5.349 MB / 0.5827 GB, free: 66.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.569, allocations: 0.6438 MB / 0.5833 GB, free: 65.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007252/1.569, allocations: 56.11 kB / 0.5834 GB, free: 65.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003362/1.573, allocations: 153.4 kB / 0.5835 GB, free: 65.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009921/1.574, allocations: 212.8 kB / 0.5837 GB, free: 65.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002773/1.574, allocations: 72.42 kB / 0.5838 GB, free: 65.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003861/1.578, allocations: 1.469 MB / 0.5852 GB, free: 65.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.578, allocations: 0 / 0.5852 GB, free: 65.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004864/1.583, allocations: 0.8564 MB / 0.5861 GB, free: 65.09 MB / 410.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 (203): * Single equations (assignments): 197 * 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.0152/1.598, allocations: 6.779 MB / 0.5927 GB, free: 61.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01307/1.611, allocations: 3.594 MB / 0.5962 GB, free: 60.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.611, allocations: 3.844 kB / 0.5962 GB, free: 60.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005945/1.617, allocations: 2.202 MB / 0.5983 GB, free: 59.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004952/1.622, allocations: 0.5862 MB / 0.5989 GB, free: 58.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02384/1.646, allocations: 6.797 MB / 0.6056 GB, free: 53.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003549/1.65, allocations: 2.442 MB / 0.6079 GB, free: 51.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003775/1.654, allocations: 0.6113 MB / 0.6085 GB, free: 51.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003371/1.657, allocations: 1.324 MB / 0.6098 GB, free: 49.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/1.657, allocations: 0 / 0.6098 GB, free: 49.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5816/2.239, allocations: 72.06 MB / 0.6802 GB, free: 75.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/2.239, allocations: 229.7 kB / 0.6804 GB, free: 75.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.878/8.117, allocations: 3 kB / 0.6804 GB, free: 75.44 MB / 410.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