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.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001883/0.001883, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.687/1.687, allocations: 205.1 MB / 222 MB, free: 4.727 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.001239/0.001239, allocations: 43.94 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3447, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01784/0.3626, allocations: 13.4 MB / 338.1 MB, free: 6.711 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.375, allocations: 5.175 MB / 343.3 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00415/0.3792, allocations: 67.69 kB / 343.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00389/0.3832, allocations: 0.8079 MB / 344.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006759/0.39, allocations: 1.018 MB / 345.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.3934, allocations: 0.8857 MB / 346 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008005/0.4014, allocations: 4.467 MB / 350.5 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004367/0.4058, allocations: 2.604 MB / 353.1 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003055/0.4089, allocations: 1.561 MB / 354.7 MB, free: 6.008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004508/0.4134, allocations: 2.121 MB / 356.8 MB, free: 3.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.415, allocations: 296 kB / 357.1 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.4181, allocations: 0.5933 MB / 357.7 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001867/0.42, allocations: 1.121 MB / 358.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003889/0.4239, allocations: 1.975 MB / 360.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00887/0.4328, allocations: 7.174 MB / 367.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4328, allocations: 0 / 367.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4328, allocations: 0 / 367.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002323/0.4331, allocations: 0 / 367.9 MB, free: 8.691 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.01642/0.4495, allocations: 4.355 MB / 372.3 MB, free: 4.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.4496, allocations: 12.03 kB / 372.3 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/0.4524, allocations: 444.1 kB / 372.7 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00754/0.46, allocations: 2.281 MB / 375 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001181/0.4612, allocations: 399.2 kB / 375.4 MB, free: 1.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/0.4634, allocations: 319.8 kB / 375.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.4791, allocations: 4.254 MB / 380 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002419/0.4794, allocations: 7.906 kB / 380 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001215/0.4806, allocations: 124 kB / 380.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/0.4808, allocations: 146.1 kB / 380.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.4928, allocations: 3.826 MB / 384.1 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04154/0.5345, allocations: 14.17 MB / 398.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00508/0.5396, allocations: 2.134 MB / 400.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003581/0.5432, allocations: 1.283 MB / 401.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.5439, allocations: 216.2 kB / 401.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004064/0.548, allocations: 1.299 MB / 403.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 1.045e-05/0.548, allocations: 0 / 403.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.03641/0.5845, allocations: 12.79 MB / 416 MB, free: 7.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004637/0.5892, allocations: 3.257 MB / 419.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005591/0.5948, allocations: 2.291 MB / 421.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006282/0.5954, allocations: 77.8 kB / 421.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001808/0.5973, allocations: 1.493 MB / 423.1 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001646/0.5989, allocations: 0.7818 MB / 423.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002084/0.6011, allocations: 485.3 kB / 424.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.6013, allocations: 301.1 kB / 424.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/0.6046, allocations: 1.286 MB / 425.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/0.608, allocations: 1.933 MB / 427.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006643/0.6147, allocations: 3.296 MB / 431.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-05/0.6148, allocations: 4 kB / 431.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01096/0.6258, allocations: 3.885 MB / 435 MB, free: 3.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.6259, allocations: 12 kB / 435 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-05/0.6259, allocations: 16 kB / 435.1 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/0.6277, allocations: 0.5032 MB / 435.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00293/0.6307, allocations: 0.6474 MB / 436.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007302/0.638, allocations: 4.657 MB / 440.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/0.6412, allocations: 187.8 kB / 441 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/0.6417, allocations: 108 kB / 441.1 MB, free: 13.46 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.003278/0.645, allocations: 1.091 MB / 442.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/0.6463, allocations: 256.8 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009018/0.6554, allocations: 3.612 MB / 446.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/0.6554, allocations: 20 kB / 446.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.241e-05/0.6555, allocations: 7.938 kB / 446.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.439e-05/0.6555, allocations: 11.95 kB / 446.1 MB, free: 8.426 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.2807/0.9362, allocations: 9.308 MB / 455.4 MB, free: 108.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/0.9363, allocations: 4.969 kB / 455.5 MB, free: 108.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/0.9394, allocations: 415.8 kB / 455.9 MB, free: 108.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/0.9416, allocations: 0.6353 MB / 456.5 MB, free: 108.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004208/0.9421, allocations: 53.69 kB / 456.5 MB, free: 108.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.9525, allocations: 7.467 MB / 464 MB, free: 103.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004082/0.9567, allocations: 3.022 MB / 467 MB, free: 101.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009355/0.9661, allocations: 5.369 MB / 472.4 MB, free: 99.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/0.9677, allocations: 0.6196 MB / 473 MB, free: 99.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004981/0.9683, allocations: 57.03 kB / 473.1 MB, free: 99.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.9698, allocations: 145.3 kB / 473.2 MB, free: 99.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000591/0.9704, allocations: 183.5 kB / 473.4 MB, free: 99.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.9706, allocations: 66.75 kB / 473.5 MB, free: 99.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002595/0.9732, allocations: 1.561 MB / 475 MB, free: 98.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9732, allocations: 3.062 kB / 475 MB, free: 98.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002915/0.9761, allocations: 0.7773 MB / 475.8 MB, free: 98.58 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.000908/0.977, allocations: 367.9 kB / 476.2 MB, free: 98.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005455/0.9825, allocations: 3.68 MB / 479.8 MB, free: 95.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9825, allocations: 0 / 479.8 MB, free: 95.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00347/0.986, allocations: 2.25 MB / 482.1 MB, free: 92.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/0.9906, allocations: 0.6191 MB / 482.7 MB, free: 92.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.007, allocations: 8.599 MB / 491.3 MB, free: 83.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003477/1.01, allocations: 2.381 MB / 493.7 MB, free: 81.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003136/1.014, allocations: 0.5875 MB / 494.3 MB, free: 80.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008264/1.014, allocations: 203.4 kB / 494.5 MB, free: 80.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/1.014, allocations: 0 / 494.5 MB, free: 80.6 MB / 382.1 MB Notification: Performance of Templates: time 0.07305/1.088, allocations: 42.33 MB / 0.5242 GB, free: 38.22 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)