Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.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.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction") translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001597/0.001597, allocations: 187.3 kB / 7.654 MB, free: 1.402 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.617/1.617, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001584/0.001584, allocations: 117.1 kB / 247.4 MB, free: 6.219 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.1806/0.1806, allocations: 39.93 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.573e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08753, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3555/0.4431, allocations: 87.74 MB / 0.5234 GB, free: 9.383 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.4433, allocations: 70.38 kB / 0.5234 GB, free: 9.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03261/0.476, allocations: 13.18 MB / 0.5363 GB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.476, allocations: 0 / 0.5363 GB, free: 1.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.102e-05/0.4761, allocations: 12 kB / 0.5363 GB, free: 1.008 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001141/0.4772, allocations: 0.8174 MB / 0.5371 GB, free: 192 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4773, allocations: 11.97 kB / 0.5371 GB, free: 180 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.4774, allocations: 79.06 kB / 0.5372 GB, free: 100 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007353/0.4781, allocations: 460.2 kB / 0.5376 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.4782, allocations: 16.34 kB / 0.5377 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.4783, allocations: 39.36 kB / 0.5377 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004909/0.4788, allocations: 272.7 kB / 0.538 GB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.4794, allocations: 382.5 kB / 0.5383 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.4794, allocations: 3.938 kB / 0.5383 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.4795, allocations: 0 / 0.5383 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4795, allocations: 12 kB / 0.5383 GB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.4826, allocations: 1.698 MB / 0.54 GB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.4832, allocations: 339.1 kB / 0.5403 GB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.4834, allocations: 122.7 kB / 0.5404 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.4834, allocations: 4 kB / 0.5404 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.4835, allocations: 38.5 kB / 0.5405 GB, free: 13.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.074e-06/0.4835, allocations: 4 kB / 0.5405 GB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.0006161/0.4841, allocations: 314.7 kB / 0.5408 GB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.4842, allocations: 110.8 kB / 0.5409 GB, free: 13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.4846, allocations: 369.8 kB / 0.5412 GB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.4846, allocations: 33.69 kB / 0.5413 GB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4848, allocations: 300.7 kB / 0.5416 GB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.4849, allocations: 149 kB / 0.5417 GB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.485, allocations: 0 / 0.5417 GB, free: 12.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4851, allocations: 374 kB / 0.5421 GB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.4853, allocations: 118.1 kB / 0.5422 GB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.4856, allocations: 247.6 kB / 0.5424 GB, free: 11.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.4858, allocations: 144.9 kB / 0.5425 GB, free: 11.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4859, allocations: 0.5625 kB / 0.5425 GB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006535/0.4865, allocations: 442.3 kB / 0.543 GB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006114/0.4871, allocations: 1.402 MB / 0.5443 GB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4872, allocations: 4 kB / 0.5443 GB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.4872, allocations: 8 kB / 0.5443 GB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.4877, allocations: 123.2 kB / 0.5445 GB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.4877, allocations: 11.88 kB / 0.5445 GB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.4881, allocations: 59.56 kB / 0.5445 GB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.4881, allocations: 15.88 kB / 0.5445 GB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.4881, allocations: 4 kB / 0.5445 GB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005401/0.4887, allocations: 347 kB / 0.5449 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4887, allocations: 7.984 kB / 0.5449 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.4887, allocations: 8 kB / 0.5449 GB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.4892, allocations: 115.4 kB / 0.545 GB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4892, allocations: 11.89 kB / 0.545 GB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.4895, allocations: 51.91 kB / 0.5451 GB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.4895, allocations: 19.5 kB / 0.5451 GB, free: 9.137 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0001232/0.4897, allocations: 117.1 kB / 0.5452 GB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.4898, allocations: 55.34 kB / 0.5452 GB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.4899, allocations: 54.92 kB / 0.5453 GB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.4899, allocations: 4 kB / 0.5453 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.4899, allocations: 0 / 0.5453 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.49, allocations: 7.953 kB / 0.5453 GB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006715/0.4906, allocations: 488.7 kB / 0.5458 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4907, allocations: 0 / 0.5458 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.4911, allocations: 87.39 kB / 0.5459 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4912, allocations: 0 / 0.5459 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.4912, allocations: 11.67 kB / 0.5459 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4912, allocations: 4 kB / 0.5459 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4912, allocations: 0 / 0.5459 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.492, allocations: 0.6463 MB / 0.5465 GB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.4922, allocations: 159.2 kB / 0.5467 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.4922, allocations: 4 kB / 0.5467 GB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.4926, allocations: 31.97 kB / 0.5467 GB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.4927, allocations: 35.19 kB / 0.5467 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.4927, allocations: 14.89 kB / 0.5467 GB, free: 7.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002975/0.493, allocations: 284.1 kB / 0.547 GB, free: 7.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.493, allocations: 3.938 kB / 0.547 GB, free: 7.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006882/0.4937, allocations: 195.2 kB / 0.5472 GB, free: 7.266 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x,Wsec.y,Vsec.y,Asec.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.00016/0.4939, allocations: 107.2 kB / 0.5473 GB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007867/0.4947, allocations: 0.5223 MB / 0.5478 GB, free: 6.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4947, allocations: 1.75 kB / 0.5478 GB, free: 6.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.4949, allocations: 148.3 kB / 0.548 GB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.4957, allocations: 144.8 kB / 0.5481 GB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.4972, allocations: 0.9744 MB / 0.549 GB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.4977, allocations: 0.8917 MB / 0.5499 GB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004378/0.4982, allocations: 102.2 kB / 0.55 GB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.4983, allocations: 35.42 kB / 0.55 GB, free: 4.617 MB / 362.7 MB Notification: Performance of SimCode: time 2.023e-06/0.4983, allocations: 0 / 0.55 GB, free: 4.617 MB / 362.7 MB Notification: Performance of Templates: time 0.01065/0.509, allocations: 5.81 MB / 0.5557 GB, free: 14.87 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1)