Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001216, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001419, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.3 MB, free: 9.141 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2489/0.2489, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 76.56 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1587, allocations: 62.44 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002396/0.1612, allocations: 0.5825 MB / 479.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000681/0.1619, allocations: 223.4 kB / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.162, allocations: 0 / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.1622, allocations: 7.938 kB / 480.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.032e-05/0.1623, allocations: 3.984 kB / 480.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1626, allocations: 31.91 kB / 480.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.1627, allocations: 19.97 kB / 480.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.1628, allocations: 8 kB / 480.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.217e-05/0.1628, allocations: 11.94 kB / 480.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1629, allocations: 23.95 kB / 480.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.163, allocations: 4 kB / 480.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1631, allocations: 51.95 kB / 480.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.1632, allocations: 15.92 kB / 480.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.1632, allocations: 15.88 kB / 480.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1634, allocations: 67.83 kB / 480.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1634, allocations: 0 / 480.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1634, allocations: 0 / 480.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1634, allocations: 0 / 480.3 MB, free: 4.656 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005704/0.164, allocations: 354 kB / 480.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1641, allocations: 8.875 kB / 480.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.1641, allocations: 4.844 kB / 480.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1643, allocations: 168.3 kB / 480.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1643, allocations: 4.312 kB / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.1643, allocations: 12.36 kB / 480.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.1645, allocations: 90.2 kB / 481 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1646, allocations: 4.188 kB / 481 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1646, allocations: 7.938 kB / 481 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.1646, allocations: 15.98 kB / 481 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1647, allocations: 67.89 kB / 481.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.165, allocations: 193.5 kB / 481.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.1653, allocations: 130.8 kB / 481.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.1654, allocations: 64.89 kB / 481.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.1655, allocations: 4 kB / 481.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1655, allocations: 38.56 kB / 481.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.1655, allocations: 0 / 481.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003515/0.169, allocations: 2.212 MB / 483.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.1691, allocations: 59.62 kB / 483.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.1692, allocations: 93.86 kB / 483.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.1692, allocations: 29.7 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.1692, allocations: 80.7 kB / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1694, allocations: 98.55 kB / 484 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.1695, allocations: 97.78 kB / 484.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1697, allocations: 326.8 kB / 484.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006434/0.1703, allocations: 0.5778 MB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.171, allocations: 0.5817 MB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.1736, allocations: 2.061 MB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1737, allocations: 0 / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001863/0.1755, allocations: 1.706 MB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1756, allocations: 4 kB / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001909/0.1775, allocations: 1.527 MB / 490.9 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007578/0.1782, allocations: 404.5 kB / 491.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.1785, allocations: 67.89 kB / 491.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.1798, allocations: 1.181 MB / 492.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.1799, allocations: 8.094 kB / 492.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/0.18, allocations: 67.97 kB / 492.6 MB, free: 8.074 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: tabx[2] = 1.0 + 0.1 * time. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002472/0.1803, allocations: 148.6 kB / 492.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.1803, allocations: 11.91 kB / 492.8 MB, free: 7.91 MB / 366.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.182, allocations: 0.8903 MB / 493.7 MB, free: 7.031 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.