Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.008273/0.008273, allocations: 100.4 kB / 15.73 MB, free: 6.008 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.001375/0.001376, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.917/1.917, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001914/0.001914, allocations: 50.94 kB / 326.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1241, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003374/0.1275, allocations: 1.646 MB / 374.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1302, allocations: 1.224 MB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.1304, allocations: 8 kB / 376.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.1309, allocations: 19.8 kB / 376.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1311, allocations: 51.69 kB / 376.1 MB, free: 14.35 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.001033/0.1322, allocations: 291.1 kB / 376.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1325, allocations: 179.5 kB / 376.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1326, allocations: 21.12 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.1329, allocations: 87.66 kB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.1331, allocations: 87.7 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.1331, allocations: 12 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005243/0.1337, allocations: 283.5 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.1338, allocations: 55.81 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1339, allocations: 71.52 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007376/0.1347, allocations: 335.2 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1347, allocations: 7.938 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1347, allocations: 0 / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1347, 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.001549/0.1363, allocations: 0.5571 MB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.1364, allocations: 12.03 kB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.1367, allocations: 24.73 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.1373, allocations: 272.8 kB / 378.4 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.1374, allocations: 4.375 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.1374, allocations: 16.31 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.1377, allocations: 105.9 kB / 378.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1377, allocations: 4 kB / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.1378, allocations: 4 kB / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1378, allocations: 4 kB / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.138, allocations: 71.94 kB / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1391, allocations: 464.4 kB / 379 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.1394, allocations: 118.5 kB / 379.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1395, allocations: 56.83 kB / 379.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.1395, allocations: 4 kB / 379.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.1398, allocations: 123.3 kB / 379.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.953e-06/0.1398, allocations: 4 kB / 379.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005183/0.1403, allocations: 229.6 kB / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1404, allocations: 59.39 kB / 379.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.1408, allocations: 247.7 kB / 379.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.1408, allocations: 33.7 kB / 379.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.1409, allocations: 116.1 kB / 380 MB, free: 10.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.141, allocations: 47.59 kB / 380.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.1411, allocations: 45.69 kB / 380.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1412, allocations: 334.8 kB / 380.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1414, allocations: 87.8 kB / 380.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.1416, allocations: 109.6 kB / 380.6 MB, free: 9.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.1419, allocations: 181.6 kB / 380.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1419, allocations: 0 / 380.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004637/0.1424, allocations: 261.2 kB / 381.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1424, allocations: 4 kB / 381.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1424, allocations: 4 kB / 381.1 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.1424, allocations: 0 / 381.1 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.1427, allocations: 35.91 kB / 381.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1427, allocations: 0 / 381.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.1429, allocations: 35.84 kB / 381.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.1429, allocations: 7.938 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.00016/0.1431, allocations: 149.7 kB / 381.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.1432, allocations: 15.81 kB / 381.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.1432, allocations: 17.53 kB / 381.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1432, allocations: 7.922 kB / 381.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1433, allocations: 96 / 381.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.1433, allocations: 3.938 kB / 381.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.1436, allocations: 241.6 kB / 381.6 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.1436, allocations: 3.984 kB / 381.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.1437, allocations: 12 kB / 381.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.1437, allocations: 3.984 kB / 381.6 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1438, allocations: 7.984 kB / 381.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.1438, allocations: 3.938 kB / 381.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1438, allocations: 7.922 kB / 381.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.1443, allocations: 280.7 kB / 381.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1444, allocations: 104.9 kB / 382 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.1444, allocations: 8 kB / 382 MB, free: 8.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1446, allocations: 23.91 kB / 382 MB, free: 8.113 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.1447, allocations: 11.98 kB / 382 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1447, allocations: 0 / 382 MB, free: 8.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003495/0.1451, allocations: 189.4 kB / 382.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.955e-06/0.1451, allocations: 4.062 kB / 382.2 MB, free: 7.914 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004729/0.1456, allocations: 91.92 kB / 382.3 MB, free: 7.824 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.0008153/0.1464, allocations: 278.9 kB / 382.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.1469, allocations: 171.8 kB / 382.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1469, allocations: 0 / 382.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.147, allocations: 67.91 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.0002658/0.1473, allocations: 15.98 kB / 382.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.1481, allocations: 362.5 kB / 383.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.1484, allocations: 0.7318 MB / 383.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.1486, allocations: 41.39 kB / 383.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.1486, allocations: 19.42 kB / 384 MB, free: 6.098 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1486, allocations: 0 / 384 MB, free: 6.098 MB / 318.1 MB Notification: Performance of Templates: time 0.007957/0.1566, allocations: 3.14 MB / 387.1 MB, free: 2.953 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1)