Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003916/0.003921, allocations: 369.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.918/3.918, allocations: 388.9 MB / 405.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003595/0.003594, allocations: 226.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5383/0.5383, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000778/0.0007783, allocations: 18.91 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1335, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.00704/0.1406, allocations: 3.183 MB / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003896/0.1445, allocations: 1.076 MB / 0.6842 GB, free: 37.39 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006791/0.1453, allocations: 19.94 kB / 0.6843 GB, free: 37.37 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.1455, allocations: 51.5 kB / 0.6843 GB, free: 37.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009899/0.1465, allocations: 142.9 kB / 0.6845 GB, free: 37.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.1479, allocations: 250.1 kB / 0.6847 GB, free: 36.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.1494, allocations: 0.6822 MB / 0.6854 GB, free: 36.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.15, allocations: 196 kB / 0.6855 GB, free: 36.06 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/0.1506, allocations: 226.8 kB / 0.6858 GB, free: 35.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.1511, allocations: 230.7 kB / 0.686 GB, free: 35.61 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.1512, allocations: 24 kB / 0.686 GB, free: 35.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1513, allocations: 24 kB / 0.686 GB, free: 35.56 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1515, allocations: 87.55 kB / 0.6861 GB, free: 35.48 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.1517, allocations: 125.3 kB / 0.6862 GB, free: 35.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007955/0.1525, allocations: 0.4909 MB / 0.6867 GB, free: 34.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1525, allocations: 0 / 0.6867 GB, free: 34.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1525, allocations: 3.938 kB / 0.6867 GB, free: 34.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1526, allocations: 0 / 0.6867 GB, free: 34.85 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.002926/0.1555, allocations: 0.8684 MB / 0.6876 GB, free: 33.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.1556, allocations: 8.031 kB / 0.6876 GB, free: 33.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.1558, allocations: 83.05 kB / 0.6876 GB, free: 33.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.1569, allocations: 434.8 kB / 0.6881 GB, free: 33.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.157, allocations: 37 kB / 0.6881 GB, free: 33.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.1572, allocations: 59.91 kB / 0.6882 GB, free: 33.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1586, allocations: 490.2 kB / 0.6886 GB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.1586, allocations: 4 kB / 0.6886 GB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/0.1587, allocations: 23.95 kB / 0.6887 GB, free: 32.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1587, allocations: 12 kB / 0.6887 GB, free: 32.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1598, allocations: 350.4 kB / 0.689 GB, free: 32.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00465/0.1645, allocations: 1.784 MB / 0.6907 GB, free: 30.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.1661, allocations: 470.2 kB / 0.6912 GB, free: 30.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.1667, allocations: 185.6 kB / 0.6914 GB, free: 29.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.1667, allocations: 4 kB / 0.6914 GB, free: 29.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1668, allocations: 42.59 kB / 0.6914 GB, free: 29.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 3.596e-06/0.1668, allocations: 0 / 0.6914 GB, free: 29.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.001897/0.1687, allocations: 0.5502 MB / 0.6919 GB, free: 29.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1688, allocations: 110.8 kB / 0.6921 GB, free: 29.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/0.1694, allocations: 446.1 kB / 0.6925 GB, free: 28.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.1694, allocations: 41.69 kB / 0.6925 GB, free: 28.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.1697, allocations: 304 kB / 0.6928 GB, free: 28.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.1698, allocations: 157.7 kB / 0.693 GB, free: 28.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.1699, allocations: 8 kB / 0.693 GB, free: 28.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.17, allocations: 362.8 kB / 0.6933 GB, free: 27.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.1706, allocations: 173 kB / 0.6935 GB, free: 27.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/0.1713, allocations: 307.9 kB / 0.6938 GB, free: 27.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.1719, allocations: 199.9 kB / 0.694 GB, free: 27.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.172, allocations: 0 / 0.694 GB, free: 27.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001644/0.1736, allocations: 0.5643 MB / 0.6945 GB, free: 26.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.46e-05/0.1737, allocations: 186.2 kB / 0.6947 GB, free: 26.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1738, allocations: 4 kB / 0.6947 GB, free: 26.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.1738, allocations: 11.98 kB / 0.6947 GB, free: 26.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/0.1747, allocations: 123.8 kB / 0.6948 GB, free: 26.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.1747, allocations: 11.98 kB / 0.6948 GB, free: 26.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.1753, allocations: 55.58 kB / 0.6949 GB, free: 26.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.1754, allocations: 20 kB / 0.6949 GB, free: 26.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.1754, allocations: 8 kB / 0.6949 GB, free: 26.06 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001263/0.1766, allocations: 464.2 kB / 0.6954 GB, free: 25.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1767, allocations: 4 kB / 0.6954 GB, free: 25.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1767, allocations: 4 kB / 0.6954 GB, free: 25.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008158/0.1775, allocations: 120.1 kB / 0.6955 GB, free: 25.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.1775, allocations: 15.94 kB / 0.6955 GB, free: 25.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.1781, allocations: 55.52 kB / 0.6955 GB, free: 25.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.1782, allocations: 24 kB / 0.6956 GB, free: 25.39 MB / 346.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.0003189/0.1785, allocations: 249.3 kB / 0.6958 GB, free: 25.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.1786, allocations: 59.3 kB / 0.6959 GB, free: 25.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.1788, allocations: 65.08 kB / 0.6959 GB, free: 25.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1788, allocations: 8 kB / 0.6959 GB, free: 25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1788, allocations: 0 / 0.6959 GB, free: 25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.179, allocations: 164.2 kB / 0.6961 GB, free: 24.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.1792, allocations: 12 kB / 0.6961 GB, free: 24.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/0.1797, allocations: 27.98 kB / 0.6961 GB, free: 24.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1798, allocations: 35.95 kB / 0.6962 GB, free: 24.75 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00304/0.1829, allocations: 0.7262 MB / 0.6969 GB, free: 24.02 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002003/0.1849, allocations: 0.8757 MB / 0.6977 GB, free: 23.12 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005811/0.1855, allocations: 184.4 kB / 0.6979 GB, free: 22.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004468/0.186, allocations: 306.9 kB / 0.6982 GB, free: 22.65 MB / 346.7 MB Notification: Performance of Backend: time 8.11e-07/0.186, allocations: 0 / 0.6982 GB, free: 22.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.188, allocations: 0.5966 MB / 0.6988 GB, free: 22.05 MB / 346.7 MB Notification: Performance of SimCode: time 0.003091/0.1911, allocations: 2.055 MB / 0.7008 GB, free: 19.94 MB / 346.7 MB Notification: Performance of Templates: time 0.01946/0.2106, allocations: 7.665 MB / 0.7083 GB, free: 12.34 MB / 346.7 MB