Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 195.5 kB / 16.78 MB, free: 4.922 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 226.5 MB / 244.1 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000801/0.000801, allocations: 102.2 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3128/0.3128, allocations: 44.81 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002921, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3018, allocations: 62.96 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.4078, allocations: 86.09 MB / 0.6005 GB, free: 3.281 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.408, allocations: 59.97 kB / 0.6006 GB, free: 3.223 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003791/0.4118, allocations: 1.324 MB / 0.6019 GB, free: 1.898 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4119, allocations: 4 kB / 0.6019 GB, free: 1.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4119, allocations: 0 / 0.6019 GB, free: 1.895 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.0003593/0.4122, allocations: 347.4 kB / 0.6022 GB, free: 1.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4123, allocations: 12.02 kB / 0.6022 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.4123, allocations: 8.844 kB / 0.6022 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.4125, allocations: 168.3 kB / 0.6024 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4125, allocations: 4.359 kB / 0.6024 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.4125, allocations: 4.375 kB / 0.6024 GB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4127, allocations: 90.22 kB / 0.6025 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4127, allocations: 192 / 0.6025 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.4127, allocations: 3.938 kB / 0.6025 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.4128, allocations: 19.98 kB / 0.6025 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.4129, allocations: 63.89 kB / 0.6026 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.4131, allocations: 193.5 kB / 0.6028 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.4134, allocations: 124.9 kB / 0.6029 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.4135, allocations: 60.89 kB / 0.6029 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.4135, allocations: 11.92 kB / 0.603 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.4135, allocations: 34.56 kB / 0.603 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.4136, allocations: 0 / 0.603 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.003479/0.417, allocations: 1.881 MB / 0.6048 GB, free: 14.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.4171, allocations: 55.64 kB / 0.6049 GB, free: 14.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.4172, allocations: 93.86 kB / 0.605 GB, free: 14.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.4172, allocations: 33.83 kB / 0.605 GB, free: 14.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.4173, allocations: 80.7 kB / 0.6051 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4174, allocations: 98.47 kB / 0.6052 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.4174, allocations: 8 kB / 0.6052 GB, free: 14.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.4176, allocations: 330.7 kB / 0.6055 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/0.4182, allocations: 471.7 kB / 0.6059 GB, free: 13.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.4188, allocations: 471.7 kB / 0.6064 GB, free: 13.05 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.003448/0.4222, allocations: 2.565 MB / 0.6089 GB, free: 10.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4222, allocations: 0 / 0.6089 GB, free: 10.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001478/0.4237, allocations: 1.069 MB / 0.6099 GB, free: 9.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4237, allocations: 4 kB / 0.6099 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001385/0.4251, allocations: 1.042 MB / 0.611 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4252, allocations: 0 / 0.611 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/0.4278, allocations: 402.8 kB / 0.6113 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.4292, allocations: 1.257 MB / 0.6126 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.4293, allocations: 8.031 kB / 0.6126 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.4294, allocations: 112 kB / 0.6127 GB, free: 6.48 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.0002037/0.4297, allocations: 141.9 kB / 0.6128 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.4297, allocations: 15.84 kB / 0.6128 GB, free: 6.316 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.002044/0.4318, allocations: 1.023 MB / 0.6138 GB, free: 5.293 MB / 426.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.