Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001717/0.001717, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.727/1.727, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001825/0.001825, allocations: 110.3 kB / 252.6 MB, free: 4.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2217/0.2217, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.105e-05/4.109e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4291/0.5356, allocations: 82.52 MB / 0.5251 GB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5359, allocations: 61.09 kB / 0.5251 GB, free: 8.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.548, allocations: 4.706 MB / 0.5297 GB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.548, allocations: 0 / 0.5297 GB, free: 4.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.5481, allocations: 8 kB / 0.5297 GB, free: 4.953 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005939/0.5487, allocations: 0.5129 MB / 0.5302 GB, free: 4.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5487, allocations: 12.03 kB / 0.5302 GB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.5488, allocations: 32.72 kB / 0.5303 GB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.549, allocations: 249.6 kB / 0.5305 GB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.5491, allocations: 16.12 kB / 0.5305 GB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.5491, allocations: 31.86 kB / 0.5305 GB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.5495, allocations: 255.2 kB / 0.5308 GB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5495, allocations: 7.844 kB / 0.5308 GB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.5495, allocations: 11.56 kB / 0.5308 GB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.5495, allocations: 11.95 kB / 0.5308 GB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.5497, allocations: 142.2 kB / 0.531 GB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.551, allocations: 1.302 MB / 0.5322 GB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.5512, allocations: 236 kB / 0.5324 GB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.574e-05/0.5513, allocations: 74.62 kB / 0.5325 GB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.5514, allocations: 7.875 kB / 0.5325 GB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.5514, allocations: 42.69 kB / 0.5326 GB, free: 2.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.5514, allocations: 0 / 0.5326 GB, free: 2.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001514/0.5529, allocations: 1.396 MB / 0.5339 GB, free: 0.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.553, allocations: 136.5 kB / 0.5341 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.5531, allocations: 198.4 kB / 0.5343 GB, free: 328 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.5532, allocations: 29.08 kB / 0.5343 GB, free: 296 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.5532, allocations: 180.4 kB / 0.5345 GB, free: 148 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.5533, allocations: 118.3 kB / 0.5346 GB, free: 44 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.5533, allocations: 9.938 kB / 0.5346 GB, free: 40 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5535, allocations: 340.9 kB / 0.5349 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.5536, allocations: 68.75 kB / 0.535 GB, free: 15.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.5539, allocations: 209.3 kB / 0.5352 GB, free: 15.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.554, allocations: 111 kB / 0.5353 GB, free: 15.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5541, allocations: 0 / 0.5353 GB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005155/0.5546, allocations: 331.3 kB / 0.5356 GB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5546, allocations: 7.984 kB / 0.5356 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.5546, allocations: 8 kB / 0.5356 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.5546, allocations: 4 kB / 0.5356 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.555, allocations: 111.8 kB / 0.5357 GB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.5551, allocations: 11.98 kB / 0.5357 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.5553, allocations: 35.05 kB / 0.5358 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.5553, allocations: 19.56 kB / 0.5358 GB, free: 14.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001057/0.5554, allocations: 135.3 kB / 0.5359 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-05/0.5555, allocations: 31.62 kB / 0.5359 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/0.5556, allocations: 30.89 kB / 0.536 GB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5556, allocations: 4 kB / 0.536 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5557, allocations: 4 kB / 0.536 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5557, allocations: 3.953 kB / 0.536 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.5568, allocations: 0.9305 MB / 0.5369 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5569, allocations: 0 / 0.5369 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.5572, allocations: 87.95 kB / 0.537 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5572, allocations: 0 / 0.537 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.5573, allocations: 14.3 kB / 0.537 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.5573, allocations: 7.938 kB / 0.537 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5573, allocations: 0 / 0.537 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.558, allocations: 0.7053 MB / 0.5377 GB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.5581, allocations: 104.8 kB / 0.5378 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.5581, allocations: 3.188 kB / 0.5378 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.5584, allocations: 31.16 kB / 0.5378 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.5585, allocations: 27.2 kB / 0.5378 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.5586, allocations: 12 kB / 0.5378 GB, free: 12.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.5587, allocations: 155.1 kB / 0.538 GB, free: 12.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5587, allocations: 4 kB / 0.538 GB, free: 12.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004437/0.5591, allocations: 66.62 kB / 0.5381 GB, free: 12.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001412/0.5593, allocations: 107.3 kB / 0.5382 GB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.5597, allocations: 222.3 kB / 0.5384 GB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5597, allocations: 3.938 kB / 0.5384 GB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.5598, allocations: 101.9 kB / 0.5385 GB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.5603, allocations: 35.12 kB / 0.5385 GB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.5615, allocations: 0.7249 MB / 0.5392 GB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.5619, allocations: 0.7761 MB / 0.54 GB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.562, allocations: 34.95 kB / 0.54 GB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.5621, allocations: 23.44 kB / 0.54 GB, free: 10.76 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5621, allocations: 0 / 0.54 GB, free: 10.76 MB / 362.7 MB Notification: Performance of Templates: time 0.005299/0.5674, allocations: 2.119 MB / 0.5421 GB, free: 8.68 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe 2>&1)