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.001512/0.001512, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.00168/0.001679, allocations: 177.3 kB / 15.95 MB, free: 216 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.759/1.759, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004922/0.0004926, allocations: 22.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3423, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.014/0.3564, allocations: 11.03 MB / 337.5 MB, free: 8.477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.3702, allocations: 5.07 MB / 342.5 MB, free: 3.395 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005193/0.3755, allocations: 59.69 kB / 342.6 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00448/0.38, allocations: 0.7538 MB / 343.4 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008694/0.3888, allocations: 1.036 MB / 344.4 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.393, allocations: 0.62 MB / 345 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.4032, allocations: 2.634 MB / 347.6 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004377/0.4077, allocations: 2.125 MB / 349.8 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.411, allocations: 1.273 MB / 351 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003644/0.4146, allocations: 1.63 MB / 352.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008307/0.4155, allocations: 204 kB / 352.9 MB, free: 9 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.4172, allocations: 439.6 kB / 353.3 MB, free: 8.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.4184, allocations: 0.9425 MB / 354.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.4199, allocations: 0.7537 MB / 355 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007352/0.4273, allocations: 6.007 MB / 361 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4273, allocations: 0 / 361 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.4274, allocations: 0 / 361 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002563/0.4276, allocations: 0 / 361 MB, free: 0.8398 MB / 286.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.01191/0.4395, allocations: 3.662 MB / 364.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.4396, allocations: 8.031 kB / 364.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.4422, allocations: 447.2 kB / 365.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006426/0.4487, allocations: 2.258 MB / 367.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009714/0.4497, allocations: 419.2 kB / 367.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.4515, allocations: 315.9 kB / 368.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.4629, allocations: 4.222 MB / 372.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.463, allocations: 7.906 kB / 372.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003232/0.4634, allocations: 128 kB / 372.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.4636, allocations: 158.1 kB / 372.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009373/0.4729, allocations: 3.846 MB / 376.4 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/0.5041, allocations: 14.16 MB / 390.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/0.5077, allocations: 2.162 MB / 392.8 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/0.5081, allocations: 224.1 kB / 393 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002228/0.5104, allocations: 1.326 MB / 394.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 4.288e-06/0.5104, allocations: 0 / 394.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.03004/0.5404, allocations: 13.11 MB / 407.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004178/0.5446, allocations: 3.346 MB / 410.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/0.5487, allocations: 2.205 MB / 413 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006734/0.5494, allocations: 81.69 kB / 413 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.5511, allocations: 1.493 MB / 414.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.5522, allocations: 0.7817 MB / 415.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.5524, allocations: 56 kB / 415.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.5526, allocations: 407.4 kB / 415.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/0.5551, allocations: 1.294 MB / 417.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/0.5579, allocations: 1.933 MB / 419 MB, free: 5.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.5607, allocations: 1.545 MB / 420.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.5607, allocations: 8 kB / 420.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007348/0.568, allocations: 3.893 MB / 424.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.5681, allocations: 12 kB / 424.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/0.5682, allocations: 16 kB / 424.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.5694, allocations: 0.4956 MB / 425 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.5721, allocations: 0.6709 MB / 425.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005655/0.5777, allocations: 4.744 MB / 430.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.5805, allocations: 199.7 kB / 430.6 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.5808, allocations: 112 kB / 430.7 MB, free: 9.398 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.002953/0.5838, allocations: 1.082 MB / 431.8 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008697/0.5846, allocations: 260.8 kB / 432 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007143/0.5918, allocations: 3.667 MB / 435.7 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.5918, allocations: 20 kB / 435.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.5918, allocations: 4 kB / 435.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.5919, allocations: 15.89 kB / 435.7 MB, free: 4.312 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.01913/0.611, allocations: 9.347 MB / 445.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.6111, allocations: 0 / 445.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/0.6129, allocations: 439.5 kB / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/0.6146, allocations: 0.6277 MB / 446.1 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/0.6148, allocations: 51.98 kB / 446.2 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.6255, allocations: 7.681 MB / 453.9 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2575/0.883, allocations: 3.097 MB / 457 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.8943, allocations: 5.556 MB / 462.5 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/0.8962, allocations: 0.6275 MB / 463.1 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006792/0.8969, allocations: 51.67 kB / 463.2 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.8986, allocations: 165.5 kB / 463.4 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000499/0.8991, allocations: 193.7 kB / 463.5 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.8993, allocations: 62.91 kB / 463.6 MB, free: 105.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002873/0.9022, allocations: 1.501 MB / 465.1 MB, free: 104.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.983e-06/0.9022, allocations: 1.219 kB / 465.1 MB, free: 104.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003892/0.9061, allocations: 0.7828 MB / 465.9 MB, free: 104.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.001232/0.9074, allocations: 327.6 kB / 466.2 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006834/0.9142, allocations: 3.716 MB / 469.9 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.9143, allocations: 3.594 kB / 469.9 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00386/0.9182, allocations: 2.271 MB / 472.2 MB, free: 101.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003363/0.9216, allocations: 0.5807 MB / 472.8 MB, free: 101.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.9357, allocations: 8.419 MB / 481.2 MB, free: 94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/0.9376, allocations: 2.447 MB / 483.6 MB, free: 91.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002274/0.9399, allocations: 0.5873 MB / 484.2 MB, free: 91.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/0.9406, allocations: 203.4 kB / 484.4 MB, free: 90.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.833e-06/0.9406, allocations: 0 / 484.4 MB, free: 90.92 MB / 382.1 MB Notification: Performance of Templates: time 0.06403/1.005, allocations: 39.82 MB / 0.512 GB, free: 51.05 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: