Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.375e-05/5.394e-05, allocations: 4 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1115, allocations: 50.42 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5167/0.6282, allocations: 125.3 MB / 468.4 MB, free: 1.191 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.6285, allocations: 85.75 kB / 468.5 MB, free: 1.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.742/1.371, allocations: 79.57 MB / 0.5352 GB, free: 100.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.371, allocations: 0 / 0.5352 GB, free: 100.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006422/1.371, allocations: 92.16 kB / 0.5353 GB, free: 100.5 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.0214/1.393, allocations: 3.308 MB / 0.5386 GB, free: 99.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.326e-05/1.393, allocations: 9.75 kB / 0.5386 GB, free: 99.31 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002799/1.396, allocations: 441.4 kB / 0.539 GB, free: 99.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/1.401, allocations: 463.9 kB / 0.5394 GB, free: 99.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/1.415, allocations: 2.56 MB / 0.5419 GB, free: 98.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001337/1.416, allocations: 368.5 kB / 0.5423 GB, free: 98.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/1.419, allocations: 315.9 kB / 0.5426 GB, free: 98.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/1.438, allocations: 4.048 MB / 0.5465 GB, free: 98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002017/1.439, allocations: 8.031 kB / 0.5465 GB, free: 98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00103/1.44, allocations: 130.7 kB / 0.5467 GB, free: 98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002191/1.44, allocations: 143.7 kB / 0.5468 GB, free: 97.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/1.451, allocations: 3.457 MB / 0.5502 GB, free: 97.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03752/1.489, allocations: 14.04 MB / 0.5639 GB, free: 93.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004965/1.494, allocations: 2.073 MB / 0.5659 GB, free: 92.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/1.497, allocations: 1.193 MB / 0.5671 GB, free: 92.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004999/1.497, allocations: 234.9 kB / 0.5673 GB, free: 92.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002894/1.5, allocations: 1.237 MB / 0.5685 GB, free: 91.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=193): time 5.19e-06/1.5, allocations: 0 / 0.5685 GB, free: 91.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=244): time 0.04026/1.54, allocations: 10.96 MB / 0.5792 GB, free: 87.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006144/1.547, allocations: 3.534 MB / 0.5827 GB, free: 85.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/1.552, allocations: 1.949 MB / 0.5846 GB, free: 84.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007871/1.552, allocations: 79.41 kB / 0.5846 GB, free: 84.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/1.554, allocations: 1.486 MB / 0.5861 GB, free: 83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.556, allocations: 0.8233 MB / 0.5869 GB, free: 82.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/1.556, allocations: 54.88 kB / 0.5869 GB, free: 82.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/1.556, allocations: 413.5 kB / 0.5873 GB, free: 81.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/1.559, allocations: 1.264 MB / 0.5886 GB, free: 81.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003625/1.563, allocations: 1.88 MB / 0.5904 GB, free: 80.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/1.566, allocations: 1.528 MB / 0.5919 GB, free: 79.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/1.566, allocations: 3.875 kB / 0.5919 GB, free: 79.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01001/1.577, allocations: 3.792 MB / 0.5956 GB, free: 78.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/1.577, allocations: 14.56 kB / 0.5956 GB, free: 78.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.513e-05/1.577, allocations: 17.81 kB / 0.5956 GB, free: 78.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/1.579, allocations: 0.4915 MB / 0.5961 GB, free: 77.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005451/1.584, allocations: 0.6858 MB / 0.5968 GB, free: 77.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007326/1.591, allocations: 4.635 MB / 0.6013 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00409/1.596, allocations: 207.1 kB / 0.6015 GB, free: 74.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003485/1.596, allocations: 117.9 kB / 0.6016 GB, free: 74.2 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.0007358/1.597, allocations: 276.5 kB / 0.6019 GB, free: 73.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000615/1.597, allocations: 255.2 kB / 0.6021 GB, free: 73.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008821/1.606, allocations: 3.545 MB / 0.6056 GB, free: 72.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.606, allocations: 22.78 kB / 0.6056 GB, free: 72.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.606, allocations: 3.781 kB / 0.6056 GB, free: 72.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/1.606, allocations: 13.97 kB / 0.6056 GB, free: 72.36 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.0225/1.629, allocations: 9.279 MB / 0.6147 GB, free: 65.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.629, allocations: 3.562 kB / 0.6147 GB, free: 65.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004222/1.633, allocations: 466.2 kB / 0.6151 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002821/1.636, allocations: 0.6549 MB / 0.6158 GB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006143/1.637, allocations: 55.03 kB / 0.6158 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/1.657, allocations: 7.7 MB / 0.6234 GB, free: 56.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007644/1.665, allocations: 3.288 MB / 0.6266 GB, free: 53.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.677, allocations: 5.377 MB / 0.6318 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/1.68, allocations: 0.6514 MB / 0.6325 GB, free: 47.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009395/1.681, allocations: 52 kB / 0.6325 GB, free: 47.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00318/1.684, allocations: 168.8 kB / 0.6327 GB, free: 47.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007107/1.684, allocations: 198.2 kB / 0.6329 GB, free: 47.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/1.685, allocations: 74.17 kB / 0.6329 GB, free: 47.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003287/1.688, allocations: 1.482 MB / 0.6344 GB, free: 46.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.688, allocations: 0 / 0.6344 GB, free: 46.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004455/1.693, allocations: 0.8466 MB / 0.6352 GB, free: 45.3 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.01378/1.706, allocations: 6.832 MB / 0.6419 GB, free: 39.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008129/1.715, allocations: 3.544 MB / 0.6453 GB, free: 35.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.715, allocations: 1.5 kB / 0.6453 GB, free: 35.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005269/1.72, allocations: 2.159 MB / 0.6474 GB, free: 33.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/1.725, allocations: 0.5875 MB / 0.648 GB, free: 33.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.746, allocations: 6.803 MB / 0.6547 GB, free: 27.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002677/1.749, allocations: 2.459 MB / 0.6571 GB, free: 25.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003531/1.752, allocations: 0.6177 MB / 0.6577 GB, free: 24.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003016/1.755, allocations: 1.342 MB / 0.659 GB, free: 23.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/1.755, allocations: 0 / 0.659 GB, free: 23.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5073/2.263, allocations: 72.1 MB / 0.7294 GB, free: 82.96 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/2.263, allocations: 230.2 kB / 0.7296 GB, free: 82.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.93/8.193, allocations: 0 / 0.7296 GB, free: 82.73 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise_res.mat does not exist to compare? outputFormat=mat