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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 109.4 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001277, allocations: 188.1 kB / 18.71 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.245/0.245, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.88 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.4688, allocations: 60.81 MB / 0.5189 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001745/0.4706, allocations: 0.5211 MB / 0.5194 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006314/0.4712, allocations: 227.4 kB / 0.5196 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.4713, allocations: 0 / 0.5196 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.4714, allocations: 7.969 kB / 0.5196 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.4715, allocations: 2.188 kB / 0.5196 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.4718, allocations: 53.02 kB / 0.5197 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.657e-05/0.4719, allocations: 21.61 kB / 0.5197 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.4719, allocations: 3.672 kB / 0.5197 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.74e-05/0.472, allocations: 13.33 kB / 0.5197 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.4721, allocations: 28.55 kB / 0.5197 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.4721, allocations: 2.781 kB / 0.5197 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.4723, allocations: 49.17 kB / 0.5198 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.4724, allocations: 21.92 kB / 0.5198 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.4724, allocations: 17.78 kB / 0.5198 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.4727, allocations: 65.03 kB / 0.5199 GB, free: 3.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.4727, allocations: 1.438 kB / 0.5199 GB, free: 3.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4727, allocations: 4 kB / 0.5199 GB, free: 3.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.4727, allocations: 0 / 0.5199 GB, free: 3.277 MB / 382.1 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.0007163/0.4735, allocations: 347.1 kB / 0.5202 GB, free: 2.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.4735, allocations: 10.09 kB / 0.5202 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.197e-05/0.4736, allocations: 10.25 kB / 0.5202 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.4738, allocations: 171.1 kB / 0.5204 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.4738, allocations: 1.875 kB / 0.5204 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.4738, allocations: 7.25 kB / 0.5204 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.4741, allocations: 96.47 kB / 0.5205 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.4741, allocations: 4.188 kB / 0.5205 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.4742, allocations: 4.938 kB / 0.5205 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/0.4742, allocations: 12.2 kB / 0.5205 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.4744, allocations: 68.52 kB / 0.5206 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.4747, allocations: 192.4 kB / 0.5208 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.4751, allocations: 130.5 kB / 0.5209 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4753, allocations: 63.3 kB / 0.521 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.208e-05/0.4754, allocations: 12.38 kB / 0.521 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.4754, allocations: 33.48 kB / 0.521 GB, free: 2.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.552e-06/0.4755, allocations: 0 / 0.521 GB, free: 2.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004315/0.4798, allocations: 2.21 MB / 0.5232 GB, free: 1.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4798, allocations: 55.05 kB / 0.5232 GB, free: 1.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.4799, allocations: 91.84 kB / 0.5233 GB, free: 1.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.4799, allocations: 31.08 kB / 0.5233 GB, free: 1.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.48, allocations: 85.34 kB / 0.5234 GB, free: 1.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.828e-05/0.4801, allocations: 99.25 kB / 0.5235 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.4802, allocations: 92.66 kB / 0.5236 GB, free: 1.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.4803, allocations: 326.3 kB / 0.5239 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/0.4811, allocations: 0.5778 MB / 0.5245 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.4819, allocations: 0.5833 MB / 0.525 GB, free: 0.7812 MB / 382.1 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.002922/0.4848, allocations: 2.061 MB / 0.527 GB, free: 292 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4848, allocations: 0 / 0.527 GB, free: 292 kB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002355/0.4872, allocations: 1.704 MB / 0.5287 GB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4872, allocations: 5.625 kB / 0.5287 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002394/0.4896, allocations: 1.524 MB / 0.5302 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008006/0.4904, allocations: 411.8 kB / 0.5306 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.4907, allocations: 71.39 kB / 0.5307 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.4921, allocations: 1.181 MB / 0.5318 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.4922, allocations: 6.562 kB / 0.5318 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.4923, allocations: 66.97 kB / 0.5319 GB, free: 14.39 MB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: tabx[2] = 1.0 + 0.1 * time. 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003012/0.4926, allocations: 146 kB / 0.532 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.4927, allocations: 12.31 kB / 0.532 GB, free: 14.24 MB / 398.1 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.001675/0.4944, allocations: 0.8884 MB / 0.5329 GB, free: 13.58 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.