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.01069/0.01069, allocations: 101 kB / 15.73 MB, free: 5.992 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.002312/0.002312, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.629/1.629, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.00118/0.00118, allocations: 54.8 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1219, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003283/0.1253, allocations: 1.649 MB / 374.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1276, allocations: 1.224 MB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1278, allocations: 0 / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.1282, allocations: 31.78 kB / 376.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.1283, allocations: 43.75 kB / 376.1 MB, free: 14.36 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.1291, allocations: 299.1 kB / 376.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.1294, allocations: 175.6 kB / 376.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1295, allocations: 13.12 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1297, allocations: 87.67 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1299, allocations: 99.62 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.1299, allocations: 16 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.1304, allocations: 283.5 kB / 377.1 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1305, allocations: 59.8 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1306, allocations: 63.59 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.1311, allocations: 335.1 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.1312, allocations: 3.984 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1312, allocations: 0 / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.1312, allocations: 0 / 377.5 MB, free: 12.95 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001299/0.1325, allocations: 0.5532 MB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1325, allocations: 12.03 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.1328, allocations: 20.75 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.1332, allocations: 284.8 kB / 378.4 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1333, allocations: 8.375 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.1333, allocations: 12.31 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.1336, allocations: 105.9 kB / 378.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1336, allocations: 0 / 378.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1336, allocations: 0 / 378.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1336, allocations: 4 kB / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.1338, allocations: 75.94 kB / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008527/0.1347, allocations: 464.4 kB / 379 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.1349, allocations: 118.5 kB / 379.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.1351, allocations: 60.83 kB / 379.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1351, allocations: 4 kB / 379.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.1353, allocations: 119.4 kB / 379.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1354, allocations: 4 kB / 379.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005329/0.1359, allocations: 225.5 kB / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.136, allocations: 67.39 kB / 379.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.1364, allocations: 251.7 kB / 379.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.1364, allocations: 33.7 kB / 379.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.842e-05/0.1365, allocations: 112.1 kB / 380 MB, free: 10.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.1366, allocations: 43.59 kB / 380.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-05/0.1367, allocations: 53.67 kB / 380.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1368, allocations: 334.7 kB / 380.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.137, allocations: 91.81 kB / 380.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1372, allocations: 105.6 kB / 380.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.1375, allocations: 177.6 kB / 380.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1375, allocations: 0 / 380.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004169/0.1379, allocations: 261.2 kB / 381.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.138, allocations: 4 kB / 381.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.138, allocations: 8.031 kB / 381.1 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.138, allocations: 0 / 381.1 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.1382, allocations: 39.84 kB / 381.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1382, allocations: 0 / 381.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.1384, allocations: 27.83 kB / 381.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.1384, allocations: 7.984 kB / 381.1 MB, free: 9.086 MB / 318.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.0001462/0.1386, allocations: 145.7 kB / 381.3 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.1386, allocations: 19.81 kB / 381.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.1387, allocations: 17.53 kB / 381.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.1387, allocations: 3.938 kB / 381.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1387, allocations: 96 / 381.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1387, allocations: 7.922 kB / 381.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.139, allocations: 229.6 kB / 381.6 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.139, allocations: 4 kB / 381.6 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.1391, allocations: 23.92 kB / 381.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1391, allocations: 0 / 381.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.1391, allocations: 7.984 kB / 381.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.1391, allocations: 7.938 kB / 381.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1392, allocations: 3.984 kB / 381.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.1396, allocations: 280.6 kB / 381.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.1397, allocations: 104.9 kB / 382 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.1398, allocations: 8 kB / 382 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.14, allocations: 23.91 kB / 382 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.14, allocations: 12.05 kB / 382 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.14, allocations: 0 / 382 MB, free: 8.105 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003182/0.1404, allocations: 193.4 kB / 382.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1404, allocations: 0 / 382.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.1408, allocations: 87.98 kB / 382.3 MB, free: 7.832 MB / 318.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.0006925/0.1415, allocations: 282.9 kB / 382.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.1419, allocations: 171.8 kB / 382.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1419, allocations: 0 / 382.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.142, allocations: 71.89 kB / 382.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1423, allocations: 19.98 kB / 382.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.143, allocations: 358.5 kB / 383.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1433, allocations: 0.7318 MB / 383.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.859e-05/0.1434, allocations: 33.39 kB / 383.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.1435, allocations: 23.44 kB / 384 MB, free: 6.102 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1435, allocations: 3.938 kB / 384 MB, free: 6.098 MB / 318.1 MB Notification: Performance of Templates: time 0.007706/0.1512, allocations: 3.148 MB / 387.1 MB, free: 2.945 MB / 318.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)