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.01056/0.01056, allocations: 175.8 kB / 15.12 MB, free: 5.973 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.658/1.658, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001838/0.001837, allocations: 120.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1917/0.1917, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006622/0.0006625, allocations: 11.56 kB / 406.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1489, allocations: 54.88 MB / 461 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5119/0.6609, allocations: 88.48 MB / 0.5366 GB, free: 21.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.6612, allocations: 70.66 kB / 0.5367 GB, free: 21.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03798/0.6992, allocations: 13.3 MB / 0.5497 GB, free: 20.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6993, allocations: 0 / 0.5497 GB, free: 20.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.05e-05/0.6994, allocations: 20.97 kB / 0.5497 GB, free: 20.75 MB / 378.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.001824/0.7012, allocations: 0.8985 MB / 0.5506 GB, free: 20.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.7013, allocations: 9.719 kB / 0.5506 GB, free: 20.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.7014, allocations: 74.41 kB / 0.5507 GB, free: 20.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/0.7022, allocations: 474.2 kB / 0.5511 GB, free: 19.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.7023, allocations: 40.28 kB / 0.5512 GB, free: 19.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.7024, allocations: 56 kB / 0.5512 GB, free: 19.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.7035, allocations: 488.9 kB / 0.5517 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.7035, allocations: 1.625 kB / 0.5517 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.7036, allocations: 17.62 kB / 0.5517 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.7036, allocations: 11.66 kB / 0.5517 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/0.7044, allocations: 365.3 kB / 0.5521 GB, free: 19.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.7074, allocations: 1.776 MB / 0.5538 GB, free: 19.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000873/0.7083, allocations: 476.8 kB / 0.5542 GB, free: 19.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.7083, allocations: 15.8 kB / 0.5543 GB, free: 19.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.7084, allocations: 34.31 kB / 0.5543 GB, free: 19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.703e-06/0.7084, allocations: 0 / 0.5543 GB, free: 19 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.001066/0.7095, allocations: 0.5523 MB / 0.5548 GB, free: 18.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.7095, allocations: 113.5 kB / 0.5549 GB, free: 18.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.7099, allocations: 390.6 kB / 0.5553 GB, free: 18.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.7099, allocations: 32.95 kB / 0.5553 GB, free: 18.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.7101, allocations: 318.8 kB / 0.5556 GB, free: 18.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.74e-05/0.7102, allocations: 149.2 kB / 0.5558 GB, free: 18.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.7103, allocations: 11.75 kB / 0.5558 GB, free: 18.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.7104, allocations: 368.3 kB / 0.5561 GB, free: 18.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.7107, allocations: 171.1 kB / 0.5563 GB, free: 18.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.7111, allocations: 304.7 kB / 0.5566 GB, free: 17.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.7115, allocations: 204 kB / 0.5568 GB, free: 17.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7115, allocations: 0 / 0.5568 GB, free: 17.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009148/0.7124, allocations: 0.5665 MB / 0.5573 GB, free: 17.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003377/0.7127, allocations: 1.39 MB / 0.5587 GB, free: 16.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7128, allocations: 3.875 kB / 0.5587 GB, free: 16.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.7128, allocations: 7.75 kB / 0.5587 GB, free: 16.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.7132, allocations: 124.3 kB / 0.5588 GB, free: 16.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.7133, allocations: 15.56 kB / 0.5589 GB, free: 16.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.7136, allocations: 63.66 kB / 0.5589 GB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.7137, allocations: 23.06 kB / 0.5589 GB, free: 16.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.7137, allocations: 3.875 kB / 0.5589 GB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007336/0.7144, allocations: 471.8 kB / 0.5594 GB, free: 16.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.7144, allocations: 3.688 kB / 0.5594 GB, free: 16.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.7144, allocations: 7.719 kB / 0.5594 GB, free: 16.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.7148, allocations: 116.3 kB / 0.5595 GB, free: 16.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.7148, allocations: 10.48 kB / 0.5595 GB, free: 16.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.7151, allocations: 52.97 kB / 0.5596 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.7152, allocations: 18.84 kB / 0.5596 GB, free: 16.23 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 () * Number of clocked 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.00023/0.7154, allocations: 266 kB / 0.5598 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.15e-05/0.7155, allocations: 58.62 kB / 0.5599 GB, free: 16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.7156, allocations: 61.3 kB / 0.56 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.7156, allocations: 7.891 kB / 0.56 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.7156, allocations: 3.969 kB / 0.56 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.7157, allocations: 3.938 kB / 0.56 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/0.7164, allocations: 0.5352 MB / 0.5605 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.7164, allocations: 0 / 0.5605 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.7169, allocations: 87.58 kB / 0.5606 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7169, allocations: 3.906 kB / 0.5606 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.7169, allocations: 13.16 kB / 0.5606 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7169, allocations: 0 / 0.5606 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.7169, allocations: 3.953 kB / 0.5606 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.718, allocations: 0.8069 MB / 0.5614 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.7183, allocations: 165.6 kB / 0.5615 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.7183, allocations: 11.16 kB / 0.5616 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.7187, allocations: 37.52 kB / 0.5616 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.7188, allocations: 31.48 kB / 0.5616 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.7188, allocations: 11.47 kB / 0.5616 GB, free: 15.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002933/0.7191, allocations: 310.6 kB / 0.5619 GB, free: 15.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7191, allocations: 3.875 kB / 0.5619 GB, free: 15.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006693/0.7198, allocations: 229.9 kB / 0.5621 GB, free: 15.23 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 () * Number of clocked 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.0001413/0.72, allocations: 109.9 kB / 0.5623 GB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.7212, allocations: 0.6584 MB / 0.5629 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7212, allocations: 0 / 0.5629 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.7216, allocations: 189 kB / 0.5631 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009806/0.7226, allocations: 152.1 kB / 0.5632 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.7248, allocations: 1.551 MB / 0.5647 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.7252, allocations: 0.8965 MB / 0.5656 GB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.7256, allocations: 65.05 kB / 0.5657 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.7257, allocations: 34.16 kB / 0.5657 GB, free: 13.48 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.7257, allocations: 4 kB / 0.5657 GB, free: 13.47 MB / 378.7 MB Notification: Performance of Templates: time 0.01087/0.7366, allocations: 5.366 MB / 0.571 GB, free: 12.88 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)