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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001784/0.001784, allocations: 201.5 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 226.5 MB / 245.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007921/0.0007923, allocations: 99.61 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3891/0.3891, allocations: 44.83 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4433, allocations: 62.97 MB / 0.5184 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.6131, allocations: 86.1 MB / 0.6025 GB, free: 3.211 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.6133, allocations: 59.97 kB / 0.6025 GB, free: 3.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006003/0.6194, allocations: 1.314 MB / 0.6038 GB, free: 1.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6194, allocations: 4 kB / 0.6038 GB, free: 1.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.6194, allocations: 0 / 0.6038 GB, free: 1.836 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.0004713/0.6199, allocations: 343.4 kB / 0.6042 GB, free: 1.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.6199, allocations: 12.03 kB / 0.6042 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.62, allocations: 4.844 kB / 0.6042 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.6202, allocations: 180.2 kB / 0.6044 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.6202, allocations: 12.36 kB / 0.6044 GB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.6202, allocations: 384 / 0.6044 GB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.6205, allocations: 90.22 kB / 0.6044 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6205, allocations: 192 / 0.6044 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.6205, allocations: 3.938 kB / 0.6045 GB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.6206, allocations: 11.98 kB / 0.6045 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.6208, allocations: 63.95 kB / 0.6045 GB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.6211, allocations: 193.5 kB / 0.6047 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.6215, allocations: 122.8 kB / 0.6048 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.6217, allocations: 64.95 kB / 0.6049 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.892e-05/0.6217, allocations: 11.98 kB / 0.6049 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.6218, allocations: 34.5 kB / 0.6049 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.6218, allocations: 4 kB / 0.6049 GB, free: 0.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.006001/0.6278, allocations: 1.874 MB / 0.6068 GB, free: 14.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.6279, allocations: 63.58 kB / 0.6068 GB, free: 14.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.628, allocations: 89.86 kB / 0.6069 GB, free: 14.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.6281, allocations: 33.7 kB / 0.6069 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.6282, allocations: 80.7 kB / 0.607 GB, free: 14.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.6284, allocations: 102.5 kB / 0.6071 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.6285, allocations: 0 / 0.6071 GB, free: 14.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6286, allocations: 330.8 kB / 0.6074 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.6298, allocations: 475.7 kB / 0.6079 GB, free: 13.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.631, allocations: 475.7 kB / 0.6083 GB, free: 12.98 MB / 426.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.006665/0.6377, allocations: 2.565 MB / 0.6108 GB, free: 10.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6377, allocations: 0 / 0.6108 GB, free: 10.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002808/0.6405, allocations: 1.069 MB / 0.6119 GB, free: 9.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.6406, allocations: 6.969 kB / 0.6119 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002694/0.6433, allocations: 1.035 MB / 0.6129 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.6433, allocations: 4 kB / 0.6129 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004476/0.6478, allocations: 403.1 kB / 0.6133 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.6502, allocations: 1.253 MB / 0.6145 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.6505, allocations: 16.08 kB / 0.6145 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.6507, allocations: 116 kB / 0.6146 GB, free: 6.41 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.0003506/0.6511, allocations: 137.8 kB / 0.6148 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.6512, allocations: 15.84 kB / 0.6148 GB, free: 6.25 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.003554/0.6547, allocations: 1.015 MB / 0.6158 GB, free: 5.234 MB / 426.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.