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.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002027/0.002027, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.752/1.752, allocations: 205.1 MB / 222 MB, free: 4.957 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.001174/0.001174, allocations: 47.94 kB / 278 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3304, allocations: 46.63 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01579/0.3463, allocations: 13.4 MB / 338.1 MB, free: 6.738 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3595, allocations: 5.175 MB / 343.3 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006232/0.3659, allocations: 71.62 kB / 343.3 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003565/0.3695, allocations: 0.8117 MB / 344.1 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006532/0.376, allocations: 1.018 MB / 345.2 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.379, allocations: 0.8858 MB / 346 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007966/0.387, allocations: 4.463 MB / 350.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003544/0.3906, allocations: 2.604 MB / 353.1 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.3937, allocations: 1.553 MB / 354.7 MB, free: 6.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00327/0.397, allocations: 2.132 MB / 356.8 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006615/0.3976, allocations: 292 kB / 357.1 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.3994, allocations: 0.5972 MB / 357.7 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.4006, allocations: 1.114 MB / 358.8 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002584/0.4032, allocations: 1.975 MB / 360.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007556/0.4108, allocations: 7.177 MB / 367.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4108, allocations: 0 / 367.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4108, allocations: 0 / 367.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002491/0.4111, allocations: 0 / 367.9 MB, free: 8.715 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.01436/0.4255, allocations: 4.352 MB / 372.3 MB, free: 4.293 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.4256, allocations: 12.03 kB / 372.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.4272, allocations: 444.1 kB / 372.7 MB, free: 3.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004629/0.4319, allocations: 2.281 MB / 375 MB, free: 1.512 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008062/0.4327, allocations: 399.2 kB / 375.4 MB, free: 1.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007986/0.4335, allocations: 327.8 kB / 375.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.4437, allocations: 4.25 MB / 380 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.4438, allocations: 11.91 kB / 380 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003174/0.4442, allocations: 124 kB / 380.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002159/0.4444, allocations: 146.1 kB / 380.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008374/0.4528, allocations: 3.818 MB / 384.1 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02611/0.4789, allocations: 14.17 MB / 398.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/0.4827, allocations: 2.134 MB / 400.4 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/0.4851, allocations: 1.291 MB / 401.7 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/0.4854, allocations: 220.2 kB / 401.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002516/0.488, allocations: 1.295 MB / 403.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 3.146e-06/0.488, allocations: 4 kB / 403.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.03056/0.5186, allocations: 12.78 MB / 416 MB, free: 7.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004724/0.5233, allocations: 3.26 MB / 419.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005385/0.5288, allocations: 2.291 MB / 421.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007357/0.5295, allocations: 73.7 kB / 421.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002453/0.532, allocations: 1.493 MB / 423.1 MB, free: 492 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.5334, allocations: 0.7819 MB / 423.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/0.535, allocations: 485.3 kB / 424.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003585/0.5353, allocations: 301.1 kB / 424.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/0.5386, allocations: 1.286 MB / 425.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003856/0.5425, allocations: 1.933 MB / 427.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006667/0.5492, allocations: 3.296 MB / 431.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.053e-05/0.5492, allocations: 4 kB / 431.1 MB, free: 7.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008948/0.5582, allocations: 3.889 MB / 435 MB, free: 3.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.5583, allocations: 12 kB / 435 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.924e-05/0.5583, allocations: 16.66 kB / 435.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.5601, allocations: 0.4995 MB / 435.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/0.5628, allocations: 0.6474 MB / 436.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006463/0.5693, allocations: 4.649 MB / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/0.5724, allocations: 191.6 kB / 441 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/0.5728, allocations: 112 kB / 441.2 MB, free: 13.49 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.002899/0.5757, allocations: 1.086 MB / 442.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007749/0.5765, allocations: 260.7 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007094/0.5836, allocations: 3.612 MB / 446.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.5836, allocations: 20 kB / 446.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/0.5836, allocations: 4 kB / 446.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/0.5837, allocations: 11.95 kB / 446.1 MB, free: 8.457 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.3053/0.889, allocations: 9.313 MB / 455.5 MB, free: 108.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.8891, allocations: 5.797 kB / 455.5 MB, free: 108.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/0.8916, allocations: 412.9 kB / 455.9 MB, free: 108.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/0.8934, allocations: 0.637 MB / 456.5 MB, free: 108.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003307/0.8938, allocations: 55.86 kB / 456.6 MB, free: 108.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008726/0.9025, allocations: 7.464 MB / 464 MB, free: 103.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003039/0.9056, allocations: 3.022 MB / 467 MB, free: 101.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00929/0.9149, allocations: 5.369 MB / 472.4 MB, free: 99.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/0.9167, allocations: 0.6186 MB / 473 MB, free: 99.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004175/0.9171, allocations: 58.53 kB / 473.1 MB, free: 99.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.9186, allocations: 139.1 kB / 473.2 MB, free: 99.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000595/0.9192, allocations: 195.5 kB / 473.4 MB, free: 99.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.9194, allocations: 65.89 kB / 473.5 MB, free: 99.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002826/0.9222, allocations: 1.557 MB / 475 MB, free: 98.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9222, allocations: 0 / 475 MB, free: 98.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00299/0.9252, allocations: 0.7828 MB / 475.8 MB, free: 98.61 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.0009331/0.9262, allocations: 368.5 kB / 476.2 MB, free: 98.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006609/0.9328, allocations: 3.676 MB / 479.8 MB, free: 95.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.9328, allocations: 0.5625 kB / 479.9 MB, free: 95.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003583/0.9364, allocations: 2.25 MB / 482.1 MB, free: 93.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/0.9402, allocations: 0.6135 MB / 482.7 MB, free: 92.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.9552, allocations: 8.6 MB / 491.3 MB, free: 83.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.957, allocations: 2.377 MB / 493.7 MB, free: 81.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002217/0.9592, allocations: 0.5953 MB / 494.3 MB, free: 80.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/0.9599, allocations: 195.4 kB / 494.5 MB, free: 80.65 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.9599, allocations: 4 kB / 494.5 MB, free: 80.64 MB / 382.1 MB Notification: Performance of Templates: time 0.06619/1.026, allocations: 42.33 MB / 0.5242 GB, free: 38.26 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)