Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.00104, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0104/0.0104, allocations: 170 kB / 16.26 MB, free: 6.613 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.898/1.898, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0008169/0.000817, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3432, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001923/0.3452, allocations: 1.378 MB / 328.4 MB, free: 328 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.3476, allocations: 1.237 MB / 329.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3477, allocations: 1.094 kB / 329.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.3481, allocations: 23.59 kB / 329.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.3482, allocations: 31.94 kB / 329.7 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/0.3491, allocations: 252.3 kB / 329.9 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.3493, allocations: 171.8 kB / 330.1 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3494, allocations: 21.38 kB / 330.1 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.3496, allocations: 73.78 kB / 330.2 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.3498, allocations: 88.36 kB / 330.3 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.3498, allocations: 6.688 kB / 330.3 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.3504, allocations: 307.6 kB / 330.6 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-05/0.3505, allocations: 47.91 kB / 330.6 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3507, allocations: 90.8 kB / 330.7 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.3512, allocations: 332.6 kB / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3512, allocations: 1.438 kB / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3512, allocations: 0 / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3512, allocations: 0 / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001287/0.3525, allocations: 0.535 MB / 331.6 MB, free: 13.99 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.3526, allocations: 9.438 kB / 331.6 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.3528, allocations: 27.17 kB / 331.6 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.3533, allocations: 270 kB / 331.9 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.3534, allocations: 7.266 kB / 331.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.3534, allocations: 9.875 kB / 331.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.3537, allocations: 113.4 kB / 332 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3537, allocations: 5.031 kB / 332 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3537, allocations: 0 / 332 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3537, allocations: 10 kB / 332 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.354, allocations: 90.8 kB / 332.1 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009807/0.355, allocations: 443.9 kB / 332.6 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.3553, allocations: 133 kB / 332.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.3555, allocations: 63.36 kB / 332.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3555, allocations: 1.406 kB / 332.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.3558, allocations: 120.8 kB / 332.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 3.878e-06/0.3558, allocations: 96 / 332.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005966/0.3564, allocations: 238.9 kB / 333.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.3565, allocations: 60.66 kB / 333.2 MB, free: 12.8 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.357, allocations: 246.1 kB / 333.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.539e-05/0.357, allocations: 43.41 kB / 333.4 MB, free: 12.58 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3572, allocations: 114.6 kB / 333.6 MB, free: 12.47 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.3572, allocations: 50.2 kB / 333.6 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.3573, allocations: 30.42 kB / 333.6 MB, free: 12.4 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3575, allocations: 331.7 kB / 334 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.3577, allocations: 88.69 kB / 334 MB, free: 12.03 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.3579, allocations: 115.6 kB / 334.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.3583, allocations: 181.2 kB / 334.3 MB, free: 11.83 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3583, allocations: 4 kB / 334.3 MB, free: 11.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004341/0.3587, allocations: 253.3 kB / 334.6 MB, free: 11.57 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3587, allocations: 12.03 kB / 334.6 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.3588, allocations: 0 / 334.6 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3588, allocations: 3.938 kB / 334.6 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.359, allocations: 35.91 kB / 334.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.359, allocations: 0 / 334.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3592, allocations: 31.88 kB / 334.7 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3593, allocations: 11.94 kB / 334.7 MB, free: 11.48 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.3594, allocations: 141.6 kB / 334.8 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.3595, allocations: 15.72 kB / 334.8 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.3595, allocations: 21.53 kB / 334.9 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3595, allocations: 7.922 kB / 334.9 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3595, allocations: 0 / 334.9 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3596, allocations: 3.984 kB / 334.9 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3598, allocations: 241.6 kB / 335.1 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3599, allocations: 7.922 kB / 335.1 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.36, allocations: 15.94 kB / 335.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.36, allocations: 4 kB / 335.1 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.36, allocations: 7.984 kB / 335.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.36, allocations: 3.938 kB / 335.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.36, allocations: 0 / 335.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.3605, allocations: 268.8 kB / 335.4 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.3606, allocations: 120.9 kB / 335.5 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.3607, allocations: 4 kB / 335.5 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3609, allocations: 23.91 kB / 335.5 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.3609, allocations: 15.92 kB / 335.6 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3609, allocations: 0 / 335.6 MB, free: 10.5 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003073/0.3613, allocations: 189.4 kB / 335.7 MB, free: 10.32 MB / 270.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3613, allocations: 4 kB / 335.8 MB, free: 10.31 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000434/0.3617, allocations: 91.98 kB / 335.8 MB, free: 10.22 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007107/0.3624, allocations: 284.6 kB / 336.1 MB, free: 9.941 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003937/0.3628, allocations: 175.8 kB / 336.3 MB, free: 9.77 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3628, allocations: 0 / 336.3 MB, free: 9.77 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.363, allocations: 75.89 kB / 336.4 MB, free: 9.695 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3633, allocations: 23.84 kB / 336.4 MB, free: 9.672 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.364, allocations: 404.6 kB / 336.8 MB, free: 9.25 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3643, allocations: 0.7283 MB / 337.5 MB, free: 8.496 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.3644, allocations: 37.39 kB / 337.5 MB, free: 8.457 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.3645, allocations: 19.62 kB / 337.6 MB, free: 8.438 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3645, allocations: 0 / 337.6 MB, free: 8.438 MB / 270.1 MB Notification: Performance of Templates: time 0.007466/0.372, allocations: 2.983 MB / 340.5 MB, free: 5.453 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1)