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.001083/0.001084, allocations: 93.61 kB / 16.3 MB, free: 6.133 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.001129/0.00113, allocations: 177.5 kB / 17.2 MB, free: 6.016 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.531/1.531, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004603/0.0004603, allocations: 8 kB / 280.1 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1174, allocations: 47.59 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01277/0.1302, allocations: 11.03 MB / 338.7 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.1431, allocations: 5.073 MB / 343.8 MB, free: 3.938 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.146, allocations: 63.69 kB / 343.9 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.1485, allocations: 0.7539 MB / 344.6 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004793/0.1533, allocations: 1.032 MB / 345.7 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.1558, allocations: 0.6122 MB / 346.3 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005738/0.1615, allocations: 2.634 MB / 348.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0031/0.1647, allocations: 2.129 MB / 351 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.1672, allocations: 1.269 MB / 352.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.1705, allocations: 1.634 MB / 353.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006827/0.1712, allocations: 204 kB / 354.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.1727, allocations: 439.6 kB / 354.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.1738, allocations: 0.9385 MB / 355.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.1751, allocations: 0.7576 MB / 356.3 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007114/0.1822, allocations: 6.007 MB / 362.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.1823, allocations: 0 / 362.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.43e-06/0.1823, allocations: 0 / 362.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003389/0.1827, allocations: 4 kB / 362.3 MB, free: 1.387 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.01199/0.1947, allocations: 3.658 MB / 365.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.1947, allocations: 8.031 kB / 365.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.1971, allocations: 443.2 kB / 366.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005729/0.2029, allocations: 2.25 MB / 368.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008371/0.2037, allocations: 423.2 kB / 369 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.205, allocations: 315.9 kB / 369.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008676/0.2137, allocations: 4.222 MB / 373.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.579e-05/0.2138, allocations: 19.83 kB / 373.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.2141, allocations: 131.8 kB / 373.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/0.2143, allocations: 150.1 kB / 373.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007776/0.2221, allocations: 3.838 MB / 377.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2635/0.4857, allocations: 14.15 MB / 391.8 MB, free: 41.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/0.4896, allocations: 2.174 MB / 394 MB, free: 39.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.49, allocations: 216.5 kB / 394.2 MB, free: 39.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002189/0.4922, allocations: 1.32 MB / 395.5 MB, free: 38.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=186): time 4.579e-06/0.4922, allocations: 0.75 kB / 395.5 MB, free: 38.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.02769/0.5199, allocations: 13.1 MB / 408.6 MB, free: 30.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003098/0.523, allocations: 3.353 MB / 412 MB, free: 27.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.5259, allocations: 2.202 MB / 414.2 MB, free: 25.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004431/0.5264, allocations: 81.69 kB / 414.3 MB, free: 25.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009479/0.5274, allocations: 1.494 MB / 415.8 MB, free: 23.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005862/0.528, allocations: 0.786 MB / 416.6 MB, free: 22.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.5281, allocations: 52 kB / 416.6 MB, free: 22.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5282, allocations: 407.4 kB / 417 MB, free: 22.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.5301, allocations: 1.294 MB / 418.3 MB, free: 21.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.5321, allocations: 1.935 MB / 420.2 MB, free: 18.9 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.5341, allocations: 1.545 MB / 421.8 MB, free: 17.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.5342, allocations: 4 kB / 421.8 MB, free: 17.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005517/0.5397, allocations: 3.893 MB / 425.7 MB, free: 13.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.5397, allocations: 16.03 kB / 425.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.5398, allocations: 16 kB / 425.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.541, allocations: 0.5038 MB / 426.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/0.5435, allocations: 0.6678 MB / 426.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/0.5481, allocations: 4.747 MB / 431.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.5506, allocations: 199 kB / 431.8 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.5509, allocations: 112 kB / 431.9 MB, free: 6.844 MB / 318.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.002426/0.5533, allocations: 1.078 MB / 433 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007179/0.5541, allocations: 264.7 kB / 433.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005862/0.5599, allocations: 3.668 MB / 436.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.56, allocations: 20 kB / 437 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.56, allocations: 4 kB / 437 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.56, allocations: 15.95 kB / 437 MB, free: 1.754 MB / 318.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.0174/0.5774, allocations: 9.345 MB / 446.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.5775, allocations: 4.188 kB / 446.3 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.5794, allocations: 431.4 kB / 446.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/0.5811, allocations: 0.631 MB / 447.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/0.5814, allocations: 51.98 kB / 447.4 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008955/0.5904, allocations: 7.684 MB / 455.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003468/0.5939, allocations: 3.099 MB / 458.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00972/0.6036, allocations: 5.554 MB / 463.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/0.6053, allocations: 0.6265 MB / 464.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005129/0.6058, allocations: 44 kB / 464.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.6074, allocations: 167.8 kB / 464.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/0.6078, allocations: 197.7 kB / 464.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.608, allocations: 67.91 kB / 464.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002366/0.6104, allocations: 1.504 MB / 466.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6104, allocations: 0 / 466.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002989/0.6134, allocations: 0.7759 MB / 467.1 MB, free: 2.832 MB / 350.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.000922/0.6143, allocations: 332.9 kB / 467.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006417/0.6207, allocations: 3.715 MB / 471.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.6208, allocations: 0 / 471.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004499/0.6253, allocations: 2.275 MB / 473.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/0.6288, allocations: 0.5733 MB / 474 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.6426, allocations: 8.432 MB / 482.5 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/0.6449, allocations: 2.447 MB / 484.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002299/0.6472, allocations: 0.5989 MB / 485.5 MB, free: 264 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006625/0.6479, allocations: 191.4 kB / 485.7 MB, free: 72 kB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6479, allocations: 0 / 485.7 MB, free: 72 kB / 366.1 MB Notification: Performance of Templates: time 0.08472/0.7326, allocations: 39.81 MB / 0.5132 GB, free: 8.199 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: