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.001252/0.001252, 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.0013/0.0013, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.12 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 79.14 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1288, allocations: 62.45 MB / 480.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001839/0.1307, allocations: 0.5075 MB / 481.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005181/0.1313, allocations: 226 kB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.1313, allocations: 4 kB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1314, allocations: 7.984 kB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.17e-05/0.1315, allocations: 3.984 kB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1317, allocations: 51.83 kB / 481.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.1318, allocations: 19.97 kB / 481.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.1319, allocations: 0 / 481.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.1319, allocations: 11.92 kB / 481.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.85e-05/0.132, allocations: 19.98 kB / 481.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.132, allocations: 0 / 481.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1321, allocations: 51.95 kB / 481.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.1322, allocations: 19.92 kB / 481.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.1322, allocations: 23.84 kB / 481.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1324, allocations: 67.78 kB / 481.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1324, allocations: 0 / 481.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1324, allocations: 0 / 481.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1324, allocations: 0 / 481.8 MB, free: 4.242 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.0005667/0.133, allocations: 351.7 kB / 482.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.133, allocations: 12.03 kB / 482.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.1331, allocations: 0.9375 kB / 482.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.1333, allocations: 176.3 kB / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1333, allocations: 384 / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1333, allocations: 384 / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1335, allocations: 94.17 kB / 482.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1335, allocations: 192 / 482.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1335, allocations: 3.938 kB / 482.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.1336, allocations: 15.98 kB / 482.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.1337, allocations: 63.95 kB / 482.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.134, allocations: 205.5 kB / 482.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.1343, allocations: 122.9 kB / 482.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.1344, allocations: 64.83 kB / 482.8 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.1345, allocations: 8 kB / 482.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1345, allocations: 34.56 kB / 482.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.1345, allocations: 7.938 kB / 482.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003757/0.1383, allocations: 2.223 MB / 485.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.1384, allocations: 55.64 kB / 485.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.1384, allocations: 93.86 kB / 485.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.1385, allocations: 29.7 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.1385, allocations: 80.7 kB / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1387, allocations: 94.56 kB / 485.5 MB, free: 316 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.1388, allocations: 97.64 kB / 485.6 MB, free: 212 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.139, allocations: 322.8 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.1397, allocations: 0.578 MB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.1404, allocations: 0.5895 MB / 487 MB, free: 14.71 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.00274/0.1431, allocations: 2.056 MB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1431, allocations: 0 / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002251/0.1454, allocations: 1.706 MB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.1454, allocations: 6.656 kB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002187/0.1476, allocations: 1.523 MB / 492.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00079/0.1484, allocations: 408.5 kB / 492.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.1487, allocations: 67.89 kB / 492.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.1501, allocations: 1.181 MB / 494 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1503, allocations: 4 kB / 494 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/0.1504, allocations: 76 kB / 494.1 MB, free: 7.656 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.000225/0.1506, allocations: 145.6 kB / 494.2 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1507, allocations: 7.906 kB / 494.2 MB, free: 7.496 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.00173/0.1524, allocations: 0.8942 MB / 495.1 MB, free: 6.609 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.