Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001175/0.001175, allocations: 188.5 kB / 8.353 MB, free: 0.707 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.386/1.386, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001603/0.001603, allocations: 110.2 kB / 248.1 MB, free: 6.363 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.532e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07997/0.08, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2705/0.3505, allocations: 73.45 MB / 416 MB, free: 22.35 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.3507, allocations: 74.64 kB / 416.1 MB, free: 22.31 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.3685, allocations: 6.279 MB / 422.4 MB, free: 17 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3685, allocations: 0 / 422.4 MB, free: 17 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.3686, allocations: 4 kB / 422.4 MB, free: 17 MB / 315.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.0008547/0.3694, allocations: 0.4884 MB / 422.9 MB, free: 16.48 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3695, allocations: 8.031 kB / 422.9 MB, free: 16.47 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.3697, allocations: 29.52 kB / 422.9 MB, free: 16.45 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.3701, allocations: 248.7 kB / 423.1 MB, free: 16.18 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3701, allocations: 3.266 kB / 423.1 MB, free: 16.18 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.3702, allocations: 7.984 kB / 423.2 MB, free: 16.17 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001471/0.3703, allocations: 68.39 kB / 423.2 MB, free: 16.12 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3705, allocations: 102.8 kB / 423.3 MB, free: 16.03 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3705, allocations: 0 / 423.3 MB, free: 16.03 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3705, allocations: 3.938 kB / 423.3 MB, free: 16.02 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3705, allocations: 0 / 423.3 MB, free: 16.02 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/0.3712, allocations: 408.3 kB / 423.7 MB, free: 15.64 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.3714, allocations: 105.5 kB / 423.8 MB, free: 15.55 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.3715, allocations: 58.45 kB / 423.9 MB, free: 15.51 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.3715, allocations: 0.9375 kB / 423.9 MB, free: 15.51 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.3717, allocations: 110.1 kB / 424 MB, free: 15.41 MB / 315.1 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.3717, allocations: 0 / 424 MB, free: 15.41 MB / 315.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003181/0.372, allocations: 164.3 kB / 424.2 MB, free: 15.27 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.3721, allocations: 59.28 kB / 424.2 MB, free: 15.2 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3722, allocations: 193.7 kB / 424.4 MB, free: 15.04 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3723, allocations: 33.7 kB / 424.4 MB, free: 15 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.3723, allocations: 110.5 kB / 424.5 MB, free: 14.91 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3724, allocations: 44.44 kB / 424.6 MB, free: 14.87 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.3724, allocations: 3.938 kB / 424.6 MB, free: 14.87 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.3725, allocations: 338 kB / 424.9 MB, free: 14.54 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3726, allocations: 70.91 kB / 425 MB, free: 14.49 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3727, allocations: 90.12 kB / 425.1 MB, free: 14.42 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.3729, allocations: 87.34 kB / 425.2 MB, free: 14.36 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3729, allocations: 0 / 425.2 MB, free: 14.36 MB / 315.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003795/0.3733, allocations: 235.1 kB / 425.4 MB, free: 14.17 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3734, allocations: 4.938 kB / 425.4 MB, free: 14.17 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.3734, allocations: 4 kB / 425.4 MB, free: 14.16 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3734, allocations: 0 / 425.4 MB, free: 14.16 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3736, allocations: 41.91 kB / 425.4 MB, free: 14.12 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3736, allocations: 0 / 425.4 MB, free: 14.12 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.3738, allocations: 24.77 kB / 425.5 MB, free: 14.1 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.3738, allocations: 15.73 kB / 425.5 MB, free: 14.09 MB / 315.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,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.3739, allocations: 116.7 kB / 425.6 MB, free: 13.97 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.374, allocations: 15.81 kB / 425.6 MB, free: 13.95 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.374, allocations: 24.64 kB / 425.6 MB, free: 13.94 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.374, allocations: 4 kB / 425.6 MB, free: 13.93 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.374, allocations: 4 kB / 425.6 MB, free: 13.93 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.374, allocations: 0 / 425.6 MB, free: 13.93 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.3742, allocations: 216.5 kB / 425.9 MB, free: 13.7 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3742, allocations: 2.312 kB / 425.9 MB, free: 13.7 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.3744, allocations: 15.98 kB / 425.9 MB, free: 13.69 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3744, allocations: 0 / 425.9 MB, free: 13.69 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3744, allocations: 7.984 kB / 425.9 MB, free: 13.68 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3744, allocations: 0 / 425.9 MB, free: 13.68 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3744, allocations: 0 / 425.9 MB, free: 13.68 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.3747, allocations: 259.1 kB / 426.1 MB, free: 13.46 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.3748, allocations: 116.2 kB / 426.2 MB, free: 13.34 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.3749, allocations: 7.984 kB / 426.3 MB, free: 13.33 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.375, allocations: 16.73 kB / 426.3 MB, free: 13.31 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.3751, allocations: 11.86 kB / 426.3 MB, free: 13.3 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3751, allocations: 3.984 kB / 426.3 MB, free: 13.3 MB / 315.1 MB Notification: Performance of sorting global known variables: time 9.898e-05/0.3752, allocations: 160.6 kB / 426.4 MB, free: 13.17 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3752, allocations: 0 / 426.4 MB, free: 13.17 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0005134/0.3757, allocations: 111.5 kB / 426.5 MB, free: 13.06 MB / 315.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]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008663/0.3766, allocations: 321 kB / 426.9 MB, free: 12.79 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.3769, allocations: 175.6 kB / 427 MB, free: 12.66 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3769, allocations: 4.062 kB / 427 MB, free: 12.65 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.377, allocations: 55.3 kB / 427.1 MB, free: 12.62 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.3772, allocations: 20.89 kB / 427.1 MB, free: 12.6 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.3777, allocations: 244.4 kB / 427.4 MB, free: 12.36 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.3779, allocations: 0.728 MB / 428.1 MB, free: 11.61 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.378, allocations: 37.17 kB / 428.1 MB, free: 11.57 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.3781, allocations: 19.31 kB / 428.1 MB, free: 11.55 MB / 315.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3781, allocations: 0 / 428.1 MB, free: 11.55 MB / 315.1 MB Notification: Performance of Templates: time 0.006349/0.3844, allocations: 2.972 MB / 431.1 MB, free: 8.613 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1)