Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_3.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.001471/0.001471, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00189/0.00189, allocations: 168.7 kB / 15.95 MB, free: 204 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.947/1.947, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004998/0.0005002, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3631, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01403/0.3772, allocations: 11.97 MB / 338.5 MB, free: 7.484 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3898, allocations: 4.924 MB / 343.4 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.3933, allocations: 71.62 kB / 343.4 MB, free: 2.477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.3967, allocations: 0.7336 MB / 344.2 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005326/0.402, allocations: 0.9281 MB / 345.1 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.4047, allocations: 0.6123 MB / 345.7 MB, free: 196 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007845/0.4126, allocations: 4.1 MB / 349.8 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004809/0.4174, allocations: 2.129 MB / 351.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.4207, allocations: 1.339 MB / 353.3 MB, free: 8.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.4245, allocations: 1.809 MB / 355.1 MB, free: 6.746 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.4257, allocations: 208 kB / 355.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.4282, allocations: 459.6 kB / 355.7 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002977/0.4312, allocations: 0.9774 MB / 356.7 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002695/0.4339, allocations: 0.7576 MB / 357.5 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008974/0.4429, allocations: 6.081 MB / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4429, allocations: 0 / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4429, allocations: 0 / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002647/0.4432, 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.01082/0.454, allocations: 3.681 MB / 367.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.4541, allocations: 12.03 kB / 367.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.4574, allocations: 447.2 kB / 367.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008701/0.4661, allocations: 2.207 MB / 369.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008072/0.467, allocations: 427.1 kB / 370.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009368/0.4679, allocations: 319.8 kB / 370.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00971/0.4777, allocations: 4.242 MB / 374.9 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.604e-05/0.4778, allocations: 15.89 kB / 374.9 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/0.4782, allocations: 131.9 kB / 375 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.4784, allocations: 146.1 kB / 375.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007415/0.4858, allocations: 3.85 MB / 379 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02625/0.512, allocations: 14.24 MB / 393.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003712/0.5158, allocations: 2.162 MB / 395.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/0.5182, allocations: 1.306 MB / 396.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/0.5186, allocations: 228.1 kB / 396.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002433/0.521, allocations: 1.314 MB / 398.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 1.05e-05/0.5211, allocations: 0 / 398.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.03453/0.5556, allocations: 13.01 MB / 411.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004509/0.5602, allocations: 3.26 MB / 414.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005239/0.5655, allocations: 2.26 MB / 416.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005814/0.5661, allocations: 81.69 kB / 416.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.5679, allocations: 1.497 MB / 418.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.5691, allocations: 0.7779 MB / 419.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.5695, allocations: 52.66 kB / 419.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000307/0.5698, allocations: 407.4 kB / 419.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00277/0.5726, allocations: 1.294 MB / 420.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/0.5757, allocations: 1.937 MB / 422.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003074/0.5788, allocations: 1.549 MB / 424.4 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/0.5788, allocations: 8 kB / 424.4 MB, free: 44 kB / 350.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008319/0.5871, allocations: 3.885 MB / 428.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.5872, allocations: 15.94 kB / 428.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/0.5873, allocations: 16 kB / 428.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.5887, allocations: 0.4995 MB / 428.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/0.5914, allocations: 0.6708 MB / 429.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00652/0.5979, allocations: 4.651 MB / 434.1 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/0.6011, allocations: 199.8 kB / 434.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006391/0.6017, 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.004388/0.6061, allocations: 1.09 MB / 435.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/0.6076, allocations: 256.8 kB / 435.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009197/0.6168, allocations: 3.659 MB / 439.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/0.6169, allocations: 24 kB / 439.4 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.701e-05/0.6169, allocations: 0 / 439.4 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.805e-05/0.617, allocations: 11.95 kB / 439.4 MB, free: 0.5781 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.02238/0.6394, allocations: 9.388 MB / 448.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.6395, allocations: 4 kB / 448.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/0.6414, allocations: 427.6 kB / 449.3 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/0.6433, allocations: 0.6354 MB / 449.9 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003194/0.6437, allocations: 55.97 kB / 449.9 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2865/0.9302, allocations: 7.47 MB / 457.4 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00361/0.9339, allocations: 3.013 MB / 460.4 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009228/0.9431, allocations: 5.438 MB / 465.9 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/0.9448, allocations: 0.6317 MB / 466.5 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000398/0.9452, allocations: 50.69 kB / 466.5 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.9465, allocations: 164.8 kB / 466.7 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004029/0.9469, allocations: 194.2 kB / 466.9 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.9471, allocations: 66.78 kB / 467 MB, free: 103.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002086/0.9492, allocations: 1.539 MB / 468.5 MB, free: 102.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9492, allocations: 3.812 kB / 468.5 MB, free: 102.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002596/0.9518, allocations: 0.7879 MB / 469.3 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.0007786/0.9526, allocations: 328.9 kB / 469.6 MB, free: 102.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005747/0.9583, allocations: 3.699 MB / 473.3 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.9583, allocations: 0 / 473.3 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003364/0.9617, allocations: 2.276 MB / 475.6 MB, free: 99.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/0.9656, allocations: 0.6188 MB / 476.2 MB, free: 98.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.9776, allocations: 8.421 MB / 484.6 MB, free: 90.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.9794, allocations: 2.381 MB / 487 MB, free: 88.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002309/0.9817, allocations: 0.5953 MB / 487.6 MB, free: 87.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/0.9823, allocations: 198.2 kB / 487.8 MB, free: 87.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.994e-06/0.9823, allocations: 0 / 487.8 MB, free: 87.62 MB / 382.1 MB Notification: Performance of Templates: time 0.05985/1.042, allocations: 40.57 MB / 0.516 GB, free: 47 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1)