Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001303/0.001303, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 65.19 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1557, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001976/0.1577, allocations: 0.4988 MB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005916/0.1584, allocations: 233.8 kB / 471.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.1584, allocations: 4 kB / 471.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.1586, allocations: 3.938 kB / 471.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.579e-05/0.1586, allocations: 4 kB / 471.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1589, allocations: 51.81 kB / 471.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.848e-05/0.159, allocations: 15.98 kB / 471.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.1591, allocations: 8 kB / 471.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.1591, allocations: 15.92 kB / 471.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1592, allocations: 23.95 kB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1593, allocations: 4 kB / 471.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1594, allocations: 51.89 kB / 471.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.1595, allocations: 15.92 kB / 471.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.1595, allocations: 19.86 kB / 471.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1597, allocations: 63.84 kB / 471.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1597, allocations: 0 / 471.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1597, allocations: 0 / 471.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1597, allocations: 0 / 471.7 MB, free: 12.65 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.0006104/0.1603, allocations: 359.4 kB / 472.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.1604, allocations: 8.031 kB / 472.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.1604, allocations: 8.875 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1606, allocations: 164.4 kB / 472.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.1606, allocations: 384 / 472.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.1606, allocations: 4.375 kB / 472.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1609, allocations: 98.19 kB / 472.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1609, allocations: 4.188 kB / 472.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.1609, allocations: 7.938 kB / 472.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.161, allocations: 15.92 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1611, allocations: 67.89 kB / 472.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.1613, allocations: 197.5 kB / 472.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.1616, allocations: 126.8 kB / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1618, allocations: 64.95 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.322e-05/0.1618, allocations: 8 kB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.1619, allocations: 38.56 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.1619, allocations: 0 / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003542/0.1654, allocations: 2.218 MB / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.1655, allocations: 55.64 kB / 475.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1656, allocations: 89.86 kB / 475.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.1657, allocations: 33.7 kB / 475.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.1658, allocations: 80.7 kB / 475.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.1659, allocations: 98.67 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.1662, allocations: 97.64 kB / 475.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1664, allocations: 322.8 kB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008694/0.1673, allocations: 0.5817 MB / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.168, allocations: 0.5817 MB / 477 MB, free: 7.113 MB / 350.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.002633/0.1707, allocations: 2.053 MB / 479 MB, free: 5.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1707, allocations: 0 / 479 MB, free: 5.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001907/0.1726, allocations: 1.71 MB / 480.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1726, allocations: 4 kB / 480.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001891/0.1745, allocations: 1.52 MB / 482.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007342/0.1753, allocations: 408.5 kB / 482.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.1755, allocations: 67.89 kB / 482.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.1767, allocations: 1.177 MB / 483.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.1768, allocations: 16.03 kB / 483.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.1769, allocations: 67.97 kB / 484 MB, free: 60 kB / 350.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.0002587/0.1772, allocations: 141.7 kB / 484.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1773, allocations: 7.906 kB / 484.1 MB, free: 15.9 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.001486/0.1787, allocations: 0.8867 MB / 485 MB, free: 15.02 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.