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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 79.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4252, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001861/0.4271, allocations: 0.5128 MB / 0.5315 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005398/0.4277, allocations: 224.9 kB / 0.5317 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.4277, allocations: 4 kB / 0.5317 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.4279, allocations: 0 / 0.5317 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.381e-05/0.4279, allocations: 7.141 kB / 0.5317 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.4283, allocations: 47.98 kB / 0.5317 GB, free: 13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.258e-05/0.4283, allocations: 17.61 kB / 0.5318 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.4284, allocations: 5.922 kB / 0.5318 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.4284, allocations: 8.531 kB / 0.5318 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.4285, allocations: 25.7 kB / 0.5318 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.4286, allocations: 6.438 kB / 0.5318 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.4287, allocations: 60.58 kB / 0.5319 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.4288, allocations: 13.17 kB / 0.5319 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.4288, allocations: 19.7 kB / 0.5319 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.429, allocations: 71.03 kB / 0.532 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.429, allocations: 0 / 0.532 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.429, allocations: 1.438 kB / 0.532 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.429, allocations: 0 / 0.532 GB, free: 12.86 MB / 398.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.0005281/0.4295, allocations: 356.9 kB / 0.5323 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4296, allocations: 9.875 kB / 0.5323 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.4296, allocations: 6.188 kB / 0.5323 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.4298, allocations: 166.9 kB / 0.5325 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4298, allocations: 384 / 0.5325 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.4298, allocations: 2.969 kB / 0.5325 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.4301, allocations: 104.4 kB / 0.5326 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4301, allocations: 192 / 0.5326 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4301, allocations: 3.938 kB / 0.5326 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.4301, allocations: 8.938 kB / 0.5326 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.4303, allocations: 69.72 kB / 0.5327 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.4306, allocations: 199.1 kB / 0.5329 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.431, allocations: 125.6 kB / 0.533 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.4311, allocations: 64.08 kB / 0.533 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/0.4312, allocations: 11.61 kB / 0.533 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4312, allocations: 38.56 kB / 0.5331 GB, free: 11.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.4312, allocations: 1.469 kB / 0.5331 GB, free: 11.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.004841/0.4361, allocations: 2.214 MB / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.4362, allocations: 57.83 kB / 0.5353 GB, free: 10.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.4363, allocations: 95.92 kB / 0.5354 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.4363, allocations: 26.7 kB / 0.5354 GB, free: 10.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.4364, allocations: 85.67 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.4365, allocations: 102.5 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.4367, allocations: 91.41 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.437, allocations: 326 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000922/0.4379, allocations: 0.5789 MB / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009205/0.4388, allocations: 0.5808 MB / 0.5371 GB, free: 9.82 MB / 398.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.003277/0.4421, allocations: 2.053 MB / 0.5391 GB, free: 9.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4421, allocations: 4 kB / 0.5391 GB, free: 9.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001907/0.444, allocations: 1.714 MB / 0.5408 GB, free: 7.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4441, allocations: 4 kB / 0.5408 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001933/0.446, allocations: 1.516 MB / 0.5423 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000758/0.4468, allocations: 416.5 kB / 0.5427 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.447, allocations: 63.89 kB / 0.5428 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.4482, allocations: 1.189 MB / 0.5439 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.4484, allocations: 4 kB / 0.5439 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.955e-05/0.4485, allocations: 71.97 kB / 0.544 GB, free: 4.145 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.0002623/0.4488, allocations: 141.8 kB / 0.5441 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.4488, allocations: 7.906 kB / 0.5441 GB, free: 3.988 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.001525/0.4503, allocations: 0.8827 MB / 0.545 GB, free: 3.102 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.