Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.515e-05/4.557e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1173, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.526/0.6433, allocations: 124.5 MB / 441.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.6437, allocations: 82.02 kB / 441.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3545/0.9982, allocations: 79.13 MB / 0.5086 GB, free: 3.234 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.9983, allocations: 0 / 0.5086 GB, free: 3.234 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004887/0.9988, allocations: 91.81 kB / 0.5086 GB, free: 3.145 MB / 426.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.3281/1.327, allocations: 3.295 MB / 0.5119 GB, free: 92.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.014e-05/1.327, allocations: 8.531 kB / 0.5119 GB, free: 92.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002263/1.329, allocations: 444.3 kB / 0.5123 GB, free: 92.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/1.332, allocations: 460.6 kB / 0.5127 GB, free: 92.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009486/1.342, allocations: 2.553 MB / 0.5152 GB, free: 92.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009271/1.342, allocations: 362.5 kB / 0.5156 GB, free: 92.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/1.344, allocations: 319.9 kB / 0.5159 GB, free: 92.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/1.359, allocations: 4.052 MB / 0.5198 GB, free: 91.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002065/1.36, allocations: 15.28 kB / 0.5198 GB, free: 91.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007674/1.36, allocations: 128.4 kB / 0.52 GB, free: 91.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002486/1.361, allocations: 139.9 kB / 0.5201 GB, free: 91.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/1.373, allocations: 3.459 MB / 0.5235 GB, free: 91.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/1.418, allocations: 14.04 MB / 0.5372 GB, free: 88.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007811/1.426, allocations: 2.069 MB / 0.5392 GB, free: 88.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005037/1.431, allocations: 1.2 MB / 0.5404 GB, free: 88.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008195/1.432, allocations: 227.8 kB / 0.5406 GB, free: 88.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005173/1.437, allocations: 1.235 MB / 0.5418 GB, free: 88.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 1.045e-05/1.437, allocations: 7.734 kB / 0.5418 GB, free: 88.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=244): time 0.05899/1.496, allocations: 10.97 MB / 0.5525 GB, free: 84.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005996/1.502, allocations: 3.521 MB / 0.556 GB, free: 82.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00532/1.507, allocations: 1.946 MB / 0.5579 GB, free: 81.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006819/1.508, allocations: 73.89 kB / 0.5579 GB, free: 81.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/1.51, allocations: 1.489 MB / 0.5594 GB, free: 80.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001377/1.511, allocations: 0.8199 MB / 0.5602 GB, free: 79.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/1.512, allocations: 56.47 kB / 0.5603 GB, free: 79.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/1.512, allocations: 422.7 kB / 0.5607 GB, free: 79.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/1.515, allocations: 1.257 MB / 0.5619 GB, free: 78.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004197/1.519, allocations: 1.88 MB / 0.5637 GB, free: 77.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004208/1.524, allocations: 1.529 MB / 0.5652 GB, free: 76.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-05/1.524, allocations: 4.438 kB / 0.5652 GB, free: 76.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01134/1.535, allocations: 3.784 MB / 0.5689 GB, free: 75.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/1.535, allocations: 19.86 kB / 0.5689 GB, free: 75.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.376e-05/1.535, allocations: 17.62 kB / 0.5689 GB, free: 75.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/1.537, allocations: 494.8 kB / 0.5694 GB, free: 75.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005572/1.543, allocations: 0.6881 MB / 0.5701 GB, free: 75.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007545/1.551, allocations: 4.641 MB / 0.5746 GB, free: 71.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/1.555, allocations: 204.3 kB / 0.5748 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000768/1.556, allocations: 111.2 kB / 0.5749 GB, free: 71.55 MB / 426.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.0008808/1.557, allocations: 277.6 kB / 0.5752 GB, free: 71.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009547/1.558, allocations: 266.5 kB / 0.5754 GB, free: 71.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.568, allocations: 3.562 MB / 0.5789 GB, free: 69.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/1.568, allocations: 24.25 kB / 0.5789 GB, free: 69.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.568, allocations: 14.73 kB / 0.579 GB, free: 69.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.899e-05/1.568, allocations: 11.44 kB / 0.579 GB, free: 69.76 MB / 426.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.02753/1.596, allocations: 9.273 MB / 0.588 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-05/1.596, allocations: 0.9062 kB / 0.588 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004471/1.601, allocations: 480.8 kB / 0.5885 GB, free: 65.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/1.604, allocations: 0.6434 MB / 0.5891 GB, free: 65.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005913/1.604, allocations: 60.95 kB / 0.5892 GB, free: 65.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/1.617, allocations: 7.7 MB / 0.5967 GB, free: 59.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005594/1.623, allocations: 3.293 MB / 0.5999 GB, free: 56.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/1.636, allocations: 5.37 MB / 0.6052 GB, free: 51.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/1.639, allocations: 0.6451 MB / 0.6058 GB, free: 51.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.64, allocations: 51.19 kB / 0.6058 GB, free: 51.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003664/1.644, allocations: 162 kB / 0.606 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009497/1.645, allocations: 211.1 kB / 0.6062 GB, free: 50.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003176/1.645, allocations: 70.31 kB / 0.6063 GB, free: 50.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003744/1.649, allocations: 1.483 MB / 0.6077 GB, free: 49.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.293e-06/1.649, allocations: 0 / 0.6077 GB, free: 49.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005307/1.654, allocations: 0.8504 MB / 0.6085 GB, free: 48.67 MB / 426.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.01541/1.67, allocations: 6.826 MB / 0.6152 GB, free: 42.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009416/1.679, allocations: 3.539 MB / 0.6187 GB, free: 39.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.679, allocations: 4 kB / 0.6187 GB, free: 39.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005901/1.685, allocations: 2.162 MB / 0.6208 GB, free: 37.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005526/1.691, allocations: 0.5824 MB / 0.6213 GB, free: 36.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/1.714, allocations: 6.803 MB / 0.628 GB, free: 30.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004526/1.718, allocations: 2.459 MB / 0.6304 GB, free: 28.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004374/1.723, allocations: 0.6084 MB / 0.631 GB, free: 28.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004296/1.727, allocations: 1.344 MB / 0.6323 GB, free: 26.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.964e-06/1.727, allocations: 0 / 0.6323 GB, free: 26.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4624/2.19, allocations: 72.11 MB / 0.7027 GB, free: 83.45 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/2.19, allocations: 224.6 kB / 0.7029 GB, free: 83.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.744/7.934, allocations: 0 / 0.7029 GB, free: 83.18 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise_res.mat does not exist to compare? outputFormat=mat