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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001078/0.001078, allocations: 187.2 kB / 8.133 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.16/1.16, allocations: 194.2 MB / 202.8 MB, free: 8.812 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001791/0.001792, allocations: 116.6 kB / 247.7 MB, free: 6.227 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.388e-06/9.408e-06, allocations: 4 kB / 297.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.08788, allocations: 44.49 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2983/0.3862, allocations: 118.4 MB / 460.5 MB, free: 9.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.3866, allocations: 78.77 kB / 460.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3968/0.7834, allocations: 77.58 MB / 0.5255 GB, free: 56.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004305/0.7838, allocations: 86.95 kB / 0.5256 GB, free: 56.81 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.01071/0.7946, allocations: 3.281 MB / 0.5288 GB, free: 55.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.7946, allocations: 7.688 kB / 0.5288 GB, free: 55.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002935/0.7976, allocations: 462.1 kB / 0.5292 GB, free: 55.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007476/0.8051, allocations: 2.56 MB / 0.5317 GB, free: 54.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000585/0.8057, allocations: 258.4 kB / 0.532 GB, free: 54.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/0.8075, allocations: 189.7 kB / 0.5322 GB, free: 54.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008599/0.8161, allocations: 3.326 MB / 0.5354 GB, free: 54.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009775/0.8259, allocations: 3.672 MB / 0.539 GB, free: 54.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/0.8261, allocations: 14.94 kB / 0.539 GB, free: 54.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00079/0.8269, allocations: 3.375 kB / 0.539 GB, free: 54.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.8271, allocations: 142.9 kB / 0.5392 GB, free: 54.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02779/0.8549, allocations: 13.35 MB / 0.5522 GB, free: 51.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.8574, allocations: 1.33 MB / 0.5535 GB, free: 51.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/0.8595, allocations: 1.214 MB / 0.5547 GB, free: 51.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/0.86, allocations: 227.9 kB / 0.5549 GB, free: 50.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/0.8621, allocations: 1.205 MB / 0.5561 GB, free: 50.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=196): time 7.514e-06/0.8622, allocations: 0 / 0.5561 GB, free: 50.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=249): time 0.02187/0.884, allocations: 9.473 MB / 0.5653 GB, free: 47.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.8842, allocations: 191.2 kB / 0.5655 GB, free: 47.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00376/0.888, allocations: 1.635 MB / 0.5671 GB, free: 46.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004741/0.8884, allocations: 37.45 kB / 0.5671 GB, free: 46.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.8896, allocations: 1.154 MB / 0.5683 GB, free: 45.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.8906, allocations: 0.8041 MB / 0.5691 GB, free: 45.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003408/0.891, allocations: 3.938 kB / 0.5691 GB, free: 45.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.8912, allocations: 410.2 kB / 0.5694 GB, free: 44.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.8932, allocations: 1.25 MB / 0.5707 GB, free: 44.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/0.8956, allocations: 1.86 MB / 0.5725 GB, free: 43.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/0.8982, allocations: 1.534 MB / 0.574 GB, free: 42.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/0.8982, allocations: 3.875 kB / 0.574 GB, free: 42.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.007142/0.9054, allocations: 3.654 MB / 0.5776 GB, free: 41.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.9054, allocations: 5.938 kB / 0.5776 GB, free: 41.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.555e-05/0.9055, allocations: 26.91 kB / 0.5776 GB, free: 41.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.9068, allocations: 496.8 kB / 0.5781 GB, free: 40.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003359/0.9102, allocations: 0.6816 MB / 0.5787 GB, free: 40.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005783/0.9161, allocations: 4.247 MB / 0.5829 GB, free: 37.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/0.919, allocations: 123.1 kB / 0.583 GB, free: 37.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007215/0.9198, allocations: 112 kB / 0.5831 GB, free: 37.52 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gearbox.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gearbox.lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 315 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.00109/0.9209, allocations: 186 kB / 0.5833 GB, free: 37.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008754/0.9218, allocations: 242.4 kB / 0.5835 GB, free: 37.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007451/0.9292, allocations: 3.415 MB / 0.5868 GB, free: 35.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/0.9293, allocations: 22.94 kB / 0.5869 GB, free: 35.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.442e-05/0.9293, allocations: 6.844 kB / 0.5869 GB, free: 35.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/0.9294, allocations: 11.06 kB / 0.5869 GB, free: 35.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/0.9502, allocations: 8.91 MB / 0.5956 GB, free: 32.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.9503, allocations: 2.125 kB / 0.5956 GB, free: 32.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002613/0.9529, allocations: 478.9 kB / 0.596 GB, free: 31.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/0.955, allocations: 0.6468 MB / 0.5967 GB, free: 31.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004091/0.9554, allocations: 22.59 kB / 0.5967 GB, free: 31.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008853/0.9643, allocations: 7.14 MB / 0.6037 GB, free: 26.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003545/0.9679, allocations: 3.089 MB / 0.6067 GB, free: 24.57 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009661/0.9776, allocations: 5.333 MB / 0.6119 GB, free: 22.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/0.9795, allocations: 0.6196 MB / 0.6125 GB, free: 21.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000943/0.9805, allocations: 21.12 kB / 0.6125 GB, free: 21.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.9826, allocations: 106.1 kB / 0.6126 GB, free: 21.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004348/0.9831, allocations: 158.4 kB / 0.6128 GB, free: 21.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/0.9833, allocations: 71 kB / 0.6128 GB, free: 21.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002503/0.9859, allocations: 1.219 MB / 0.614 GB, free: 21.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004082/0.99, allocations: 0.7304 MB / 0.6147 GB, free: 21.1 MB / 394.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 201 * 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%) 11} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/0.9916, allocations: 0.5501 MB / 0.6153 GB, free: 20.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006164/0.9978, allocations: 3.479 MB / 0.6187 GB, free: 19.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.9979, allocations: 4 kB / 0.6187 GB, free: 19.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003954/1.002, allocations: 2.063 MB / 0.6207 GB, free: 17.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.005, allocations: 465.3 kB / 0.6211 GB, free: 17.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/1.022, allocations: 5.895 MB / 0.6269 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005027/1.027, allocations: 2.626 MB / 0.6295 GB, free: 9.875 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/1.027, allocations: 0 / 0.6295 GB, free: 9.875 MB / 394.7 MB Notification: Performance of Templates: time 0.2294/1.256, allocations: 40.03 MB / 0.6685 GB, free: 120.2 MB / 410.7 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)