Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.00107, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01061/0.01061, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006475/0.0006475, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.354, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01731/0.3714, allocations: 12.77 MB / 339.8 MB, free: 6.555 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.3862, allocations: 5.121 MB / 344.9 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004821/0.3911, allocations: 63.69 kB / 345 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00429/0.3954, allocations: 0.8157 MB / 345.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.4019, allocations: 1.014 MB / 346.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.4058, allocations: 0.8741 MB / 347.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00835/0.4141, allocations: 4.459 MB / 352.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005484/0.4197, allocations: 2.581 MB / 354.7 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.4229, allocations: 1.361 MB / 356.1 MB, free: 6.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004243/0.4272, allocations: 1.875 MB / 358 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001453/0.4287, allocations: 204 kB / 358.2 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/0.4314, allocations: 0.5034 MB / 358.7 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002412/0.4339, allocations: 0.9887 MB / 359.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004637/0.4385, allocations: 1.828 MB / 361.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.4489, allocations: 6.961 MB / 368.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.449, allocations: 0 / 368.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.449, allocations: 3.938 kB / 368.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000335/0.4493, allocations: 4 kB / 368.5 MB, free: 9.734 MB / 302.1 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.01335/0.4627, allocations: 3.639 MB / 372.1 MB, free: 6.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/0.4628, allocations: 12.03 kB / 372.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/0.4659, allocations: 452.1 kB / 372.5 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006084/0.472, allocations: 2.281 MB / 374.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001016/0.473, allocations: 423.2 kB / 375.2 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/0.4747, allocations: 323.8 kB / 375.6 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.487, allocations: 4.277 MB / 379.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.4872, allocations: 7.906 kB / 379.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005295/0.4877, allocations: 128 kB / 380 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.4879, allocations: 146.1 kB / 380.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007855/0.4957, allocations: 3.865 MB / 384 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02215/0.5179, allocations: 14.24 MB / 398.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.5214, allocations: 2.177 MB / 400.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/0.5237, allocations: 1.318 MB / 401.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.5241, allocations: 216.2 kB / 401.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002229/0.5263, allocations: 1.326 MB / 403.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 3.166e-06/0.5263, allocations: 0 / 403.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.02935/0.5557, allocations: 13.05 MB / 416.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003774/0.5595, allocations: 3.264 MB / 419.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.5632, allocations: 2.291 MB / 421.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005093/0.5637, allocations: 73.7 kB / 421.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.5651, allocations: 1.493 MB / 423.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.5661, allocations: 0.7818 MB / 424.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/0.5665, allocations: 219.1 kB / 424.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5666, allocations: 301.1 kB / 424.7 MB, free: 364 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/0.569, allocations: 1.298 MB / 426 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/0.5719, allocations: 1.948 MB / 428 MB, free: 12.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005659/0.5775, allocations: 3.316 MB / 431.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/0.5776, allocations: 12 kB / 431.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007708/0.5853, allocations: 3.908 MB / 435.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.5854, allocations: 12 kB / 435.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.541e-05/0.5854, allocations: 16 kB / 435.2 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.5868, allocations: 0.4995 MB / 435.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/0.5893, allocations: 0.667 MB / 436.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.5955, allocations: 4.659 MB / 441 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/0.5986, allocations: 207.8 kB / 441.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.5989, allocations: 112 kB / 441.4 MB, free: 14.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,motor.uniformNoise.actualGlobalSeed,motor.uniformNoise.localSeed,gearbox.lossyGear.ideal,gearbox.lossyGear.mode,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.locked,gearbox.lossyGear.startBackward,gearbox.lossyGear.startForward,gearbox.lossyGear.tau_aPos,motor.uniformNoise.r_raw,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r,$PRE.motor.uniformNoise.r,motor.uniformNoise.state[4],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (308): * Single equations (assignments): 303 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.002917/0.6018, allocations: 1.082 MB / 442.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009036/0.6027, allocations: 260.8 kB / 442.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007883/0.6106, allocations: 3.667 MB / 446.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.6106, allocations: 20 kB / 446.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.6107, allocations: 7.938 kB / 446.4 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.6107, allocations: 11.95 kB / 446.4 MB, free: 9.73 MB / 382.1 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.0188/0.6295, allocations: 9.403 MB / 455.8 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.6296, allocations: 0 / 455.8 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3113/0.9409, allocations: 428.6 kB / 456.2 MB, free: 109.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003565/0.9445, allocations: 0.6314 MB / 456.9 MB, free: 109.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007537/0.9453, allocations: 57.33 kB / 456.9 MB, free: 109.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.9557, allocations: 7.483 MB / 464.4 MB, free: 104.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003803/0.9595, allocations: 3.031 MB / 467.4 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.9707, allocations: 5.45 MB / 472.9 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/0.9728, allocations: 0.6314 MB / 473.5 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004683/0.9733, allocations: 49.44 kB / 473.6 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.9748, allocations: 163.4 kB / 473.7 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005401/0.9753, allocations: 191.8 kB / 473.9 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.9755, allocations: 66.08 kB / 474 MB, free: 100.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002733/0.9782, allocations: 1.557 MB / 475.5 MB, free: 99.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9782, allocations: 0 / 475.5 MB, free: 99.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0034/0.9816, allocations: 0.7822 MB / 476.3 MB, free: 99.63 MB / 382.1 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 (197): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/0.9828, allocations: 376.6 kB / 476.7 MB, free: 99.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006154/0.989, allocations: 3.72 MB / 480.4 MB, free: 96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.989, allocations: 2.312 kB / 480.4 MB, free: 96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003331/0.9924, allocations: 2.278 MB / 482.7 MB, free: 93.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/0.9964, allocations: 0.6049 MB / 483.3 MB, free: 93.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.009, allocations: 8.803 MB / 492.1 MB, free: 84.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/1.012, allocations: 2.389 MB / 494.5 MB, free: 81.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002464/1.014, allocations: 0.5836 MB / 495.1 MB, free: 81.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007/1.015, allocations: 195.4 kB / 495.2 MB, free: 81.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/1.015, allocations: 0 / 495.2 MB, free: 81.11 MB / 382.1 MB Notification: Performance of Templates: time 0.07354/1.088, allocations: 41.65 MB / 0.5243 GB, free: 39.41 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1)