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.0009725/0.0009725, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001343/0.001343, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0006982/0.0006983, allocations: 8 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4062, allocations: 47.58 MB / 326.4 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.02157/0.4279, allocations: 11.03 MB / 337.5 MB, free: 8.457 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01591/0.4439, allocations: 5.066 MB / 342.5 MB, free: 3.379 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003799/0.4477, allocations: 63.62 kB / 342.6 MB, free: 3.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003618/0.4514, allocations: 0.75 MB / 343.3 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005931/0.4573, allocations: 1.04 MB / 344.4 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.4606, allocations: 0.6121 MB / 345 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.008545/0.4692, allocations: 2.638 MB / 347.6 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005735/0.475, allocations: 2.128 MB / 349.8 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004034/0.4791, allocations: 1.273 MB / 351 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004648/0.4838, allocations: 1.638 MB / 352.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008628/0.4847, allocations: 204 kB / 352.9 MB, free: 8.973 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.487, allocations: 435.6 kB / 353.3 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.4884, allocations: 0.9308 MB / 354.2 MB, free: 7.613 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002115/0.4905, allocations: 0.7576 MB / 355 MB, free: 6.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008504/0.4991, allocations: 6.011 MB / 361 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4991, allocations: 0 / 361 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4991, allocations: 4 kB / 361 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002357/0.4994, allocations: 0 / 361 MB, free: 0.8164 MB / 286.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.01031/0.5097, allocations: 3.658 MB / 364.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5097, allocations: 8.031 kB / 364.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/0.5121, allocations: 451.2 kB / 365.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004822/0.517, allocations: 2.254 MB / 367.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00074/0.5177, allocations: 419.2 kB / 367.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000784/0.5185, allocations: 315.9 kB / 368.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00842/0.527, allocations: 4.226 MB / 372.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-05/0.5271, allocations: 11.91 kB / 372.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003211/0.5274, allocations: 124 kB / 372.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.5276, allocations: 150.1 kB / 372.6 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008421/0.536, allocations: 3.85 MB / 376.4 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/0.5654, allocations: 14.16 MB / 390.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00377/0.5692, allocations: 2.166 MB / 392.8 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003952/0.5697, allocations: 220.1 kB / 393 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002637/0.5723, allocations: 1.318 MB / 394.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 4.719e-06/0.5723, allocations: 4 kB / 394.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.02916/0.6015, allocations: 13.1 MB / 407.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003939/0.6055, allocations: 3.358 MB / 410.8 MB, free: 14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/0.6089, allocations: 2.201 MB / 413 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004314/0.6093, allocations: 81.69 kB / 413 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.6106, allocations: 1.489 MB / 414.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007599/0.6113, allocations: 0.7856 MB / 415.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.6115, allocations: 56 kB / 415.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002776/0.6118, allocations: 403.4 kB / 415.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/0.6139, allocations: 1.298 MB / 417.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.6167, allocations: 1.933 MB / 419 MB, free: 5.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.6192, allocations: 1.553 MB / 420.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.6192, allocations: 4 kB / 420.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006929/0.6261, allocations: 3.893 MB / 424.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.6262, allocations: 12 kB / 424.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.6262, allocations: 16 kB / 424.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.6275, allocations: 0.4995 MB / 425 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00249/0.63, allocations: 0.6716 MB / 425.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005435/0.6354, allocations: 4.736 MB / 430.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.6375, allocations: 199.8 kB / 430.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.6377, allocations: 111.9 kB / 430.7 MB, free: 9.379 MB / 366.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,$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 () * 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 (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.001965/0.6396, allocations: 1.082 MB / 431.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005124/0.6402, allocations: 264.7 kB / 432 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006478/0.6467, allocations: 3.663 MB / 435.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.6467, allocations: 20 kB / 435.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6467, allocations: 7.938 kB / 435.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/0.6468, allocations: 11.95 kB / 435.7 MB, free: 4.293 MB / 366.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.01874/0.6655, allocations: 9.343 MB / 445.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.6656, allocations: 3.938 kB / 445.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.6675, allocations: 439.5 kB / 445.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.6694, allocations: 0.6238 MB / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002706/0.6697, allocations: 55.97 kB / 446.2 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009169/0.6789, allocations: 7.678 MB / 453.9 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2171/0.8961, allocations: 3.099 MB / 457 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/0.9101, allocations: 5.56 MB / 462.5 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00322/0.9134, allocations: 0.6245 MB / 463.1 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009033/0.9144, allocations: 47.75 kB / 463.2 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/0.9162, allocations: 164.7 kB / 463.3 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006463/0.9169, allocations: 195.6 kB / 463.5 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.9171, allocations: 62.45 kB / 463.6 MB, free: 105.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003598/0.9207, allocations: 1.506 MB / 465.1 MB, free: 104.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.9207, allocations: 0 / 465.1 MB, free: 104.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003823/0.9245, allocations: 0.7812 MB / 465.9 MB, free: 104.6 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 (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%) 8} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008257/0.9254, allocations: 337.7 kB / 466.2 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005788/0.9312, allocations: 3.714 MB / 469.9 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.9312, allocations: 0 / 469.9 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003284/0.9345, allocations: 2.274 MB / 472.2 MB, free: 101.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/0.9375, allocations: 0.5641 MB / 472.8 MB, free: 101.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.9496, allocations: 8.427 MB / 481.2 MB, free: 93.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/0.9513, allocations: 2.445 MB / 483.6 MB, free: 91.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002034/0.9534, allocations: 0.5989 MB / 484.2 MB, free: 91.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005713/0.954, allocations: 199.4 kB / 484.4 MB, free: 90.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.954, allocations: 0 / 484.4 MB, free: 90.86 MB / 382.1 MB Notification: Performance of Templates: time 0.06178/1.016, allocations: 39.81 MB / 0.512 GB, free: 51.01 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: