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.001431/0.001431, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.5 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007687/0.0007687, allocations: 95.72 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3148/0.3148, allocations: 44.81 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002838, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3458, allocations: 62.96 MB / 0.5159 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0006459/0.3465, allocations: 243.9 kB / 0.5161 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.347, allocations: 210 kB / 0.5163 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.347, allocations: 0 / 0.5163 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.3471, allocations: 5.562 kB / 0.5163 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.615e-05/0.3472, allocations: 6.906 kB / 0.5163 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3474, allocations: 26.05 kB / 0.5163 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.369e-05/0.3475, allocations: 27 kB / 0.5164 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.3475, allocations: 4 kB / 0.5164 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.181e-05/0.3476, allocations: 9.062 kB / 0.5164 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.3477, allocations: 22.69 kB / 0.5164 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3477, allocations: 7.875 kB / 0.5164 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.3478, allocations: 39.7 kB / 0.5164 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.3478, allocations: 13.03 kB / 0.5165 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.3479, allocations: 47.91 kB / 0.5165 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.105e-05/0.348, allocations: 38.16 kB / 0.5165 GB, free: 36.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.348, allocations: 4 kB / 0.5165 GB, free: 36.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.348, allocations: 0 / 0.5165 GB, free: 36.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.348, allocations: 4 kB / 0.5166 GB, free: 36.78 MB / 378.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.0003842/0.3484, allocations: 342.5 kB / 0.5169 GB, free: 36.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3484, allocations: 8.969 kB / 0.5169 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.3485, allocations: 8.844 kB / 0.5169 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.18e-05/0.3486, allocations: 171.2 kB / 0.5171 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3486, allocations: 384 / 0.5171 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3486, allocations: 3.312 kB / 0.5171 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3488, allocations: 103.4 kB / 0.5172 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3488, allocations: 4.188 kB / 0.5172 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3488, allocations: 3.938 kB / 0.5172 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.3488, allocations: 12.17 kB / 0.5172 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.349, allocations: 61.38 kB / 0.5172 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.3491, allocations: 196.8 kB / 0.5174 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.3494, allocations: 126.8 kB / 0.5175 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.4e-05/0.3495, allocations: 61.95 kB / 0.5176 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.3495, allocations: 13.22 kB / 0.5176 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.3495, allocations: 37.31 kB / 0.5177 GB, free: 35.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.3495, allocations: 3.938 kB / 0.5177 GB, free: 35.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.002914/0.3525, allocations: 2.213 MB / 0.5198 GB, free: 35.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3525, allocations: 58.58 kB / 0.5199 GB, free: 35.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.3526, allocations: 89.86 kB / 0.52 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.3526, allocations: 32.7 kB / 0.52 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.3527, allocations: 84.7 kB / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.86e-05/0.3527, allocations: 100.2 kB / 0.5202 GB, free: 34.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.3528, allocations: 4 kB / 0.5202 GB, free: 34.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3529, allocations: 328.1 kB / 0.5205 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/0.3535, allocations: 0.5815 MB / 0.5211 GB, free: 34.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.3541, allocations: 0.5815 MB / 0.5216 GB, free: 34.3 MB / 378.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.002941/0.357, allocations: 3.105 MB / 0.5247 GB, free: 33.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.357, allocations: 0 / 0.5247 GB, free: 33.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001153/0.3582, allocations: 1.277 MB / 0.5259 GB, free: 33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3582, allocations: 5.844 kB / 0.5259 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001141/0.3594, allocations: 1.26 MB / 0.5271 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3594, allocations: 2.188 kB / 0.5271 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.3602, allocations: 130.3 kB / 0.5273 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007887/0.361, allocations: 1.122 MB / 0.5284 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.3611, allocations: 6.625 kB / 0.5284 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.3612, allocations: 67.08 kB / 0.5284 GB, free: 32.11 MB / 378.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.0001986/0.3614, allocations: 143.7 kB / 0.5286 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.3614, allocations: 13.09 kB / 0.5286 GB, free: 31.97 MB / 378.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.001456/0.3629, allocations: 0.8905 MB / 0.5294 GB, free: 31.65 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.