Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001335/0.001335, allocations: 182.5 kB / 8.349 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.689/1.689, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001635/0.001636, allocations: 115.5 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.807e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07822/0.07826, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3084/0.3867, allocations: 118.5 MB / 461.1 MB, free: 9.871 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.3869, allocations: 85.42 kB / 461.1 MB, free: 9.832 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.377/0.7639, allocations: 77.86 MB / 0.5264 GB, free: 74.52 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.764, allocations: 6.75 kB / 0.5264 GB, free: 74.52 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003872/0.7644, allocations: 85.75 kB / 0.5265 GB, free: 74.51 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.01047/0.7749, allocations: 3.273 MB / 0.5297 GB, free: 73.23 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.7749, allocations: 9.938 kB / 0.5297 GB, free: 73.23 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/0.7783, allocations: 460.8 kB / 0.5301 GB, free: 73.03 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008499/0.7868, allocations: 2.532 MB / 0.5326 GB, free: 72.5 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006692/0.7876, allocations: 269.8 kB / 0.5328 GB, free: 72.4 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.789, allocations: 196.2 kB / 0.533 GB, free: 72.39 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008249/0.7973, allocations: 3.28 MB / 0.5362 GB, free: 72.38 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009768/0.8071, allocations: 3.629 MB / 0.5398 GB, free: 71.95 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.8072, allocations: 15.03 kB / 0.5398 GB, free: 71.95 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.8076, allocations: 3.094 kB / 0.5398 GB, free: 71.95 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.8078, allocations: 145 kB / 0.5399 GB, free: 71.93 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/0.8285, allocations: 13.36 MB / 0.553 GB, free: 68.95 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.8315, allocations: 2.04 MB / 0.555 GB, free: 68.32 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.8334, allocations: 1.15 MB / 0.5561 GB, free: 67.85 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003802/0.8338, allocations: 235.7 kB / 0.5563 GB, free: 67.66 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001935/0.8358, allocations: 1.196 MB / 0.5575 GB, free: 67.15 MB / 395.1 MB Notification: Performance of pre-optimization done (n=196): time 4.258e-06/0.8358, allocations: 4 kB / 0.5575 GB, free: 67.14 MB / 395.1 MB Notification: Performance of matching and sorting (n=249): time 0.01845/0.8543, allocations: 9.465 MB / 0.5667 GB, free: 63.17 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.8544, allocations: 187.5 kB / 0.5669 GB, free: 62.98 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.8566, allocations: 1.626 MB / 0.5685 GB, free: 62.27 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.8569, allocations: 36.7 kB / 0.5685 GB, free: 62.24 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000962/0.8578, allocations: 1.474 MB / 0.57 GB, free: 61.11 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004554/0.8583, allocations: 0.8085 MB / 0.5708 GB, free: 60.48 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.8584, allocations: 0 / 0.5708 GB, free: 60.48 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8586, allocations: 420.3 kB / 0.5712 GB, free: 60.12 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.86, allocations: 1.23 MB / 0.5724 GB, free: 59.59 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.8617, allocations: 1.836 MB / 0.5741 GB, free: 58.33 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.8637, allocations: 1.506 MB / 0.5756 GB, free: 57.68 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.619e-06/0.8637, allocations: 7.844 kB / 0.5756 GB, free: 57.68 MB / 395.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.004814/0.8685, allocations: 3.608 MB / 0.5792 GB, free: 56.28 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.8686, allocations: 9.5 kB / 0.5792 GB, free: 56.28 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/0.8686, allocations: 17.16 kB / 0.5792 GB, free: 56.28 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.8697, allocations: 0.491 MB / 0.5797 GB, free: 56.12 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.8721, allocations: 0.6865 MB / 0.5803 GB, free: 56.1 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00406/0.8762, allocations: 4.488 MB / 0.5847 GB, free: 52.64 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.8782, allocations: 142.4 kB / 0.5848 GB, free: 52.64 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.8784, allocations: 117.7 kB / 0.585 GB, free: 52.61 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gearbox.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gearbox.lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$PRE.motor.uniformNoise.state[1],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[4],$PRE.motor.uniformNoise.r,motor.uniformNoise.r,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.mode,gearbox.lossyGear.ideal,motor.uniformNoise.localSeed,motor.uniformNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 315 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0004683/0.8789, allocations: 186.1 kB / 0.5851 GB, free: 52.45 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.8792, allocations: 256.2 kB / 0.5854 GB, free: 52.31 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005083/0.8843, allocations: 3.374 MB / 0.5887 GB, free: 50.96 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.8844, allocations: 30.12 kB / 0.5887 GB, free: 50.96 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8844, allocations: 0 / 0.5887 GB, free: 50.96 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.8844, allocations: 17.75 kB / 0.5887 GB, free: 50.96 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or 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.01534/0.8998, allocations: 8.858 MB / 0.5974 GB, free: 47.05 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.8998, allocations: 0 / 0.5974 GB, free: 47.05 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/0.9019, allocations: 477.8 kB / 0.5978 GB, free: 47.02 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.9034, allocations: 0.6472 MB / 0.5985 GB, free: 46.81 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.9036, allocations: 18.72 kB / 0.5985 GB, free: 46.81 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006973/0.9105, allocations: 7.526 MB / 0.6058 GB, free: 41.39 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003018/0.9136, allocations: 3.234 MB / 0.609 GB, free: 39.27 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006919/0.9205, allocations: 5.249 MB / 0.6141 GB, free: 36.83 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.9218, allocations: 0.6263 MB / 0.6147 GB, free: 36.43 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/0.9222, allocations: 13.34 kB / 0.6147 GB, free: 36.42 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.9237, allocations: 135.2 kB / 0.6149 GB, free: 36.41 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.9241, allocations: 206.1 kB / 0.6151 GB, free: 36.37 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.9242, allocations: 74.84 kB / 0.6151 GB, free: 36.36 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001585/0.9258, allocations: 1.209 MB / 0.6163 GB, free: 35.74 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9258, allocations: 0 / 0.6163 GB, free: 35.74 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00252/0.9284, allocations: 0.7339 MB / 0.617 GB, free: 35.01 MB / 395.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(3,100.0%) 11} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009822/0.9294, allocations: 0.551 MB / 0.6176 GB, free: 34.59 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004216/0.9336, allocations: 3.492 MB / 0.621 GB, free: 31.28 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.9336, allocations: 0 / 0.621 GB, free: 31.28 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00268/0.9363, allocations: 2.157 MB / 0.6231 GB, free: 29.25 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.9391, allocations: 483.5 kB / 0.6235 GB, free: 28.88 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.9503, allocations: 5.82 MB / 0.6292 GB, free: 23.64 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.9524, allocations: 2.445 MB / 0.6316 GB, free: 21.71 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.002414/0.9548, allocations: 0.6134 MB / 0.6322 GB, free: 21.28 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008112/0.9556, allocations: 200.5 kB / 0.6324 GB, free: 21.11 MB / 395.1 MB Notification: Performance of SimCode: time 1.332e-06/0.9557, allocations: 0 / 0.6324 GB, free: 21.11 MB / 395.1 MB Notification: Performance of Templates: time 0.2468/1.202, allocations: 37.22 MB / 0.6688 GB, free: 64.68 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1)