Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001405, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001374, allocations: 192 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001077, allocations: 47.67 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.128, allocations: 49.46 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003619/0.1317, allocations: 1.629 MB / 353.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.1341, allocations: 1.198 MB / 354.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1343, allocations: 0 / 354.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.1348, allocations: 35.77 kB / 354.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.1349, allocations: 39.72 kB / 354.4 MB, free: 0.7656 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0007987/0.1357, allocations: 295.1 kB / 354.7 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.136, allocations: 183.5 kB / 354.9 MB, free: 304 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1362, allocations: 17.11 kB / 354.9 MB, free: 288 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1364, allocations: 87.67 kB / 355 MB, free: 200 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007219/0.1371, allocations: 98.94 kB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.1371, allocations: 12 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.1376, allocations: 267.5 kB / 355.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1377, allocations: 51.83 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1378, allocations: 71.56 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.1384, allocations: 335 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1384, allocations: 0 / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1384, allocations: 0 / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1384, allocations: 4 kB / 355.8 MB, free: 15.38 MB / 302.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.001413/0.1398, allocations: 0.5493 MB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.1399, allocations: 15.89 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.1401, allocations: 24.75 kB / 356.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.1406, allocations: 276.7 kB / 356.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.1407, allocations: 7.938 kB / 356.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.1407, allocations: 19.89 kB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.141, allocations: 97.62 kB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.141, allocations: 0 / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.141, allocations: 8 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.141, allocations: 4 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.1412, allocations: 79.88 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009122/0.1422, allocations: 444.6 kB / 357.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.1425, allocations: 122.5 kB / 357.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.1426, allocations: 64.7 kB / 357.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1426, allocations: 4 kB / 357.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.1429, allocations: 123.3 kB / 357.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.1429, allocations: 0 / 357.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005272/0.1434, allocations: 233.5 kB / 357.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.1435, allocations: 59.41 kB / 357.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.144, allocations: 248.7 kB / 358.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.144, allocations: 33.7 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1441, allocations: 116.3 kB / 358.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.1442, allocations: 55.28 kB / 358.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.503e-05/0.1443, allocations: 41.7 kB / 358.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1445, allocations: 334.8 kB / 358.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.1446, allocations: 83.95 kB / 358.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1448, allocations: 105.7 kB / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1452, allocations: 177.5 kB / 359.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1452, allocations: 3.938 kB / 359.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004414/0.1456, allocations: 265.4 kB / 359.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1456, allocations: 4 kB / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1457, allocations: 0 / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.1457, allocations: 0 / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.1459, allocations: 31.92 kB / 359.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1459, allocations: 0 / 359.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1461, allocations: 27.88 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.1461, allocations: 8 kB / 359.4 MB, free: 11.53 MB / 302.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.0001706/0.1463, allocations: 145.7 kB / 359.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.1463, allocations: 23.69 kB / 359.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.1464, allocations: 21.52 kB / 359.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1464, allocations: 0 / 359.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1464, allocations: 4 kB / 359.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1464, allocations: 0 / 359.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.1467, allocations: 237.5 kB / 359.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1467, allocations: 4 kB / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1468, allocations: 23.92 kB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1469, allocations: 4 kB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1469, allocations: 0 / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1469, allocations: 0 / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1469, allocations: 0 / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/0.1474, allocations: 276 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1475, allocations: 113 kB / 360.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.1476, allocations: 12 kB / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1477, allocations: 23.97 kB / 360.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1478, allocations: 7.984 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1478, allocations: 4 kB / 360.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003252/0.1482, allocations: 188.4 kB / 360.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1482, allocations: 0 / 360.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004126/0.1486, allocations: 83.98 kB / 360.6 MB, free: 10.29 MB / 302.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.0006216/0.1492, allocations: 261.4 kB / 360.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.1496, allocations: 175.8 kB / 361 MB, free: 9.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1496, allocations: 4 kB / 361 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1497, allocations: 63.91 kB / 361 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.15, allocations: 22.27 kB / 361.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.1508, allocations: 350.4 kB / 361.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1512, allocations: 0.732 MB / 362.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.194e-05/0.1513, allocations: 29.41 kB / 362.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.1513, allocations: 19.42 kB / 362.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1513, allocations: 0 / 362.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of Templates: time 0.007423/0.1588, allocations: 2.967 MB / 365.2 MB, free: 5.66 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1)