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/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 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008936, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0009524/0.0009525, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 222.1 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.371/0.371, allocations: 39.99 MB / 310.4 MB, free: 9.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009279/0.0009281, allocations: 12 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1732, allocations: 57.96 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.005187/0.1784, allocations: 3.416 MB / 440.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004415/0.1829, allocations: 1.205 MB / 441.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.184, allocations: 23.88 kB / 441.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.1843, allocations: 75.22 kB / 441.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.185, allocations: 139 kB / 441.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008683/0.1858, allocations: 295.5 kB / 441.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008254/0.1867, allocations: 0.7448 MB / 442.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.1872, allocations: 228.6 kB / 442.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004126/0.1876, allocations: 250.7 kB / 443.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.1879, allocations: 254.4 kB / 443.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.188, allocations: 24 kB / 443.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.694e-05/0.1881, allocations: 24 kB / 443.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1882, allocations: 99.42 kB / 443.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1883, allocations: 141.3 kB / 443.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005959/0.1889, allocations: 0.5455 MB / 444.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.189, allocations: 0 / 444.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.189, allocations: 0 / 444.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.189, allocations: 0 / 444.2 MB, free: 11.11 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001871/0.1909, allocations: 0.9541 MB / 445.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/0.1909, allocations: 8.031 kB / 445.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.1911, allocations: 90.88 kB / 445.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.1919, allocations: 494.5 kB / 445.8 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.192, allocations: 45.31 kB / 445.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.1921, allocations: 59.91 kB / 445.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1932, allocations: 0.6115 MB / 446.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.1933, allocations: 4 kB / 446.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.1934, allocations: 27.95 kB / 446.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1934, allocations: 16 kB / 446.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007898/0.1942, allocations: 394.2 kB / 446.9 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/0.198, allocations: 3.032 MB / 449.9 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.1989, allocations: 477.6 kB / 450.4 MB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.1992, allocations: 181.6 kB / 450.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.1993, allocations: 4 kB / 450.6 MB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1993, allocations: 42.55 kB / 450.6 MB, free: 4.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.743e-06/0.1993, allocations: 0 / 450.6 MB, free: 4.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.001244/0.2006, allocations: 0.5679 MB / 451.2 MB, free: 3.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.2007, allocations: 106.8 kB / 451.3 MB, free: 3.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/0.2014, allocations: 0.547 MB / 451.8 MB, free: 3.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.2014, allocations: 29.7 kB / 451.9 MB, free: 3.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.2018, allocations: 376 kB / 452.2 MB, free: 2.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.202, allocations: 157.8 kB / 452.4 MB, free: 2.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.202, allocations: 12 kB / 452.4 MB, free: 2.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.2022, allocations: 374.8 kB / 452.8 MB, free: 2.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.2026, allocations: 185.2 kB / 453 MB, free: 1.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.2032, allocations: 409 kB / 453.4 MB, free: 1.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.2037, allocations: 235.6 kB / 453.6 MB, free: 1.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.2037, allocations: 7.953 kB / 453.6 MB, free: 1.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001176/0.2049, allocations: 0.6608 MB / 454.2 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/0.2052, allocations: 290.4 kB / 454.5 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2052, allocations: 4 kB / 454.5 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.2052, allocations: 16 kB / 454.6 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.2058, allocations: 143.8 kB / 454.7 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.2058, allocations: 19.92 kB / 454.7 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3115/0.5174, allocations: 74.27 kB / 454.8 MB, free: 47.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.5175, allocations: 31.78 kB / 454.8 MB, free: 47.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.5176, allocations: 2.875 kB / 454.8 MB, free: 47.99 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/0.5188, allocations: 0.5486 MB / 455.4 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5188, allocations: 8.828 kB / 455.4 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5188, allocations: 14.69 kB / 455.4 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.5193, allocations: 134 kB / 455.5 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.5193, allocations: 15.09 kB / 455.5 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.5197, allocations: 64.75 kB / 455.6 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.5197, allocations: 26.81 kB / 455.6 MB, free: 47.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 (Asec.local_reset,Vsec.local_reset,Wsec.local_reset,PID1.I.local_reset,PID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0003303/0.52, allocations: 273.3 kB / 455.9 MB, free: 47.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.5201, allocations: 71.8 kB / 456 MB, free: 47.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.5203, allocations: 70.56 kB / 456 MB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.5203, allocations: 6.438 kB / 456 MB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.5203, allocations: 0 / 456 MB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5203, allocations: 3.469 kB / 456 MB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.521, allocations: 0.5702 MB / 456.6 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.521, allocations: 0 / 456.6 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.5215, allocations: 93.75 kB / 456.7 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.5215, allocations: 4.094 kB / 456.7 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.5215, allocations: 10.75 kB / 456.7 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.5215, allocations: 1.719 kB / 456.7 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5215, allocations: 3.938 kB / 456.7 MB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.5228, allocations: 0.8131 MB / 457.5 MB, free: 47.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.523, allocations: 171 kB / 457.7 MB, free: 47.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.523, allocations: 13.44 kB / 457.7 MB, free: 47.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.5233, allocations: 33.47 kB / 457.7 MB, free: 47.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.5234, allocations: 32.92 kB / 457.8 MB, free: 47.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.5235, allocations: 9.531 kB / 457.8 MB, free: 47.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.5238, allocations: 368 kB / 458.1 MB, free: 47.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5238, allocations: 2.969 kB / 458.2 MB, free: 47.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007473/0.5246, allocations: 245.2 kB / 458.4 MB, free: 47.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (Wsec.y,Vsec.y,Asec.y,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) * 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 (39): * Single equations (assignments): 39 * 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.0001161/0.5247, allocations: 106 kB / 458.5 MB, free: 47.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.526, allocations: 0.7491 MB / 459.2 MB, free: 47.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.526, allocations: 0 / 459.2 MB, free: 47.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.5263, allocations: 210.9 kB / 459.4 MB, free: 47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.5272, allocations: 170.5 kB / 459.6 MB, free: 47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.5292, allocations: 1.675 MB / 461.3 MB, free: 46.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.5296, allocations: 0.9118 MB / 462.2 MB, free: 45.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003423/0.5299, allocations: 77.53 kB / 462.3 MB, free: 45.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.53, allocations: 40.25 kB / 462.3 MB, free: 45.39 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.53, allocations: 2.953 kB / 462.3 MB, free: 45.39 MB / 382.1 MB Notification: Performance of Templates: time 0.009873/0.5399, allocations: 5.743 MB / 468.1 MB, free: 45.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: