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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 103.2 kB / 16.62 MB, free: 6.812 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.001026/0.001026, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.658/1.658, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001238/0.001238, allocations: 48.31 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1351, allocations: 46.63 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.02074/0.1559, allocations: 13.42 MB / 339.5 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.1724, allocations: 5.14 MB / 344.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004609/0.1771, allocations: 63.69 kB / 344.7 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004334/0.1815, allocations: 0.8196 MB / 345.6 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006601/0.1882, allocations: 1.018 MB / 346.6 MB, free: 260 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004177/0.1924, allocations: 0.8897 MB / 347.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008395/0.2008, allocations: 4.264 MB / 351.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007087/0.2079, allocations: 3.111 MB / 354.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006154/0.2141, allocations: 1.869 MB / 356.7 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006395/0.2206, allocations: 2.316 MB / 359 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002882/0.2236, allocations: 0.5625 MB / 359.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/0.2278, allocations: 0.8628 MB / 360.5 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004247/0.232, allocations: 1.403 MB / 361.9 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007939/0.24, allocations: 2.275 MB / 364.1 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.2547, allocations: 7.377 MB / 371.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.2548, allocations: 4 kB / 371.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2548, allocations: 0 / 371.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003015/0.2551, allocations: 0 / 371.5 MB, free: 7.18 MB / 318.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.01828/0.2734, allocations: 4.348 MB / 375.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.2735, allocations: 8.031 kB / 375.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.2764, allocations: 452.1 kB / 376.3 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3033/0.5798, allocations: 2.287 MB / 378.6 MB, free: 48.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/0.581, allocations: 403.8 kB / 379 MB, free: 48.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001862/0.5829, allocations: 313.1 kB / 379.3 MB, free: 48.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.5932, allocations: 4.242 MB / 383.5 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.5934, allocations: 12.92 kB / 383.6 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/0.5937, allocations: 122.3 kB / 383.7 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.5939, allocations: 148.3 kB / 383.8 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009399/0.6034, allocations: 3.824 MB / 387.6 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02656/0.63, allocations: 14.16 MB / 401.8 MB, free: 36.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003374/0.6334, allocations: 2.149 MB / 404 MB, free: 35.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.6357, allocations: 1.272 MB / 405.2 MB, free: 34.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/0.636, allocations: 223.4 kB / 405.4 MB, free: 33.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002149/0.6382, allocations: 1.295 MB / 406.7 MB, free: 32.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=186): time 4.679e-06/0.6382, allocations: 4 kB / 406.7 MB, free: 32.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.02797/0.6662, allocations: 12.78 MB / 419.5 MB, free: 19.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003329/0.6696, allocations: 3.349 MB / 422.9 MB, free: 16.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.6733, allocations: 2.284 MB / 425.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006219/0.674, allocations: 81.69 kB / 425.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.6753, allocations: 1.497 MB / 426.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000798/0.6761, allocations: 0.7802 MB / 427.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007956/0.6769, allocations: 481.3 kB / 428 MB, free: 11.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.677, allocations: 305.1 kB / 428.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.6789, allocations: 1.286 MB / 429.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.6813, allocations: 1.937 MB / 431.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/0.6852, allocations: 3.295 MB / 434.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.6853, allocations: 8.656 kB / 434.8 MB, free: 3.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006143/0.6914, allocations: 3.88 MB / 438.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.6915, allocations: 15.94 kB / 438.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.6915, allocations: 18.84 kB / 438.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.6929, allocations: 0.5072 MB / 439.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.6956, allocations: 0.6435 MB / 439.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006918/0.7025, allocations: 5.037 MB / 444.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/0.7062, allocations: 199.7 kB / 445.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005896/0.7069, allocations: 108 kB / 445.2 MB, free: 8.957 MB / 334.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.003514/0.7104, allocations: 1.082 MB / 446.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/0.7115, allocations: 256.8 kB / 446.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007905/0.7194, allocations: 3.628 MB / 450.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.261e-05/0.7195, allocations: 24 kB / 450.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.7195, allocations: 4 kB / 450.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/0.7196, allocations: 11.95 kB / 450.2 MB, free: 3.91 MB / 334.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.02186/0.7414, allocations: 9.316 MB / 459.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.7415, allocations: 0 / 459.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/0.7435, allocations: 423.6 kB / 459.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.7453, allocations: 0.6239 MB / 460.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.7455, allocations: 55.97 kB / 460.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.756, allocations: 8.144 MB / 468.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004316/0.7604, allocations: 3.099 MB / 471.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.7723, allocations: 5.367 MB / 477.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/0.7745, allocations: 0.6193 MB / 477.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006519/0.7752, allocations: 51.98 kB / 477.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.7768, allocations: 139.8 kB / 478 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006557/0.7775, allocations: 197.7 kB / 478.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.7777, allocations: 67.91 kB / 478.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002832/0.7805, allocations: 1.563 MB / 479.9 MB, free: 5.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7805, allocations: 0 / 479.9 MB, free: 5.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003888/0.7844, allocations: 0.7876 MB / 480.7 MB, free: 4.754 MB / 366.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.001312/0.7858, allocations: 367.8 kB / 481 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01265/0.7984, allocations: 4.949 MB / 486 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.7985, allocations: 0 / 486 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005667/0.8042, allocations: 2.248 MB / 488.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004702/0.8089, allocations: 0.6511 MB / 488.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.8282, allocations: 8.597 MB / 497.5 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/0.8312, allocations: 2.381 MB / 499.8 MB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002899/0.8341, allocations: 0.5913 MB / 0.4887 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009195/0.8351, allocations: 203.4 kB / 0.4889 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.8351, allocations: 0 / 0.4889 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of Templates: time 0.08586/0.9209, allocations: 44.05 MB / 0.5319 GB, free: 4.512 MB / 430.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)