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.001143/0.001143, allocations: 88.08 kB / 16.31 MB, free: 6.457 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.001429/0.001429, allocations: 184.1 kB / 17.21 MB, free: 6.32 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.681/1.681, allocations: 205.4 MB / 223.4 MB, free: 5.488 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.0005321/0.0005324, allocations: 12 kB / 280.1 MB, free: 12.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2925, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01406/0.3066, allocations: 11.97 MB / 339.7 MB, free: 7.516 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.318, allocations: 4.932 MB / 344.6 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.3211, allocations: 71.62 kB / 344.7 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.3241, allocations: 0.7259 MB / 345.4 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.3291, allocations: 0.9359 MB / 346.4 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.3319, allocations: 0.6123 MB / 347 MB, free: 220 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007597/0.3395, allocations: 4.093 MB / 351.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004784/0.3443, allocations: 2.128 MB / 353.2 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.3477, allocations: 1.339 MB / 354.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.3521, allocations: 1.809 MB / 356.3 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.3535, allocations: 208 kB / 356.5 MB, free: 6.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.356, allocations: 467.6 kB / 357 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002047/0.3581, allocations: 0.9734 MB / 358 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002119/0.3602, allocations: 0.7498 MB / 358.7 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008529/0.3688, allocations: 6.089 MB / 364.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.3688, allocations: 0 / 364.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3688, allocations: 4 kB / 364.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002836/0.3691, allocations: 0 / 364.8 MB, free: 14.27 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.01098/0.3801, allocations: 3.681 MB / 368.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.3802, allocations: 8.031 kB / 368.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.3828, allocations: 451.2 kB / 368.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005871/0.3887, allocations: 2.211 MB / 371.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007906/0.3895, allocations: 415.2 kB / 371.6 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.3906, allocations: 323.8 kB / 371.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008773/0.3994, allocations: 4.246 MB / 376.1 MB, free: 2.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-05/0.3995, allocations: 15.89 kB / 376.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/0.3998, allocations: 124 kB / 376.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/0.3999, allocations: 154 kB / 376.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007249/0.4072, allocations: 3.842 MB / 380.3 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02461/0.4318, allocations: 14.23 MB / 394.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/0.4353, allocations: 2.158 MB / 396.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.4375, allocations: 1.318 MB / 398 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/0.4379, allocations: 220.1 kB / 398.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002241/0.4401, allocations: 1.326 MB / 399.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 2.855e-06/0.4402, allocations: 0 / 399.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.0292/0.4694, allocations: 13 MB / 412.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004062/0.4735, allocations: 3.264 MB / 415.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/0.4774, allocations: 2.264 MB / 418 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004941/0.4779, allocations: 81.69 kB / 418.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.4795, allocations: 1.493 MB / 419.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008778/0.4804, allocations: 0.7857 MB / 420.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.4805, allocations: 52 kB / 420.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.4807, allocations: 411.4 kB / 420.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.4831, allocations: 1.286 MB / 422.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/0.4859, allocations: 1.94 MB / 424.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.4887, allocations: 1.546 MB / 425.6 MB, free: 76 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.4887, allocations: 4 kB / 425.6 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007987/0.4967, allocations: 3.877 MB / 429.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/0.4968, allocations: 16 kB / 429.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.895e-05/0.4969, allocations: 20 kB / 429.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.4983, allocations: 0.5069 MB / 430 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/0.501, allocations: 0.6591 MB / 430.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006041/0.5071, allocations: 4.657 MB / 435.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.5097, allocations: 207.8 kB / 435.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/0.51, allocations: 108 kB / 435.7 MB, free: 5.68 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.002736/0.5127, allocations: 1.086 MB / 436.8 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008396/0.5136, allocations: 260.8 kB / 437 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007581/0.5212, allocations: 3.655 MB / 440.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.5212, allocations: 24 kB / 440.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5212, allocations: 0 / 440.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/0.5213, allocations: 20 kB / 440.7 MB, free: 0.5977 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.0168/0.5381, allocations: 9.38 MB / 450.1 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.5381, allocations: 4.188 kB / 450.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/0.5399, allocations: 435.3 kB / 450.5 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.5416, allocations: 0.6316 MB / 451.1 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.5418, allocations: 51.97 kB / 451.2 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2509/0.7927, allocations: 7.47 MB / 458.7 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003854/0.7966, allocations: 3.015 MB / 461.7 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.8076, allocations: 5.425 MB / 467.1 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/0.8097, allocations: 0.6309 MB / 467.7 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/0.81, allocations: 59.8 kB / 467.8 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.8115, allocations: 161.8 kB / 468 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004359/0.8119, allocations: 194.2 kB / 468.1 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.8121, allocations: 66.44 kB / 468.2 MB, free: 103.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002265/0.8143, allocations: 1.548 MB / 469.8 MB, free: 102.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8143, allocations: 0 / 469.8 MB, free: 102.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002533/0.8169, allocations: 0.7873 MB / 470.5 MB, free: 102.7 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.0007654/0.8177, allocations: 336.5 kB / 470.9 MB, free: 102.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005304/0.823, allocations: 3.701 MB / 474.6 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.823, allocations: 0 / 474.6 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003059/0.8261, allocations: 2.274 MB / 476.8 MB, free: 99.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/0.8291, allocations: 0.612 MB / 477.5 MB, free: 98.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.8404, allocations: 8.417 MB / 485.9 MB, free: 90.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.8421, allocations: 2.391 MB / 488.3 MB, free: 88.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002037/0.8441, allocations: 0.5914 MB / 488.9 MB, free: 87.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.8447, allocations: 194.1 kB / 489 MB, free: 87.69 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8447, allocations: 0 / 489 MB, free: 87.69 MB / 382.1 MB Notification: Performance of Templates: time 0.06056/0.9053, allocations: 40.57 MB / 0.5172 GB, free: 47.07 MB / 382.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)