Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_3.2.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.001486/0.001486, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001703/0.001703, allocations: 190.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001442/0.001443, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.357, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01611/0.3732, allocations: 13.4 MB / 338.3 MB, free: 6.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.3856, allocations: 5.136 MB / 343.4 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004741/0.3904, allocations: 67.69 kB / 343.5 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.3942, allocations: 0.8157 MB / 344.3 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00595/0.4002, allocations: 1.018 MB / 345.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.4037, allocations: 0.8936 MB / 346.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008352/0.412, allocations: 4.268 MB / 350.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005076/0.4171, allocations: 3.107 MB / 353.6 MB, free: 7.238 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003714/0.4209, allocations: 1.873 MB / 355.4 MB, free: 5.359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00445/0.4254, allocations: 2.312 MB / 357.7 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001458/0.4269, allocations: 0.5625 MB / 358.3 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.4293, allocations: 0.8628 MB / 359.2 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.431, allocations: 1.411 MB / 360.6 MB, free: 204 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003769/0.4348, allocations: 2.272 MB / 362.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009741/0.4445, allocations: 7.377 MB / 370.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.4446, allocations: 0 / 370.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4446, allocations: 0 / 370.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002493/0.4449, allocations: 0 / 370.2 MB, free: 6.52 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.01397/0.4589, allocations: 4.352 MB / 374.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.4589, allocations: 12.03 kB / 374.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.4605, allocations: 444.1 kB / 375 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004969/0.4655, allocations: 2.284 MB / 377.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008588/0.4664, allocations: 399.2 kB / 377.7 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007281/0.4672, allocations: 327.7 kB / 378 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.4775, allocations: 4.242 MB / 382.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.104e-05/0.4777, allocations: 7.906 kB / 382.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003048/0.478, allocations: 124 kB / 382.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/0.4782, allocations: 146.1 kB / 382.5 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008891/0.4871, allocations: 3.822 MB / 386.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03006/0.5172, allocations: 14.17 MB / 400.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.5208, allocations: 2.138 MB / 402.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.5231, allocations: 1.291 MB / 403.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003529/0.5235, allocations: 216.2 kB / 404.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00222/0.5257, allocations: 1.299 MB / 405.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 4.018e-06/0.5258, allocations: 7.875 kB / 405.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.03058/0.5564, allocations: 12.78 MB / 418.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004414/0.5608, allocations: 3.347 MB / 421.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005979/0.5668, allocations: 2.287 MB / 423.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009271/0.5678, allocations: 73.7 kB / 424 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002466/0.5703, allocations: 1.497 MB / 425.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001491/0.5718, allocations: 0.7857 MB / 426.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/0.5738, allocations: 481.3 kB / 426.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.574, allocations: 313.1 kB / 427 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002956/0.5769, allocations: 1.282 MB / 428.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/0.5802, allocations: 1.937 MB / 430.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005708/0.5859, allocations: 3.285 MB / 433.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.493e-05/0.586, allocations: 4.656 kB / 433.5 MB, free: 5.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008214/0.5942, allocations: 3.889 MB / 437.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.5943, allocations: 12 kB / 437.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/0.5943, allocations: 16 kB / 437.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.5957, allocations: 0.5073 MB / 437.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.5985, allocations: 0.6435 MB / 438.6 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006341/0.6048, allocations: 5.048 MB / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.6076, allocations: 191.7 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005573/0.6082, allocations: 111.9 kB / 443.9 MB, free: 10.78 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.003078/0.6113, allocations: 1.09 MB / 445 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.6123, allocations: 252.8 kB / 445.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007998/0.6204, allocations: 3.616 MB / 448.9 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.6204, allocations: 20 kB / 448.9 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/0.6204, allocations: 4 kB / 448.9 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/0.6205, allocations: 15.89 kB / 448.9 MB, free: 5.742 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.2417/0.8622, allocations: 9.309 MB / 458.2 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.8622, allocations: 7.828 kB / 458.2 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/0.8639, allocations: 415.9 kB / 458.6 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/0.8655, allocations: 0.6353 MB / 459.3 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.8656, allocations: 53.67 kB / 459.3 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007544/0.8732, allocations: 8.131 MB / 467.5 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002844/0.8761, allocations: 3.11 MB / 470.6 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008076/0.8842, allocations: 5.372 MB / 475.9 MB, free: 98.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/0.8857, allocations: 0.6204 MB / 476.6 MB, free: 98.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007664/0.8865, allocations: 52 kB / 476.6 MB, free: 98.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.8882, allocations: 144.5 kB / 476.8 MB, free: 98.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004586/0.8887, allocations: 181.4 kB / 476.9 MB, free: 98.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.8888, allocations: 71.19 kB / 477 MB, free: 98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002336/0.8912, allocations: 1.561 MB / 478.6 MB, free: 96.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.8912, allocations: 0 / 478.6 MB, free: 96.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002718/0.8939, allocations: 0.7798 MB / 479.3 MB, free: 95.88 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.0008825/0.8948, allocations: 382.1 kB / 479.7 MB, free: 95.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01206/0.9069, allocations: 4.942 MB / 484.7 MB, free: 90.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.9069, allocations: 4 kB / 484.7 MB, free: 90.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003581/0.9105, allocations: 2.25 MB / 486.9 MB, free: 88.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/0.9144, allocations: 0.6479 MB / 487.6 MB, free: 87.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.9253, allocations: 8.59 MB / 496.2 MB, free: 79.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.927, allocations: 2.385 MB / 498.5 MB, free: 76.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001982/0.929, allocations: 0.5875 MB / 499.1 MB, free: 76.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.9296, allocations: 203.4 kB / 499.3 MB, free: 75.88 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.9296, allocations: 4 kB / 499.3 MB, free: 75.87 MB / 382.1 MB Notification: Performance of Templates: time 0.0694/0.999, allocations: 44.03 MB / 0.5306 GB, free: 31.8 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1)