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.001498/0.001504, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001877/0.001877, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.8 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.2228/0.2228, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 76.53 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1349, allocations: 62.44 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002057/0.137, allocations: 0.5061 MB / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.1375, allocations: 226 kB / 480.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.1375, allocations: 0 / 480.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.257e-05/0.1376, allocations: 8 kB / 480.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.843e-05/0.1377, allocations: 3.938 kB / 480.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.1379, allocations: 51.88 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.928e-05/0.1379, allocations: 15.98 kB / 480.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.413e-05/0.138, allocations: 4 kB / 480.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.138, allocations: 15.91 kB / 480.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.1381, allocations: 19.97 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1381, allocations: 4 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1382, allocations: 51.89 kB / 480.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.1382, allocations: 15.94 kB / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.1383, allocations: 19.86 kB / 480.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1384, allocations: 63.84 kB / 481 MB, free: 4.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1384, allocations: 3.984 kB / 481 MB, free: 4.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1384, allocations: 0 / 481 MB, free: 4.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1384, allocations: 0 / 481 MB, free: 4.285 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.0004707/0.1389, allocations: 355.7 kB / 481.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1389, allocations: 12.02 kB / 481.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.1389, allocations: 0.9375 kB / 481.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1391, allocations: 172.3 kB / 481.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.1391, allocations: 8.297 kB / 481.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1391, allocations: 4.375 kB / 481.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1392, allocations: 90.22 kB / 481.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1392, allocations: 4.188 kB / 481.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1393, allocations: 3.938 kB / 481.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.1393, allocations: 11.98 kB / 481.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.541e-05/0.1394, allocations: 63.95 kB / 481.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.1396, allocations: 197.4 kB / 481.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1398, allocations: 126.8 kB / 482 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.1399, allocations: 68.89 kB / 482.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.14, allocations: 7.984 kB / 482.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.14, allocations: 42.5 kB / 482.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.14, allocations: 0 / 482.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003163/0.1432, allocations: 2.208 MB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1432, allocations: 63.58 kB / 484.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.1433, allocations: 93.84 kB / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.1433, allocations: 29.7 kB / 484.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.1434, allocations: 80.7 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.1435, allocations: 98.55 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.1436, allocations: 93.66 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1437, allocations: 326.8 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.1443, allocations: 0.5778 MB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.1449, allocations: 0.5858 MB / 486.3 MB, free: 14.76 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.00241/0.1473, allocations: 2.048 MB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1473, allocations: 4 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001806/0.1491, allocations: 1.71 MB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1492, allocations: 6.5 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001785/0.1509, allocations: 1.516 MB / 491.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/0.1517, allocations: 412.5 kB / 492 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.1519, allocations: 63.95 kB / 492 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1531, allocations: 1.185 MB / 493.2 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1532, allocations: 8.031 kB / 493.2 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.1533, allocations: 68.03 kB / 493.3 MB, free: 7.707 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.0001893/0.1535, allocations: 149.3 kB / 493.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.1536, allocations: 11.91 kB / 493.5 MB, free: 7.543 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.001684/0.1552, allocations: 0.8941 MB / 494.4 MB, free: 6.656 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.