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.0008472/0.0008473, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005757/0.005757, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3842/0.3842, allocations: 40 MB / 310.7 MB, free: 9.5 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.0005982/0.0005986, allocations: 27.97 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1309, allocations: 57.96 MB / 437.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.004502/0.1355, allocations: 3.605 MB / 441 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.1379, allocations: 1.232 MB / 442.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003831/0.1383, allocations: 23.88 kB / 442.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1385, allocations: 83.22 kB / 442.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.1391, allocations: 142.9 kB / 442.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.1398, allocations: 351.6 kB / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007905/0.1406, allocations: 0.7993 MB / 443.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.141, allocations: 272.2 kB / 443.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.1414, allocations: 262.5 kB / 444.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.1417, allocations: 270.3 kB / 444.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.1418, allocations: 24 kB / 444.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.462e-05/0.1418, allocations: 24 kB / 444.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.1419, allocations: 103.4 kB / 444.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.1422, allocations: 319.6 kB / 444.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.1428, allocations: 0.7001 MB / 445.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1428, allocations: 4 kB / 445.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1428, allocations: 4 kB / 445.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1428, allocations: 0 / 445.6 MB, free: 9.676 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.001607/0.1444, allocations: 0.9426 MB / 446.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1445, allocations: 8.031 kB / 446.5 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1446, allocations: 91.81 kB / 446.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/0.1453, allocations: 0.4955 MB / 447.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.1454, allocations: 45.69 kB / 447.2 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.836e-05/0.1455, allocations: 71.83 kB / 447.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009943/0.1465, allocations: 0.6154 MB / 447.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.1465, allocations: 3.938 kB / 447.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.1465, allocations: 24 kB / 447.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.1466, allocations: 12 kB / 447.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007499/0.1473, allocations: 402.2 kB / 448.3 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.1511, allocations: 3.044 MB / 451.3 MB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009519/0.1521, allocations: 461.8 kB / 451.8 MB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.1525, allocations: 177.6 kB / 451.9 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.1525, allocations: 12.09 kB / 452 MB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1526, allocations: 38.5 kB / 452 MB, free: 2.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 3.336e-06/0.1526, allocations: 3.938 kB / 452 MB, free: 2.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.001375/0.1539, allocations: 0.5831 MB / 452.6 MB, free: 2.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.154, allocations: 106.8 kB / 452.7 MB, free: 2.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.1547, allocations: 0.5509 MB / 453.2 MB, free: 1.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.1547, allocations: 29.7 kB / 453.3 MB, free: 1.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.155, allocations: 376 kB / 453.6 MB, free: 1.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.1551, allocations: 145.8 kB / 453.8 MB, free: 1.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.1552, allocations: 69.67 kB / 453.8 MB, free: 1.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1554, allocations: 378.8 kB / 454.2 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.1558, allocations: 185.2 kB / 454.4 MB, free: 484 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2117/0.3675, allocations: 403.6 kB / 454.8 MB, free: 47.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.3687, allocations: 0.5917 MB / 455.4 MB, free: 47.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3687, allocations: 0 / 455.4 MB, free: 47.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001193/0.3699, allocations: 0.6716 MB / 456 MB, free: 47.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.37, allocations: 297.9 kB / 456.3 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.37, allocations: 8.062 kB / 456.3 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.3701, allocations: 10.66 kB / 456.4 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.3706, allocations: 143.1 kB / 456.5 MB, free: 47.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.3706, allocations: 15.59 kB / 456.5 MB, free: 47.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.371, allocations: 78.83 kB / 456.6 MB, free: 47.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.371, allocations: 30 kB / 456.6 MB, free: 47.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.371, allocations: 2.844 kB / 456.6 MB, free: 47.27 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008134/0.3718, allocations: 0.5471 MB / 457.2 MB, free: 47.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3719, allocations: 5.375 kB / 457.2 MB, free: 47.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.3719, allocations: 11.03 kB / 457.2 MB, free: 47.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.3723, allocations: 139 kB / 457.3 MB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3723, allocations: 17.94 kB / 457.3 MB, free: 47.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.3727, allocations: 66.11 kB / 457.4 MB, free: 47.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.3727, allocations: 25.06 kB / 457.4 MB, free: 47.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003286/0.373, allocations: 279.6 kB / 457.7 MB, free: 47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3732, allocations: 67.19 kB / 457.8 MB, free: 47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.3733, allocations: 68.78 kB / 457.8 MB, free: 46.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3734, allocations: 10.19 kB / 457.8 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3734, allocations: 0 / 457.8 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3734, allocations: 3.281 kB / 457.8 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006447/0.374, allocations: 0.5694 MB / 458.4 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.374, allocations: 6.328 kB / 458.4 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.3745, allocations: 91.48 kB / 458.5 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.3745, allocations: 0.7188 kB / 458.5 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.3746, allocations: 12.89 kB / 458.5 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3746, allocations: 7.828 kB / 458.5 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3746, allocations: 1.531 kB / 458.5 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.3758, allocations: 0.8188 MB / 459.4 MB, free: 46.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.376, allocations: 171.1 kB / 459.5 MB, free: 46.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.87e-05/0.3761, allocations: 6.688 kB / 459.5 MB, free: 46.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.3766, allocations: 38.91 kB / 459.6 MB, free: 46.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/0.3767, allocations: 26.58 kB / 459.6 MB, free: 46.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.3768, allocations: 16 kB / 459.6 MB, free: 46.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.3771, allocations: 375.1 kB / 460 MB, free: 46.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3771, allocations: 0 / 460 MB, free: 46.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007826/0.3779, allocations: 238.5 kB / 460.2 MB, free: 46.29 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.378, allocations: 113.4 kB / 460.3 MB, free: 46.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.3793, allocations: 0.7574 MB / 461.1 MB, free: 46.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3793, allocations: 0 / 461.1 MB, free: 46.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.3797, allocations: 200.5 kB / 461.3 MB, free: 46.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3808, allocations: 175.1 kB / 461.4 MB, free: 46.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3827, allocations: 1.77 MB / 463.2 MB, free: 45.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.383, allocations: 0.9091 MB / 464.1 MB, free: 44.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003129/0.3833, allocations: 79.48 kB / 464.2 MB, free: 44.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.3834, allocations: 39.03 kB / 464.2 MB, free: 44.42 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.3835, allocations: 0 / 464.2 MB, free: 44.42 MB / 382.1 MB Notification: Performance of Templates: time 0.009823/0.3933, allocations: 5.94 MB / 470.2 MB, free: 44.04 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: