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.001297/0.001297, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.12 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003315/0.003315, allocations: 77.25 kB / 417.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1373, allocations: 62.45 MB / 480.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001725/0.1391, allocations: 0.5749 MB / 480.8 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000504/0.1396, allocations: 219.3 kB / 481 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.1396, allocations: 0 / 481 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1398, allocations: 11.98 kB / 481 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.461e-05/0.1398, allocations: 8 kB / 481 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1401, allocations: 43.89 kB / 481.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.937e-05/0.1401, allocations: 11.98 kB / 481.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.1402, allocations: 4 kB / 481.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.1402, allocations: 15.92 kB / 481.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.1403, allocations: 15.98 kB / 481.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1403, allocations: 4 kB / 481.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1404, allocations: 59.88 kB / 481.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.1405, allocations: 15.92 kB / 481.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.1405, allocations: 23.86 kB / 481.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.1406, allocations: 39.92 kB / 481.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1406, allocations: 0 / 481.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1406, allocations: 0 / 481.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1407, allocations: 0 / 481.2 MB, free: 4.535 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.0005237/0.1412, allocations: 355.7 kB / 481.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1412, allocations: 12.03 kB / 481.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.1413, allocations: 0.9375 kB / 481.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1414, allocations: 164.4 kB / 481.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1414, allocations: 4.375 kB / 481.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1414, allocations: 384 / 481.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1416, allocations: 98.16 kB / 481.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1417, allocations: 192 / 481.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1417, allocations: 7.875 kB / 481.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.1417, allocations: 15.98 kB / 481.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1418, allocations: 67.94 kB / 482 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.1421, allocations: 197.5 kB / 482.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.1424, allocations: 141.5 kB / 482.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.1425, allocations: 56.91 kB / 482.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.1425, allocations: 11.98 kB / 482.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1426, allocations: 34.56 kB / 482.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.1426, allocations: 0 / 482.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003637/0.1462, allocations: 2.21 MB / 484.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.1463, allocations: 55.58 kB / 484.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.1464, allocations: 101.8 kB / 484.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.1464, allocations: 29.7 kB / 484.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.1465, allocations: 80.7 kB / 484.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1466, allocations: 98.56 kB / 485 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.1468, allocations: 89.66 kB / 485 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1469, allocations: 326.7 kB / 485.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.1476, allocations: 0.5856 MB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.1483, allocations: 0.5739 MB / 486.5 MB, free: 15.02 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.002852/0.1512, allocations: 2.061 MB / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1512, allocations: 0 / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00214/0.1534, allocations: 1.71 MB / 490.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1534, allocations: 4 kB / 490.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0021/0.1555, allocations: 1.527 MB / 491.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007971/0.1563, allocations: 408.5 kB / 492.2 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.1566, allocations: 67.89 kB / 492.3 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.1579, allocations: 1.181 MB / 493.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1581, allocations: 4 kB / 493.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.622e-05/0.1582, allocations: 72 kB / 493.5 MB, free: 7.949 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.0002615/0.1584, allocations: 148.2 kB / 493.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.1585, allocations: 11.91 kB / 493.7 MB, free: 7.785 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.001793/0.1603, allocations: 0.8864 MB / 494.6 MB, free: 6.91 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.