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.001561/0.001561, allocations: 195.9 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 226.5 MB / 244 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008343/0.0008339, allocations: 98.64 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3038/0.3038, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002618, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.303, allocations: 62.96 MB / 0.5165 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0005652/0.3036, allocations: 244.1 kB / 0.5167 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000418/0.304, allocations: 217.4 kB / 0.5169 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.3041, allocations: 0 / 0.5169 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.3042, allocations: 2.719 kB / 0.5169 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.435e-05/0.3042, allocations: 6 kB / 0.517 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.3045, allocations: 29.95 kB / 0.517 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.3045, allocations: 17.23 kB / 0.517 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.3046, allocations: 6.781 kB / 0.517 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.3046, allocations: 13.52 kB / 0.517 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.3047, allocations: 19.41 kB / 0.517 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3047, allocations: 6.719 kB / 0.517 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3048, allocations: 47.27 kB / 0.5171 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/0.3049, allocations: 13.11 kB / 0.5171 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.3049, allocations: 47.81 kB / 0.5171 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.809e-05/0.305, allocations: 38.56 kB / 0.5172 GB, free: 36.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.305, allocations: 0 / 0.5172 GB, free: 36.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.305, allocations: 0 / 0.5172 GB, free: 36.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.305, allocations: 0 / 0.5172 GB, free: 36.85 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.0003645/0.3054, allocations: 345.5 kB / 0.5175 GB, free: 36.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3055, allocations: 12.69 kB / 0.5175 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.3055, allocations: 7.875 kB / 0.5175 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.998e-05/0.3056, allocations: 164.3 kB / 0.5177 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3056, allocations: 11.25 kB / 0.5177 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.3056, allocations: 8.297 kB / 0.5177 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3058, allocations: 92.42 kB / 0.5178 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3058, allocations: 192 / 0.5178 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3058, allocations: 3.938 kB / 0.5178 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.3059, allocations: 15.92 kB / 0.5178 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.473e-05/0.306, allocations: 66.17 kB / 0.5179 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.3061, allocations: 194.6 kB / 0.5181 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.3063, allocations: 128 kB / 0.5182 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.3064, allocations: 61.75 kB / 0.5182 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.3065, allocations: 9.969 kB / 0.5183 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.3065, allocations: 40.94 kB / 0.5183 GB, free: 35.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.3065, allocations: 0 / 0.5183 GB, free: 35.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.002639/0.3092, allocations: 2.208 MB / 0.5204 GB, free: 35.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.472e-05/0.3092, allocations: 54.05 kB / 0.5205 GB, free: 35.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.967e-05/0.3092, allocations: 93.86 kB / 0.5206 GB, free: 35.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.3093, allocations: 32.33 kB / 0.5206 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.22e-05/0.3093, allocations: 80.7 kB / 0.5207 GB, free: 35.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.3094, allocations: 106.1 kB / 0.5208 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.3094, allocations: 7.938 kB / 0.5208 GB, free: 34.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.3094, allocations: 328.9 kB / 0.5211 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.3099, allocations: 0.5778 MB / 0.5217 GB, free: 34.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.3104, allocations: 0.5872 MB / 0.5223 GB, free: 34.37 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.002778/0.3132, allocations: 3.099 MB / 0.5253 GB, free: 33.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3132, allocations: 0 / 0.5253 GB, free: 33.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001154/0.3143, allocations: 1.28 MB / 0.5265 GB, free: 33.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3144, allocations: 5.875 kB / 0.5265 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00112/0.3155, allocations: 1.259 MB / 0.5278 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3155, allocations: 3.984 kB / 0.5278 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.3163, allocations: 133.3 kB / 0.5279 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007532/0.3171, allocations: 1.121 MB / 0.529 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3172, allocations: 6.625 kB / 0.529 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.3173, allocations: 64.41 kB / 0.5291 GB, free: 32.18 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.0001658/0.3175, allocations: 141.7 kB / 0.5292 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.3175, allocations: 9.156 kB / 0.5292 GB, free: 32.05 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.001477/0.319, allocations: 0.8973 MB / 0.5301 GB, free: 31.71 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.