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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.771/1.771, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.25/2.021, allocations: 46.82 MB / 249.3 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/2.111, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/2.479, allocations: 118.4 MB / 412.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004173/2.479, allocations: 79.83 kB / 412.3 MB, free: 3.578 MB / 314.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.3407/2.82, allocations: 80.96 MB / 493.3 MB, free: 10.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/2.82, allocations: 12 kB / 493.3 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/2.823, allocations: 467 kB / 493.8 MB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009926/2.833, allocations: 2.546 MB / 496.3 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008344/2.834, allocations: 267.1 kB / 496.6 MB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/2.836, allocations: 187.9 kB / 496.7 MB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01276/2.848, allocations: 3.328 MB / 0.4884 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1504/2.999, allocations: 3.663 MB / 0.4919 GB, free: 113.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/2.999, allocations: 10.88 kB / 0.4919 GB, free: 113.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001486/3.001, allocations: 3.656 kB / 0.4919 GB, free: 113.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002402/3.001, allocations: 140.7 kB / 0.4921 GB, free: 113.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05508/3.056, allocations: 13.37 MB / 0.5051 GB, free: 110.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005654/3.062, allocations: 1.322 MB / 0.5064 GB, free: 110.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005072/3.067, allocations: 1.205 MB / 0.5076 GB, free: 110.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008447/3.068, allocations: 230.2 kB / 0.5078 GB, free: 110.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005134/3.073, allocations: 1.203 MB / 0.509 GB, free: 110.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=196): time 1.164e-05/3.073, allocations: 0 / 0.509 GB, free: 110.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=249): time 0.04542/3.119, allocations: 9.476 MB / 0.5182 GB, free: 109.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/3.119, allocations: 191.2 kB / 0.5184 GB, free: 109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004881/3.124, allocations: 1.639 MB / 0.52 GB, free: 108.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006778/3.125, allocations: 41.02 kB / 0.5201 GB, free: 108.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/3.126, allocations: 1.144 MB / 0.5212 GB, free: 108.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001437/3.128, allocations: 0.8058 MB / 0.522 GB, free: 107.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/3.128, allocations: 0 / 0.522 GB, free: 107.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002534/3.128, allocations: 418.2 kB / 0.5224 GB, free: 107.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003763/3.132, allocations: 1.244 MB / 0.5236 GB, free: 107.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/3.136, allocations: 1.864 MB / 0.5254 GB, free: 106.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004749/3.141, allocations: 1.532 MB / 0.5269 GB, free: 106.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.642e-05/3.141, allocations: 3.75 kB / 0.5269 GB, free: 106.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01252/3.154, allocations: 3.655 MB / 0.5305 GB, free: 106.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/3.154, allocations: 8.031 kB / 0.5305 GB, free: 106.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.149e-05/3.154, allocations: 17.91 kB / 0.5305 GB, free: 106.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/3.156, allocations: 498.9 kB / 0.531 GB, free: 106.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006081/3.162, allocations: 0.683 MB / 0.5316 GB, free: 106.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008148/3.171, allocations: 4.244 MB / 0.5358 GB, free: 103.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004338/3.175, allocations: 125 kB / 0.5359 GB, free: 103.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009133/3.176, allocations: 116.8 kB / 0.536 GB, free: 103.3 MB / 394.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.001397/3.177, allocations: 187.8 kB / 0.5362 GB, free: 103.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/3.179, allocations: 247.1 kB / 0.5364 GB, free: 103.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/3.191, allocations: 3.406 MB / 0.5398 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/3.191, allocations: 22.44 kB / 0.5398 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-05/3.191, allocations: 7.281 kB / 0.5398 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.225e-05/3.191, allocations: 10.83 kB / 0.5398 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02952/3.221, allocations: 8.908 MB / 0.5485 GB, free: 97.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-05/3.221, allocations: 0 / 0.5485 GB, free: 97.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004655/3.226, allocations: 479.5 kB / 0.549 GB, free: 97.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003231/3.229, allocations: 0.65 MB / 0.5496 GB, free: 97.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005926/3.23, allocations: 26.86 kB / 0.5496 GB, free: 97.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01358/3.243, allocations: 7.139 MB / 0.5566 GB, free: 92.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006132/3.249, allocations: 3.085 MB / 0.5596 GB, free: 90.59 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01536/3.265, allocations: 5.331 MB / 0.5648 GB, free: 88.18 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0196/3.284, allocations: 7.607 MB / 0.5722 GB, free: 84.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/3.287, allocations: 0.6232 MB / 0.5728 GB, free: 84.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/3.288, allocations: 19.66 kB / 0.5729 GB, free: 84.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003742/3.292, allocations: 106.6 kB / 0.573 GB, free: 84.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00086/3.293, allocations: 162.8 kB / 0.5731 GB, free: 84.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004487/3.293, allocations: 72.66 kB / 0.5732 GB, free: 84.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003902/3.297, allocations: 1.217 MB / 0.5744 GB, free: 83.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006148/3.304, allocations: 0.7612 MB / 0.5751 GB, free: 83.37 MB / 394.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.002024/3.306, allocations: 0.5615 MB / 0.5757 GB, free: 83.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009565/3.315, allocations: 3.476 MB / 0.5791 GB, free: 79.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/3.315, allocations: 0 / 0.5791 GB, free: 79.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0062/3.321, allocations: 2.054 MB / 0.5811 GB, free: 77.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/3.327, allocations: 466.8 kB / 0.5815 GB, free: 77.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/3.35, allocations: 5.901 MB / 0.5873 GB, free: 72.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006783/3.357, allocations: 2.66 MB / 0.5899 GB, free: 70.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.653e-06/3.357, allocations: 0 / 0.5899 GB, free: 70.18 MB / 394.7 MB