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.001181/0.001181, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 46.09 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 85.97 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1431, allocations: 62.43 MB / 480.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002184/0.1453, allocations: 0.5075 MB / 481.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005962/0.146, allocations: 226 kB / 481.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.146, allocations: 0 / 481.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1463, allocations: 7.984 kB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.051e-05/0.1463, allocations: 7.938 kB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.1467, allocations: 51.88 kB / 481.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.61e-05/0.1468, allocations: 15.98 kB / 481.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.1469, allocations: 4 kB / 481.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.1469, allocations: 7.938 kB / 481.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.147, allocations: 19.97 kB / 481.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.147, allocations: 4 kB / 481.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1472, allocations: 59.88 kB / 481.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.1472, allocations: 11.92 kB / 481.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.1473, allocations: 19.81 kB / 481.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1474, allocations: 75.83 kB / 481.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1475, allocations: 0 / 481.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1475, allocations: 0 / 481.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.1475, allocations: 0 / 481.7 MB, free: 4.266 MB / 350.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.0005302/0.148, allocations: 347.7 kB / 482 MB, free: 3.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1481, allocations: 12.03 kB / 482 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.1481, allocations: 0.9375 kB / 482 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1482, allocations: 164.4 kB / 482.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1482, allocations: 8.25 kB / 482.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1483, allocations: 8.375 kB / 482.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1485, allocations: 92.75 kB / 482.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1485, allocations: 192 / 482.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1485, allocations: 11.92 kB / 482.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.1485, allocations: 11.98 kB / 482.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1487, allocations: 63.95 kB / 482.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.149, allocations: 197.5 kB / 482.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.1493, allocations: 130.8 kB / 482.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.1494, allocations: 60.89 kB / 482.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.1495, allocations: 8 kB / 482.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1495, allocations: 34.56 kB / 482.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.897e-06/0.1495, allocations: 3.984 kB / 482.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003389/0.1529, allocations: 2.22 MB / 485 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.153, allocations: 51.64 kB / 485.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.153, allocations: 97.86 kB / 485.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.1531, allocations: 33.64 kB / 485.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.1531, allocations: 80.7 kB / 485.3 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1532, allocations: 98.56 kB / 485.4 MB, free: 344 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.1534, allocations: 93.64 kB / 485.5 MB, free: 244 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1535, allocations: 326.8 kB / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.1541, allocations: 0.5778 MB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.1547, allocations: 0.5817 MB / 487 MB, free: 14.75 MB / 366.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.002378/0.1571, allocations: 2.052 MB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1571, allocations: 0 / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001762/0.1588, allocations: 1.717 MB / 490.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1589, allocations: 6.5 kB / 490.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001864/0.1607, allocations: 1.516 MB / 492.3 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007291/0.1615, allocations: 412.5 kB / 492.7 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.1617, allocations: 63.89 kB / 492.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.1629, allocations: 1.177 MB / 493.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.163, allocations: 11.92 kB / 493.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/0.1631, allocations: 68.02 kB / 494 MB, free: 7.695 MB / 366.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.0002188/0.1634, allocations: 153.2 kB / 494.1 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.1634, allocations: 11.91 kB / 494.1 MB, free: 7.527 MB / 366.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.001596/0.165, allocations: 0.8902 MB / 495 MB, free: 6.645 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.