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.001696/0.001696, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001998/0.001999, allocations: 197.1 kB / 16.26 MB, free: 6.621 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.681/1.681, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.00195/0.001949, allocations: 55.91 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3361, allocations: 46.62 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01815/0.3543, allocations: 13.41 MB / 338.2 MB, free: 6.656 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.3678, allocations: 5.136 MB / 343.4 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00443/0.3723, allocations: 67.62 kB / 343.5 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.3763, allocations: 0.8196 MB / 344.3 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005697/0.382, allocations: 1.014 MB / 345.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.3855, allocations: 0.8974 MB / 346.2 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008548/0.3941, allocations: 4.268 MB / 350.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004533/0.3987, allocations: 3.115 MB / 353.6 MB, free: 7.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00363/0.4023, allocations: 1.869 MB / 355.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004139/0.4065, allocations: 2.316 MB / 357.8 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.4081, allocations: 0.5625 MB / 358.3 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.4104, allocations: 0.8628 MB / 359.2 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001801/0.4122, allocations: 1.407 MB / 360.6 MB, free: 192 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0044/0.4166, allocations: 2.268 MB / 362.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0093/0.426, allocations: 7.381 MB / 370.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-05/0.4261, allocations: 4 kB / 370.2 MB, free: 6.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.66e-06/0.4261, allocations: 4 kB / 370.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003749/0.4265, allocations: 0 / 370.2 MB, free: 6.5 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.01513/0.4416, allocations: 4.344 MB / 374.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.4417, allocations: 8.031 kB / 374.6 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.4437, allocations: 452.1 kB / 375 MB, free: 1.633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005299/0.449, allocations: 2.288 MB / 377.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007895/0.4499, allocations: 399.2 kB / 377.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.4511, allocations: 315.7 kB / 378 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.4621, allocations: 4.246 MB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.4623, allocations: 11.89 kB / 382.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000383/0.4626, allocations: 124 kB / 382.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/0.4629, allocations: 150.1 kB / 382.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.4737, allocations: 3.822 MB / 386.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02909/0.5029, allocations: 14.16 MB / 400.5 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.5064, allocations: 2.141 MB / 402.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.5087, allocations: 1.287 MB / 404 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/0.5091, allocations: 216.2 kB / 404.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002279/0.5114, allocations: 1.299 MB / 405.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 3.967e-06/0.5114, allocations: 4 kB / 405.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.033/0.5444, allocations: 12.79 MB / 418.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004335/0.5488, allocations: 3.347 MB / 421.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005801/0.5546, allocations: 2.28 MB / 423.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006532/0.5553, allocations: 77.69 kB / 424 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001908/0.5572, allocations: 1.497 MB / 425.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001572/0.5588, allocations: 0.7817 MB / 426.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.5603, allocations: 485.3 kB / 426.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.5605, allocations: 309.8 kB / 427 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/0.5628, allocations: 1.286 MB / 428.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/0.5657, allocations: 1.933 MB / 430.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005123/0.5708, allocations: 3.285 MB / 433.5 MB, free: 5.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.5708, allocations: 8 kB / 433.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007532/0.5784, allocations: 3.889 MB / 437.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.5785, allocations: 12 kB / 437.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.5785, allocations: 23.94 kB / 437.4 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.5798, allocations: 0.5112 MB / 438 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.5823, allocations: 0.6474 MB / 438.6 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006384/0.5887, allocations: 5.033 MB / 443.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.5911, allocations: 187.8 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003205/0.5914, 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.00238/0.5938, allocations: 1.09 MB / 445 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006927/0.5945, allocations: 256.8 kB / 445.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006641/0.6012, allocations: 3.616 MB / 448.9 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.6012, allocations: 24 kB / 448.9 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.6013, allocations: 4 kB / 448.9 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.6013, allocations: 15.98 kB / 448.9 MB, free: 5.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.2124/0.8137, allocations: 9.314 MB / 458.2 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.8137, allocations: 2.125 kB / 458.2 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/0.8166, allocations: 419.2 kB / 458.7 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/0.8191, allocations: 0.6273 MB / 459.3 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004144/0.8195, allocations: 53.7 kB / 459.3 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/0.8314, allocations: 8.128 MB / 467.5 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004775/0.8362, allocations: 3.116 MB / 470.6 MB, free: 100.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/0.8512, allocations: 5.365 MB / 475.9 MB, free: 98.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003465/0.8548, allocations: 0.62 MB / 476.6 MB, free: 98.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/0.856, allocations: 59.33 kB / 476.6 MB, free: 98.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003496/0.8595, allocations: 144.9 kB / 476.8 MB, free: 98.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008431/0.8604, allocations: 180.9 kB / 476.9 MB, free: 98.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002727/0.8607, allocations: 70.95 kB / 477 MB, free: 97.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0043/0.865, allocations: 1.556 MB / 478.6 MB, free: 96.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8651, allocations: 7.938 kB / 478.6 MB, free: 96.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0054/0.8705, allocations: 0.7796 MB / 479.4 MB, free: 95.85 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.00187/0.8724, allocations: 370.5 kB / 479.7 MB, free: 95.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01726/0.8897, allocations: 4.937 MB / 484.7 MB, free: 90.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/0.8898, allocations: 1.219 kB / 484.7 MB, free: 90.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006165/0.8959, allocations: 2.264 MB / 486.9 MB, free: 88.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006902/0.9029, allocations: 0.6436 MB / 487.6 MB, free: 87.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.9234, allocations: 8.596 MB / 496.2 MB, free: 79.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.9258, allocations: 2.385 MB / 498.5 MB, free: 76.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002886/0.9287, allocations: 0.5836 MB / 499.1 MB, free: 76.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008163/0.9295, allocations: 203.4 kB / 499.3 MB, free: 75.86 MB / 382.1 MB Notification: Performance of SimCode: time 3.286e-06/0.9296, allocations: 0 / 499.3 MB, free: 75.86 MB / 382.1 MB Notification: Performance of Templates: time 0.07806/1.008, allocations: 44.04 MB / 0.5306 GB, free: 31.78 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)