Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001084/0.001084, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.128/1.128, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001552/0.001552, allocations: 111.2 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002749, allocations: 12 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07341/0.0737, allocations: 44.49 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2544/0.3282, allocations: 119.2 MB / 474.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.3284, allocations: 92.69 kB / 474.4 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3226/0.6511, allocations: 78.71 MB / 0.5401 GB, free: 88.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6511, allocations: 0 / 0.5401 GB, free: 88.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003693/0.6515, allocations: 83.72 kB / 0.5402 GB, free: 88.84 MB / 394.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.00996/0.6615, allocations: 3.674 MB / 0.5438 GB, free: 87.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.6615, allocations: 11.75 kB / 0.5438 GB, free: 87.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.6637, allocations: 460 kB / 0.5442 GB, free: 87.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006064/0.6698, allocations: 2.559 MB / 0.5467 GB, free: 86.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004789/0.6703, allocations: 362.8 kB / 0.5471 GB, free: 86.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009112/0.6712, allocations: 313.5 kB / 0.5474 GB, free: 86.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006371/0.6776, allocations: 4.197 MB / 0.5515 GB, free: 85.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.458e-05/0.6777, allocations: 18.33 kB / 0.5515 GB, free: 85.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/0.678, allocations: 134.4 kB / 0.5516 GB, free: 85.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.374e-05/0.6781, allocations: 140.5 kB / 0.5518 GB, free: 85.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005217/0.6833, allocations: 3.68 MB / 0.5554 GB, free: 85.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.6995, allocations: 13.99 MB / 0.569 GB, free: 77.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.7022, allocations: 2.198 MB / 0.5712 GB, free: 76.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.7025, allocations: 227.2 kB / 0.5714 GB, free: 76.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/0.7044, allocations: 1.333 MB / 0.5727 GB, free: 75.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=192): time 3.597e-06/0.7044, allocations: 0 / 0.5727 GB, free: 75.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=243): time 0.02442/0.7288, allocations: 13.32 MB / 0.5857 GB, free: 70.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003285/0.7322, allocations: 3.641 MB / 0.5892 GB, free: 68.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/0.7356, allocations: 1.965 MB / 0.5912 GB, free: 67.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002657/0.7359, allocations: 81.03 kB / 0.5912 GB, free: 67.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009406/0.7368, allocations: 1.478 MB / 0.5927 GB, free: 65.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004597/0.7373, allocations: 0.8106 MB / 0.5935 GB, free: 65.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.7374, allocations: 56 kB / 0.5935 GB, free: 64.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7376, allocations: 411.4 kB / 0.5939 GB, free: 64.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.7393, allocations: 1.304 MB / 0.5952 GB, free: 63.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.7412, allocations: 1.942 MB / 0.5971 GB, free: 61.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/0.7432, allocations: 1.575 MB / 0.5986 GB, free: 59.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.7432, allocations: 4 kB / 0.5986 GB, free: 59.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=346) (initialization): time 0.00549/0.7487, allocations: 3.93 MB / 0.6025 GB, free: 56.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.7488, allocations: 15.94 kB / 0.6025 GB, free: 56.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.7488, allocations: 16 kB / 0.6025 GB, free: 56.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.7499, allocations: 0.498 MB / 0.603 GB, free: 55.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.7523, allocations: 0.6775 MB / 0.6037 GB, free: 55.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/0.7565, allocations: 4.74 MB / 0.6083 GB, free: 50.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.7587, allocations: 201.5 kB / 0.6085 GB, free: 50.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.7589, allocations: 118.8 kB / 0.6086 GB, free: 50.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 () * Number of clocked 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.001986/0.7609, allocations: 1.088 MB / 0.6097 GB, free: 49.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/0.7614, allocations: 256.8 kB / 0.6099 GB, free: 49.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005911/0.7674, allocations: 3.764 MB / 0.6136 GB, free: 45.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.7674, allocations: 24 kB / 0.6136 GB, free: 45.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.7674, allocations: 0 / 0.6136 GB, free: 45.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.7675, allocations: 14.59 kB / 0.6136 GB, free: 45.88 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01577/0.7832, allocations: 9.441 MB / 0.6228 GB, free: 37.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.7833, allocations: 4 kB / 0.6228 GB, free: 37.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/0.7852, allocations: 467.5 kB / 0.6233 GB, free: 36.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/0.7869, allocations: 0.6547 MB / 0.6239 GB, free: 36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002327/0.7872, allocations: 55.97 kB / 0.624 GB, free: 35.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00797/0.7952, allocations: 7.939 MB / 0.6317 GB, free: 27.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003055/0.7983, allocations: 3.406 MB / 0.635 GB, free: 24.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008406/0.8067, allocations: 5.686 MB / 0.6406 GB, free: 18.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/0.8085, allocations: 0.6461 MB / 0.6412 GB, free: 17.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007447/0.8092, allocations: 52 kB / 0.6413 GB, free: 17.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.8111, allocations: 170.9 kB / 0.6414 GB, free: 17.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004018/0.8115, allocations: 205.6 kB / 0.6416 GB, free: 17.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.8117, allocations: 67.97 kB / 0.6417 GB, free: 17.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002531/0.8142, allocations: 1.5 MB / 0.6432 GB, free: 15.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8143, allocations: 0 / 0.6432 GB, free: 15.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003367/0.8176, allocations: 0.8515 MB / 0.644 GB, free: 14.77 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) * Number of clocked states: 0 () * 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.001244/0.8189, allocations: 0.5967 MB / 0.6446 GB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005428/0.8243, allocations: 3.796 MB / 0.6483 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8243, allocations: 0 / 0.6483 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003273/0.8276, allocations: 2.324 MB / 0.6506 GB, free: 8.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/0.8304, allocations: 0.581 MB / 0.6511 GB, free: 7.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1652/0.9956, allocations: 8.508 MB / 0.6594 GB, free: 78.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/0.9976, allocations: 2.447 MB / 0.6618 GB, free: 77.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002347/1, allocations: 0.6075 MB / 0.6624 GB, free: 77.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007052/1.001, allocations: 203.5 kB / 0.6626 GB, free: 77.83 MB / 394.7 MB Notification: Performance of SimCode: time 2.144e-06/1.001, allocations: 0 / 0.6626 GB, free: 77.83 MB / 394.7 MB Notification: Performance of Templates: time 0.06499/1.066, allocations: 44.22 MB / 0.7058 GB, free: 73.95 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1)