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.001287/0.001287, allocations: 98.81 kB / 16.5 MB, free: 6.641 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.00127/0.00127, allocations: 194.6 kB / 17.42 MB, free: 6.066 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.795/1.795, allocations: 205.1 MB / 223.3 MB, free: 12.44 MB / 190.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.001415/0.001415, allocations: 51.88 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1241, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01456/0.1387, allocations: 13.41 MB / 339.4 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.1514, allocations: 5.175 MB / 344.5 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004351/0.1558, allocations: 67.69 kB / 344.6 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.1603, allocations: 0.8118 MB / 345.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005967/0.1663, allocations: 1.006 MB / 346.4 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.17, allocations: 0.8935 MB / 347.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008789/0.1788, allocations: 4.455 MB / 351.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004306/0.1832, allocations: 2.608 MB / 354.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003586/0.1868, allocations: 1.561 MB / 356 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/0.1904, allocations: 2.121 MB / 358.1 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007713/0.1911, allocations: 292 kB / 358.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.1933, allocations: 0.5854 MB / 358.9 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.1948, allocations: 1.122 MB / 360.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002774/0.1976, allocations: 1.975 MB / 362 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006678/0.2043, allocations: 7.178 MB / 369.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2043, allocations: 0 / 369.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2043, allocations: 0 / 369.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001719/0.2045, allocations: 0 / 369.2 MB, free: 9.398 MB / 318.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.01091/0.2154, allocations: 4.352 MB / 373.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.2155, allocations: 12.03 kB / 373.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.2171, allocations: 440.1 kB / 374 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/0.2218, allocations: 2.288 MB / 376.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006848/0.2225, allocations: 403.2 kB / 376.7 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005817/0.2231, allocations: 319.8 kB / 377 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2277/0.4508, allocations: 4.24 MB / 381.2 MB, free: 47.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.451, allocations: 12.97 kB / 381.3 MB, free: 47.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/0.4513, allocations: 129.9 kB / 381.4 MB, free: 47.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.4515, allocations: 147.7 kB / 381.5 MB, free: 47.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009509/0.461, allocations: 3.819 MB / 385.3 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03494/0.496, allocations: 14.16 MB / 399.5 MB, free: 37.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.4995, allocations: 2.144 MB / 401.7 MB, free: 35.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.5017, allocations: 1.289 MB / 402.9 MB, free: 35.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.5021, allocations: 219 kB / 403.2 MB, free: 34.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002076/0.5042, allocations: 1.29 MB / 404.4 MB, free: 34.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=186): time 4.278e-06/0.5042, allocations: 0 / 404.4 MB, free: 34.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.02765/0.5318, allocations: 12.78 MB / 417.2 MB, free: 22.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003371/0.5353, allocations: 3.259 MB / 420.5 MB, free: 18.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/0.5398, allocations: 2.292 MB / 422.8 MB, free: 16.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005439/0.5403, allocations: 77.7 kB / 422.9 MB, free: 16.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.5417, allocations: 1.497 MB / 424.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008902/0.5426, allocations: 0.7847 MB / 425.1 MB, free: 13.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009924/0.5436, allocations: 477.3 kB / 425.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.5436, allocations: 305.1 kB / 425.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/0.5458, allocations: 1.293 MB / 427.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.5482, allocations: 1.932 MB / 429.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004299/0.5525, allocations: 3.288 MB / 432.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.5526, allocations: 8 kB / 432.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006082/0.5586, allocations: 3.887 MB / 436.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.5587, allocations: 12 kB / 436.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.5587, allocations: 20 kB / 436.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.5599, allocations: 0.4993 MB / 436.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/0.5621, allocations: 0.6474 MB / 437.5 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005614/0.5677, allocations: 4.641 MB / 442.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.5701, allocations: 199.8 kB / 442.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.5703, allocations: 108 kB / 442.4 MB, free: 11.79 MB / 334.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,globalSeed.id_impure,globalSeed.seed,motor.uniformNoise.actualGlobalSeed,motor.uniformNoise.localSeed,gearbox.lossyGear.ideal,gearbox.lossyGear.mode,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.locked,gearbox.lossyGear.startBackward,gearbox.lossyGear.startForward,gearbox.lossyGear.tau_aPos,motor.uniformNoise.r_raw,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r,$PRE.motor.uniformNoise.r,motor.uniformNoise.state[4],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[1]) * 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.001896/0.5722, allocations: 1.09 MB / 443.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005704/0.5728, allocations: 256.8 kB / 443.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006522/0.5793, allocations: 3.612 MB / 447.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.5793, allocations: 24 kB / 447.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5794, allocations: 0 / 447.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/0.5794, allocations: 15.95 kB / 447.4 MB, free: 6.75 MB / 334.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.01752/0.5969, allocations: 9.318 MB / 456.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.597, allocations: 4.188 kB / 456.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.5988, allocations: 419.4 kB / 457.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.6004, allocations: 0.62 MB / 457.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.6005, allocations: 59.97 kB / 457.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008474/0.609, allocations: 7.478 MB / 465.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003484/0.6125, allocations: 3.029 MB / 468.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009851/0.6224, allocations: 5.371 MB / 473.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.6239, allocations: 0.615 MB / 474.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.6243, allocations: 55.98 kB / 474.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.6257, allocations: 139.8 kB / 474.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005869/0.6263, allocations: 189.8 kB / 474.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/0.6265, allocations: 71.91 kB / 474.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002487/0.629, allocations: 1.559 MB / 476.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.629, allocations: 0 / 476.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002569/0.6316, allocations: 0.7837 MB / 477.1 MB, free: 8.355 MB / 366.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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008418/0.6325, allocations: 372.6 kB / 477.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005831/0.6383, allocations: 3.683 MB / 481.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6383, allocations: 0 / 481.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003651/0.642, allocations: 2.247 MB / 483.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.645, allocations: 0.6007 MB / 484 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.6595, allocations: 8.598 MB / 492.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/0.6617, allocations: 2.377 MB / 495 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002136/0.6638, allocations: 0.5952 MB / 495.6 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006757/0.6645, allocations: 195.4 kB / 495.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6645, allocations: 0 / 495.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of Templates: time 0.07416/0.7387, allocations: 42.32 MB / 0.5255 GB, free: 11.12 MB / 430.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)