Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_3.2.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.000782/0.000782, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007369/0.0007369, allocations: 172.7 kB / 15.95 MB, free: 208 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.549/1.549, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.0004449/0.000445, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2175, allocations: 47.59 MB / 326.5 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01275/0.2303, allocations: 11.97 MB / 338.4 MB, free: 7.484 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.2423, allocations: 4.924 MB / 343.4 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002983/0.2454, allocations: 67.62 kB / 343.4 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.248, allocations: 0.7336 MB / 344.2 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004361/0.2524, allocations: 0.932 MB / 345.1 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.2549, allocations: 0.6123 MB / 345.7 MB, free: 196 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006281/0.2611, allocations: 4.096 MB / 349.8 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005782/0.267, allocations: 2.125 MB / 351.9 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.2711, allocations: 1.342 MB / 353.3 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005069/0.2761, allocations: 1.809 MB / 355.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.2773, allocations: 204 kB / 355.3 MB, free: 6.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.2797, allocations: 467.6 kB / 355.7 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.2814, allocations: 0.9695 MB / 356.7 MB, free: 5.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.2832, allocations: 0.7576 MB / 357.5 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.2941, allocations: 6.085 MB / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.2941, allocations: 0 / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.2942, allocations: 4 kB / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002406/0.2944, allocations: 0 / 363.6 MB, free: 14.25 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.0174/0.3118, allocations: 3.674 MB / 367.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/0.3119, allocations: 8.031 kB / 367.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/0.3159, allocations: 455.2 kB / 367.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008451/0.3244, allocations: 2.219 MB / 369.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001528/0.326, allocations: 419.2 kB / 370.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/0.3279, allocations: 319.8 kB / 370.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/0.3485, allocations: 4.25 MB / 374.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002415/0.3488, allocations: 11.89 kB / 374.9 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00128/0.3501, allocations: 128 kB / 375 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003271/0.3505, allocations: 146.1 kB / 375.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.3672, allocations: 3.854 MB / 379 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/0.4149, allocations: 14.23 MB / 393.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007063/0.422, allocations: 2.166 MB / 395.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004489/0.4265, allocations: 1.306 MB / 396.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/0.4271, allocations: 224 kB / 396.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004389/0.4315, allocations: 1.318 MB / 398.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 7.003e-06/0.4316, allocations: 0 / 398.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.05145/0.483, allocations: 13 MB / 411.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003915/0.487, allocations: 3.252 MB / 414.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004947/0.4919, allocations: 2.268 MB / 416.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003677/0.4923, allocations: 81.69 kB / 416.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.4939, allocations: 1.497 MB / 418.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000936/0.4949, allocations: 0.7896 MB / 419.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.4951, allocations: 52 kB / 419.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.4953, allocations: 408 kB / 419.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/0.4977, allocations: 1.29 MB / 420.9 MB, free: 3.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/0.5007, allocations: 1.941 MB / 422.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/0.5035, allocations: 1.541 MB / 424.4 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-05/0.5035, allocations: 4 kB / 424.4 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007203/0.5107, allocations: 3.881 MB / 428.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.5108, allocations: 12.38 kB / 428.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.054e-05/0.5108, allocations: 27.94 kB / 428.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.5122, allocations: 0.503 MB / 428.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/0.5148, allocations: 0.6591 MB / 429.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00648/0.5213, allocations: 4.654 MB / 434.1 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.5238, allocations: 203.8 kB / 434.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003527/0.5241, allocations: 108 kB / 434.4 MB, free: 5.656 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.002444/0.5266, allocations: 1.086 MB / 435.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007289/0.5273, allocations: 256.8 kB / 435.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007538/0.5349, allocations: 3.655 MB / 439.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.5349, allocations: 20 kB / 439.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.5349, allocations: 4 kB / 439.4 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.535, allocations: 11.95 kB / 439.4 MB, free: 0.5859 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.01838/0.5534, allocations: 9.388 MB / 448.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.5534, allocations: 4.188 kB / 448.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/0.5553, allocations: 439.4 kB / 449.3 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.557, allocations: 0.6238 MB / 449.9 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.5573, allocations: 55.97 kB / 449.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2088/0.7661, allocations: 7.476 MB / 457.4 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003196/0.7693, allocations: 3.023 MB / 460.4 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008471/0.7778, allocations: 5.433 MB / 465.9 MB, free: 104 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.7791, allocations: 0.6314 MB / 466.5 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.7794, allocations: 54.86 kB / 466.5 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.7807, allocations: 160.9 kB / 466.7 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003862/0.7811, allocations: 199.3 kB / 466.9 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.7812, allocations: 62.98 kB / 467 MB, free: 103.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002025/0.7833, allocations: 1.542 MB / 468.5 MB, free: 103 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7833, allocations: 0 / 468.5 MB, free: 103 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002109/0.7854, allocations: 0.7912 MB / 469.3 MB, free: 102.9 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.0006656/0.7861, allocations: 328.1 kB / 469.6 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004823/0.7909, allocations: 3.7 MB / 473.3 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7909, allocations: 0 / 473.3 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00287/0.7938, allocations: 2.271 MB / 475.6 MB, free: 99.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.7965, allocations: 0.6232 MB / 476.2 MB, free: 99.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.8077, allocations: 8.427 MB / 484.6 MB, free: 91.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.8094, allocations: 2.377 MB / 487 MB, free: 89.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002222/0.8117, allocations: 0.5914 MB / 487.6 MB, free: 88.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/0.8123, allocations: 195.4 kB / 487.8 MB, free: 88.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.846e-06/0.8124, allocations: 4 kB / 487.8 MB, free: 88.39 MB / 382.1 MB Notification: Performance of Templates: time 0.05815/0.8705, allocations: 40.55 MB / 0.516 GB, free: 47.79 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1)