Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1600,variableFilter="time|controller.busdelay.y|controller.positionToSpeed.x|controller.position_PI.x|controller.speed_PI.x|elastoGap.s_rel|elastoGap.v_rel|gearbox.phi_rel|gearbox.w_rel|rodMass.s|rodMass.v|slewRateLimiter.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.067e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3024, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.4861, allocations: 118.5 MB / 412.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.4865, allocations: 83.89 kB / 412.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5462/1.033, allocations: 77.84 MB / 490.5 MB, free: 61.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.721e-06/1.033, allocations: 0 / 490.5 MB, free: 61.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003438/1.033, allocations: 95.81 kB / 490.6 MB, free: 61.24 MB / 362.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.009935/1.043, allocations: 3.267 MB / 493.9 MB, free: 57.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.043, allocations: 8.031 kB / 493.9 MB, free: 57.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/1.046, allocations: 463.1 kB / 494.3 MB, free: 57.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006539/1.052, allocations: 2.536 MB / 496.9 MB, free: 54.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004669/1.053, allocations: 255.2 kB / 497.1 MB, free: 54.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008672/1.054, allocations: 191.9 kB / 497.3 MB, free: 54.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008094/1.062, allocations: 3.289 MB / 0.4889 GB, free: 51.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009223/1.071, allocations: 3.638 MB / 0.4924 GB, free: 47.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/1.071, allocations: 11.91 kB / 0.4924 GB, free: 47.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003963/1.072, allocations: 7.984 kB / 0.4924 GB, free: 47.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/1.072, allocations: 142 kB / 0.4926 GB, free: 47.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02668/1.099, allocations: 13.36 MB / 0.5056 GB, free: 33.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/1.102, allocations: 2.03 MB / 0.5076 GB, free: 31.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002356/1.105, allocations: 1.151 MB / 0.5087 GB, free: 30.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/1.105, allocations: 235.6 kB / 0.5089 GB, free: 30.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00244/1.108, allocations: 1.19 MB / 0.5101 GB, free: 28.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=196): time 6.798e-06/1.108, allocations: 0 / 0.5101 GB, free: 28.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=249): time 0.02473/1.132, allocations: 9.483 MB / 0.5194 GB, free: 19.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/1.132, allocations: 184.2 kB / 0.5195 GB, free: 19.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/1.136, allocations: 1.63 MB / 0.5211 GB, free: 17.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005063/1.136, allocations: 41.69 kB / 0.5212 GB, free: 17.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.138, allocations: 1.401 MB / 0.5225 GB, free: 16.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/1.139, allocations: 0.8006 MB / 0.5233 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/1.139, allocations: 0 / 0.5233 GB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/1.139, allocations: 416.5 kB / 0.5237 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/1.141, allocations: 1.232 MB / 0.5249 GB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/1.145, allocations: 1.841 MB / 0.5267 GB, free: 11.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/1.148, allocations: 1.503 MB / 0.5282 GB, free: 9.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.499e-05/1.148, allocations: 8 kB / 0.5282 GB, free: 9.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.007429/1.156, allocations: 3.468 MB / 0.5316 GB, free: 6.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/1.156, allocations: 20.14 kB / 0.5316 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/1.156, allocations: 19.95 kB / 0.5316 GB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/1.157, allocations: 495 kB / 0.5321 GB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003431/1.161, allocations: 0.6826 MB / 0.5328 GB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/1.166, allocations: 4.48 MB / 0.5371 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.169, allocations: 155.7 kB / 0.5373 GB, free: 348 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003476/1.17, allocations: 112 kB / 0.5374 GB, free: 236 kB / 362.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.0006229/1.17, allocations: 190.4 kB / 0.5376 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006242/1.171, allocations: 241.2 kB / 0.5378 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008748/1.18, allocations: 3.384 MB / 0.5411 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.663e-05/1.18, allocations: 24 kB / 0.5411 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/1.18, allocations: 4 kB / 0.5411 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.723e-05/1.18, allocations: 11.95 kB / 0.5411 GB, free: 12.35 MB / 378.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.02459/1.204, allocations: 8.871 MB / 0.5498 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.205, allocations: 0 / 0.5498 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003119/1.208, allocations: 479.5 kB / 0.5503 GB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/1.21, allocations: 0.6514 MB / 0.5509 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004538/1.211, allocations: 19.97 kB / 0.5509 GB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2368/1.448, allocations: 7.508 MB / 0.5582 GB, free: 75.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004936/1.453, allocations: 3.239 MB / 0.5614 GB, free: 74.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/1.464, allocations: 5.245 MB / 0.5665 GB, free: 73.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/1.466, allocations: 0.6241 MB / 0.5671 GB, free: 73.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006479/1.466, allocations: 17.77 kB / 0.5672 GB, free: 73.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/1.468, allocations: 129 kB / 0.5673 GB, free: 73.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006002/1.469, allocations: 203.4 kB / 0.5675 GB, free: 73.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002657/1.469, allocations: 70.3 kB / 0.5675 GB, free: 73.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002393/1.472, allocations: 1.216 MB / 0.5687 GB, free: 73.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.49e-07/1.472, allocations: 0 / 0.5687 GB, free: 73.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003834/1.476, allocations: 0.7351 MB / 0.5694 GB, free: 73.5 MB / 378.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.001333/1.477, allocations: 0.5686 MB / 0.57 GB, free: 73.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006269/1.483, allocations: 3.492 MB / 0.5734 GB, free: 72.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.001e-06/1.483, allocations: 0 / 0.5734 GB, free: 72.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004228/1.488, allocations: 2.148 MB / 0.5755 GB, free: 72.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/1.491, allocations: 484.7 kB / 0.576 GB, free: 72.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/1.504, allocations: 5.909 MB / 0.5817 GB, free: 71.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/1.507, allocations: 2.434 MB / 0.5841 GB, free: 70.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.508, allocations: 210 kB / 0.5843 GB, free: 70.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.029e-06/1.508, allocations: 0 / 0.5843 GB, free: 70.4 MB / 378.7 MB Notification: Performance of Templates: time 0.1269/1.635, allocations: 108.2 MB / 0.69 GB, free: 2.953 MB / 394.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseInitialize.cpp:3110:3: error: use of undeclared identifier '$PRE_P_motor_P_uniformNoise_P_state_'; did you mean '_motor_P_uniformNoise_P_state_'? $PRE_P_motor_P_uniformNoise_P_state_.assign(tmp178); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _motor_P_uniformNoise_P_state_ ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.h:481:33: note: '_motor_P_uniformNoise_P_state_' declared here StatArrayDim1 _motor_P_uniformNoise_P_state_; ^ 1 error generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o] Error 1