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.753/1.753, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.588e-05, allocations: 4.031 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.08384, allocations: 44.5 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.4894, allocations: 119.2 MB / 419 MB, free: 9.309 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.4897, allocations: 74.09 kB / 419.1 MB, free: 9.301 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2911/0.7808, allocations: 78.75 MB / 497.8 MB, free: 6.605 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.665e-06/0.7808, allocations: 0 / 497.8 MB, free: 6.605 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003047/0.7811, allocations: 87.81 kB / 497.9 MB, free: 6.52 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.009516/0.7907, allocations: 3.275 MB / 0.4894 GB, free: 3.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7907, allocations: 8.031 kB / 0.4895 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.7931, allocations: 459.4 kB / 0.4899 GB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007052/0.8001, allocations: 2.534 MB / 0.4924 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006768/0.8009, allocations: 363.2 kB / 0.4927 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.802, allocations: 315.9 kB / 0.493 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/0.8133, allocations: 4.04 MB / 0.497 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.8135, allocations: 11.91 kB / 0.497 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005197/0.814, allocations: 128 kB / 0.4971 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.8142, allocations: 138 kB / 0.4972 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009242/0.8235, allocations: 3.444 MB / 0.5006 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2979/1.121, allocations: 13.98 MB / 0.5142 GB, free: 67.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/1.126, allocations: 2.054 MB / 0.5162 GB, free: 67.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/1.129, allocations: 1.19 MB / 0.5174 GB, free: 67.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/1.129, allocations: 232.4 kB / 0.5176 GB, free: 67.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002685/1.132, allocations: 1.229 MB / 0.5188 GB, free: 67.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=192): time 5.773e-06/1.132, allocations: 0 / 0.5188 GB, free: 67.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=243): time 0.03012/1.162, allocations: 10.93 MB / 0.5295 GB, free: 66.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005045/1.167, allocations: 3.527 MB / 0.533 GB, free: 64.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003814/1.171, allocations: 1.942 MB / 0.5349 GB, free: 64.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000463/1.171, allocations: 81.8 kB / 0.5349 GB, free: 64.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/1.172, allocations: 1.368 MB / 0.5363 GB, free: 63.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000863/1.173, allocations: 0.8143 MB / 0.5371 GB, free: 63.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/1.174, allocations: 53.94 kB / 0.5371 GB, free: 63.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/1.174, allocations: 415.4 kB / 0.5375 GB, free: 63.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/1.176, allocations: 1.262 MB / 0.5387 GB, free: 63.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003012/1.18, allocations: 1.876 MB / 0.5406 GB, free: 62.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/1.183, allocations: 1.531 MB / 0.5421 GB, free: 62.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/1.183, allocations: 2.938 kB / 0.5421 GB, free: 62.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=346) (initialization): time 0.007882/1.191, allocations: 3.625 MB / 0.5456 GB, free: 62.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/1.191, allocations: 12.81 kB / 0.5456 GB, free: 62.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/1.191, allocations: 19.19 kB / 0.5456 GB, free: 62.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/1.192, allocations: 0.494 MB / 0.5461 GB, free: 62.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/1.196, allocations: 0.6778 MB / 0.5468 GB, free: 62.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006509/1.202, allocations: 4.636 MB / 0.5513 GB, free: 59.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/1.206, allocations: 204.6 kB / 0.5515 GB, free: 59.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003888/1.206, allocations: 109.1 kB / 0.5516 GB, free: 59.4 MB / 394.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.0006475/1.207, allocations: 279.4 kB / 0.5519 GB, free: 59.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006547/1.207, allocations: 265.4 kB / 0.5521 GB, free: 59.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007875/1.215, allocations: 3.544 MB / 0.5556 GB, free: 57.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/1.215, allocations: 23.31 kB / 0.5556 GB, free: 57.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.215, allocations: 2.562 kB / 0.5556 GB, free: 57.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/1.215, allocations: 16.14 kB / 0.5556 GB, free: 57.73 MB / 394.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.02017/1.235, allocations: 9.251 MB / 0.5647 GB, free: 53.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.236, allocations: 0 / 0.5647 GB, free: 53.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/1.238, allocations: 473.3 kB / 0.5651 GB, free: 53.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/1.241, allocations: 0.6512 MB / 0.5658 GB, free: 53.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/1.241, allocations: 53.52 kB / 0.5658 GB, free: 53.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/1.252, allocations: 7.709 MB / 0.5733 GB, free: 47.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004765/1.256, allocations: 3.294 MB / 0.5766 GB, free: 45.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/1.267, allocations: 5.345 MB / 0.5818 GB, free: 43.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.269, allocations: 0.6443 MB / 0.5824 GB, free: 42.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006129/1.269, allocations: 57.42 kB / 0.5825 GB, free: 42.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/1.272, allocations: 159.1 kB / 0.5826 GB, free: 42.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005199/1.272, allocations: 211.2 kB / 0.5828 GB, free: 42.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/1.272, allocations: 70.83 kB / 0.5829 GB, free: 42.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002921/1.275, allocations: 1.472 MB / 0.5843 GB, free: 42.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.05e-07/1.275, allocations: 0 / 0.5843 GB, free: 42.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003633/1.279, allocations: 0.8487 MB / 0.5851 GB, free: 42.02 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 (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.0014/1.28, allocations: 0.6125 MB / 0.5857 GB, free: 41.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006805/1.287, allocations: 3.526 MB / 0.5892 GB, free: 40.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.287, allocations: 11.34 kB / 0.5892 GB, free: 40.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00429/1.292, allocations: 2.146 MB / 0.5913 GB, free: 39.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/1.295, allocations: 0.5728 MB / 0.5919 GB, free: 39.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/1.309, allocations: 6.001 MB / 0.5977 GB, free: 34.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/1.311, allocations: 2.417 MB / 0.6001 GB, free: 32.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.313, allocations: 227.2 kB / 0.6003 GB, free: 32.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.813e-06/1.313, allocations: 0 / 0.6003 GB, free: 32.62 MB / 394.7 MB Notification: Performance of Templates: time 0.3873/1.7, allocations: 109.4 MB / 0.7071 GB, free: 78.14 MB / 410.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=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -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:3053: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