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.0008185/0.0008186, allocations: 87.94 kB / 16.65 MB, free: 6.172 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.00123/0.00123, allocations: 180.9 kB / 17.56 MB, free: 5.852 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.855/1.855, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.000488/0.000488, allocations: 8 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1477, allocations: 47.59 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01618/0.1639, allocations: 12.76 MB / 341.1 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.1766, allocations: 5.121 MB / 346.2 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004241/0.1809, allocations: 63.69 kB / 346.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003759/0.1847, allocations: 0.8234 MB / 347.1 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005716/0.1904, allocations: 1.022 MB / 348.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.1941, allocations: 0.8818 MB / 349 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009509/0.2036, allocations: 4.447 MB / 353.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00501/0.2086, allocations: 2.577 MB / 356 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003323/0.212, allocations: 1.361 MB / 357.4 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.2156, allocations: 1.879 MB / 359.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006265/0.2163, allocations: 208 kB / 359.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.2181, allocations: 0.5034 MB / 360 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.2194, allocations: 0.9849 MB / 361 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.2224, allocations: 1.828 MB / 362.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00858/0.231, allocations: 6.957 MB / 369.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.2311, allocations: 0 / 369.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.2311, allocations: 7.938 kB / 369.7 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002559/0.2314, allocations: 0 / 369.7 MB, free: 10.1 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.01072/0.2421, allocations: 3.639 MB / 373.4 MB, free: 6.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.2422, allocations: 8.031 kB / 373.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.244, allocations: 456.1 kB / 373.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/0.2486, allocations: 2.296 MB / 376.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007322/0.2494, allocations: 419.2 kB / 376.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005526/0.2499, allocations: 311.9 kB / 376.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2751/0.525, allocations: 4.267 MB / 381.1 MB, free: 30.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.5252, allocations: 13.59 kB / 381.1 MB, free: 30.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/0.5256, allocations: 123.5 kB / 381.2 MB, free: 30.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002062/0.5258, allocations: 150.4 kB / 381.4 MB, free: 30.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009438/0.5352, allocations: 3.87 MB / 385.3 MB, free: 30.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02798/0.5632, allocations: 14.25 MB / 399.5 MB, free: 24.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/0.5668, allocations: 2.174 MB / 401.7 MB, free: 22.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.5688, allocations: 1.31 MB / 403 MB, free: 22.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.5691, allocations: 222 kB / 403.2 MB, free: 21.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001975/0.5711, allocations: 1.33 MB / 404.5 MB, free: 21.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=186): time 3.777e-06/0.5711, allocations: 2.156 kB / 404.5 MB, free: 21.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.02674/0.5979, allocations: 13.04 MB / 417.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003168/0.6011, allocations: 3.264 MB / 420.8 MB, free: 6.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.6044, allocations: 2.289 MB / 423.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005282/0.6049, allocations: 73.7 kB / 423.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.6063, allocations: 1.494 MB / 424.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008098/0.6071, allocations: 0.789 MB / 425.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.6074, allocations: 215.1 kB / 425.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.6074, allocations: 309.2 kB / 426 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/0.6094, allocations: 1.294 MB / 427.3 MB, free: 492 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.6121, allocations: 1.946 MB / 429.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005122/0.6172, allocations: 3.316 MB / 432.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/0.6172, allocations: 5.594 kB / 432.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00844/0.6257, allocations: 3.914 MB / 436.5 MB, free: 6.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.6258, allocations: 12 kB / 436.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.823e-05/0.6258, allocations: 16.38 kB / 436.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.6273, allocations: 0.5031 MB / 437 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/0.6301, allocations: 0.6645 MB / 437.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006613/0.6367, allocations: 4.658 MB / 442.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/0.6398, allocations: 203.8 kB / 442.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/0.6402, allocations: 112 kB / 442.6 MB, free: 0.5039 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.002653/0.6429, allocations: 1.088 MB / 443.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007391/0.6436, allocations: 260.8 kB / 444 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007831/0.6515, allocations: 3.669 MB / 447.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/0.6515, allocations: 24.66 kB / 447.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.6515, allocations: 4 kB / 447.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/0.6516, allocations: 11.95 kB / 447.7 MB, free: 11.46 MB / 350.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.01778/0.6693, allocations: 9.399 MB / 457.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.6694, allocations: 4 kB / 457.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/0.6713, allocations: 433.4 kB / 457.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/0.6729, allocations: 0.6349 MB / 458.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/0.6731, allocations: 55.91 kB / 458.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009189/0.6823, allocations: 7.489 MB / 465.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003439/0.6858, allocations: 3.024 MB / 468.7 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009743/0.6955, allocations: 5.455 MB / 474.2 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/0.6973, allocations: 0.6344 MB / 474.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005926/0.6979, allocations: 55.94 kB / 474.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.6995, allocations: 163.8 kB / 475 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/0.7, allocations: 185.7 kB / 475.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.7002, allocations: 67.97 kB / 475.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002785/0.7029, allocations: 1.559 MB / 476.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.703, allocations: 0 / 476.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003704/0.7067, allocations: 0.7828 MB / 477.6 MB, free: 12.96 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.001206/0.7079, allocations: 371.5 kB / 478 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007658/0.7156, allocations: 3.716 MB / 481.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.7157, allocations: 3.938 kB / 481.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004907/0.7206, allocations: 2.275 MB / 484 MB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004352/0.725, allocations: 0.6084 MB / 484.6 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/0.7405, allocations: 8.789 MB / 493.4 MB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/0.743, allocations: 2.384 MB / 495.8 MB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002487/0.7455, allocations: 0.5953 MB / 496.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007549/0.7463, allocations: 199.4 kB / 496.5 MB, free: 9.973 MB / 398.1 MB Notification: Performance of SimCode: time 1.734e-06/0.7463, allocations: 0 / 496.5 MB, free: 9.973 MB / 398.1 MB Notification: Performance of Templates: time 0.08207/0.8284, allocations: 41.63 MB / 0.5256 GB, free: 380 kB / 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)