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.001319/0.001319, 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.426/1.426, 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.001628/0.001628, allocations: 112.6 kB / 252.6 MB, free: 4.832 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.2024/0.2024, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.199e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 54.86 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.4845, allocations: 88.41 MB / 0.5308 GB, free: 3.301 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.4847, allocations: 68.66 kB / 0.5309 GB, free: 3.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03474/0.5195, allocations: 13.28 MB / 0.5438 GB, free: 8.117 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5195, allocations: 0 / 0.5438 GB, free: 8.117 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.644e-05/0.5196, allocations: 15.94 kB / 0.5439 GB, free: 8.102 MB / 362.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.001337/0.5209, allocations: 0.8127 MB / 0.5446 GB, free: 7.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.521, allocations: 8.031 kB / 0.5447 GB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.5211, allocations: 79.06 kB / 0.5447 GB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.5219, allocations: 461 kB / 0.5452 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.522, allocations: 35.78 kB / 0.5452 GB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.5221, allocations: 59.11 kB / 0.5453 GB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007157/0.5228, allocations: 455.6 kB / 0.5457 GB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.5228, allocations: 0 / 0.5457 GB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.5229, allocations: 18.75 kB / 0.5457 GB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.5229, allocations: 12 kB / 0.5457 GB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.5234, allocations: 288.8 kB / 0.546 GB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.5266, allocations: 1.775 MB / 0.5477 GB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.5272, allocations: 361.5 kB / 0.5481 GB, free: 4.434 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.5274, allocations: 139.4 kB / 0.5482 GB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.5275, allocations: 4 kB / 0.5482 GB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5275, allocations: 46.34 kB / 0.5483 GB, free: 4.289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.495e-06/0.5275, allocations: 4 kB / 0.5483 GB, free: 4.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.0006352/0.5282, allocations: 336.5 kB / 0.5486 GB, free: 4.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.5283, allocations: 110.8 kB / 0.5487 GB, free: 3.895 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.5287, allocations: 394.9 kB / 0.5491 GB, free: 3.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.5288, allocations: 33.52 kB / 0.5491 GB, free: 3.547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.529, allocations: 315.3 kB / 0.5494 GB, free: 3.336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.5291, allocations: 147.8 kB / 0.5495 GB, free: 3.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.5291, allocations: 10.44 kB / 0.5496 GB, free: 3.207 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.5293, allocations: 381.4 kB / 0.5499 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.5295, allocations: 124.2 kB / 0.55 GB, free: 2.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.5299, allocations: 257.1 kB / 0.5503 GB, free: 2.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.5301, allocations: 164 kB / 0.5504 GB, free: 2.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5302, allocations: 0 / 0.5504 GB, free: 2.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008019/0.531, allocations: 487.3 kB / 0.5509 GB, free: 2.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007286/0.5317, allocations: 1.392 MB / 0.5523 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5317, allocations: 4 kB / 0.5523 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.5318, allocations: 8 kB / 0.5523 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.5323, allocations: 127.5 kB / 0.5524 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.5323, allocations: 8 kB / 0.5524 GB, free: 464 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.5327, allocations: 62.56 kB / 0.5525 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.5328, allocations: 15.62 kB / 0.5525 GB, free: 396 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.5328, allocations: 7.281 kB / 0.5525 GB, free: 392 kB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006457/0.5334, allocations: 413.6 kB / 0.5529 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5335, allocations: 4 kB / 0.5529 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.5335, allocations: 7.953 kB / 0.5529 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.5339, allocations: 120 kB / 0.553 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.534, allocations: 15.98 kB / 0.553 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.5343, allocations: 55.16 kB / 0.5531 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.5343, allocations: 23.62 kB / 0.5531 GB, free: 15.9 MB / 378.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.0001248/0.5344, allocations: 127.3 kB / 0.5532 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.5346, allocations: 51.34 kB / 0.5533 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.5347, allocations: 69.02 kB / 0.5533 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.5347, allocations: 11.95 kB / 0.5533 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.5347, allocations: 7.875 kB / 0.5533 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.5348, allocations: 0 / 0.5533 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.5356, allocations: 0.5377 MB / 0.5539 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5356, allocations: 3.984 kB / 0.5539 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004832/0.5361, allocations: 87.2 kB / 0.554 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5361, allocations: 4 kB / 0.554 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.5361, allocations: 15 kB / 0.554 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5361, allocations: 0 / 0.554 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5361, allocations: 3.953 kB / 0.554 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008268/0.537, allocations: 0.6754 MB / 0.5546 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.5372, allocations: 166.8 kB / 0.5548 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/0.5372, allocations: 3.875 kB / 0.5548 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.5376, allocations: 45.8 kB / 0.5548 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.5377, allocations: 26.89 kB / 0.5549 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.5377, allocations: 11.12 kB / 0.5549 GB, free: 14.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003445/0.5381, allocations: 309.2 kB / 0.5552 GB, free: 14.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5381, allocations: 3.938 kB / 0.5552 GB, free: 14.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006875/0.5388, allocations: 226 kB / 0.5554 GB, free: 13.89 MB / 378.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.0001865/0.539, allocations: 122.3 kB / 0.5555 GB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009618/0.5399, allocations: 0.5494 MB / 0.556 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.54, allocations: 4.062 kB / 0.5561 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.5402, allocations: 163.4 kB / 0.5562 GB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007952/0.541, allocations: 137.6 kB / 0.5563 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.5427, allocations: 0.9952 MB / 0.5573 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.5432, allocations: 0.8959 MB / 0.5582 GB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004577/0.5437, allocations: 98.2 kB / 0.5583 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.5438, allocations: 31.44 kB / 0.5583 GB, free: 11.2 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5438, allocations: 0 / 0.5583 GB, free: 11.2 MB / 378.7 MB Notification: Performance of Templates: time 0.01193/0.5558, allocations: 6.312 MB / 0.5645 GB, free: 4.926 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)