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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 183 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 242.1 MB, free: 9.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008448/0.0008448, allocations: 100 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3656/0.3656, allocations: 44.15 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005914/0.0005915, allocations: 8 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3556, allocations: 61.88 MB / 0.5107 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.4613, allocations: 85.19 MB / 0.5939 GB, free: 9.883 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.4617, allocations: 59.97 kB / 0.594 GB, free: 9.828 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004544/0.4663, allocations: 1.325 MB / 0.5953 GB, free: 8.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.4663, allocations: 4 kB / 0.5953 GB, free: 8.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.4663, allocations: 3.938 kB / 0.5953 GB, free: 8.488 MB / 410.7 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.0003749/0.4667, allocations: 347.4 kB / 0.5956 GB, free: 8.098 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.4667, allocations: 12.03 kB / 0.5956 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.4668, allocations: 4.844 kB / 0.5956 GB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.4669, allocations: 168.3 kB / 0.5958 GB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4669, allocations: 4.375 kB / 0.5958 GB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.467, allocations: 384 / 0.5958 GB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4672, allocations: 86.78 kB / 0.5959 GB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4672, allocations: 4.188 kB / 0.5959 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4672, allocations: 7.938 kB / 0.5959 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.4673, allocations: 19.92 kB / 0.5959 GB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.4674, allocations: 59.95 kB / 0.596 GB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.4677, allocations: 193.5 kB / 0.5961 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.468, allocations: 132.4 kB / 0.5963 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.4681, allocations: 60.95 kB / 0.5963 GB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-05/0.4681, allocations: 11.98 kB / 0.5963 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.4682, allocations: 30.56 kB / 0.5964 GB, free: 7.207 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.305e-06/0.4682, allocations: 0 / 0.5964 GB, free: 7.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.003606/0.4718, allocations: 1.873 MB / 0.5982 GB, free: 5.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.4718, allocations: 55.64 kB / 0.5982 GB, free: 5.238 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.4719, allocations: 93.86 kB / 0.5983 GB, free: 5.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.472, allocations: 29.7 kB / 0.5984 GB, free: 5.102 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.472, allocations: 88.61 kB / 0.5984 GB, free: 5.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.4722, allocations: 102.5 kB / 0.5985 GB, free: 4.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.4722, allocations: 4 kB / 0.5985 GB, free: 4.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4724, allocations: 326.8 kB / 0.5989 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.473, allocations: 467.7 kB / 0.5993 GB, free: 4.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.4737, allocations: 471.7 kB / 0.5998 GB, free: 3.664 MB / 410.7 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.003498/0.4772, allocations: 2.575 MB / 0.6023 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4772, allocations: 3.938 kB / 0.6023 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001507/0.4787, allocations: 1.058 MB / 0.6033 GB, free: 15.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4787, allocations: 7.984 kB / 0.6033 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001471/0.4802, allocations: 1.046 MB / 0.6043 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.4803, allocations: 8 kB / 0.6043 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.4827, allocations: 391.6 kB / 0.6047 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.4842, allocations: 1.261 MB / 0.6059 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.4843, allocations: 12.02 kB / 0.606 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.4845, allocations: 116 kB / 0.6061 GB, free: 13.07 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: taby[6] = tabx[6] ^ 2.0. 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.4847, allocations: 137.9 kB / 0.6062 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.4848, allocations: 11.84 kB / 0.6062 GB, free: 12.91 MB / 426.7 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.002098/0.4869, allocations: 1.032 MB / 0.6072 GB, free: 11.9 MB / 426.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.