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.001234/0.001234, allocations: 117 kB / 18.41 MB, free: 4.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 200.5 kB / 19.36 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 72.45 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1147, allocations: 62.45 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001584/0.1163, allocations: 0.4949 MB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004687/0.1168, allocations: 226 kB / 482.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.1168, allocations: 0 / 482.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.117, allocations: 8 kB / 482.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.721e-05/0.117, allocations: 11.92 kB / 482.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1173, allocations: 43.89 kB / 482.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.678e-05/0.1174, allocations: 23.86 kB / 482.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.1174, allocations: 3.984 kB / 482.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.1174, allocations: 4 kB / 482.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.1175, allocations: 31.89 kB / 482.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1176, allocations: 0 / 482.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1177, allocations: 55.95 kB / 482.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.1177, allocations: 11.98 kB / 482.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.1178, allocations: 23.86 kB / 482.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1179, allocations: 71.72 kB / 482.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1179, allocations: 0 / 482.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1179, allocations: 0 / 482.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1179, allocations: 0 / 482.5 MB, free: 3.543 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.0004731/0.1184, allocations: 355.4 kB / 482.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1185, allocations: 8.031 kB / 482.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.1185, allocations: 0.9375 kB / 482.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1186, allocations: 172.3 kB / 483 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1186, allocations: 8.375 kB / 483 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1187, allocations: 4.375 kB / 483 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1188, allocations: 90.2 kB / 483.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1189, allocations: 4.188 kB / 483.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1189, allocations: 3.938 kB / 483.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.1189, allocations: 15.98 kB / 483.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.119, allocations: 63.95 kB / 483.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.1193, allocations: 193.5 kB / 483.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1195, allocations: 133.2 kB / 483.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.1196, allocations: 68.83 kB / 483.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.1197, allocations: 4 kB / 483.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1197, allocations: 46.55 kB / 483.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.1197, allocations: 4 kB / 483.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003125/0.1228, allocations: 2.206 MB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.1229, allocations: 59.64 kB / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.887e-05/0.123, allocations: 93.86 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.123, allocations: 29.7 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.1231, allocations: 80.7 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1232, allocations: 98.5 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.1233, allocations: 97.64 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1235, allocations: 326.8 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.1241, allocations: 0.5739 MB / 487.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.1246, allocations: 0.5817 MB / 487.7 MB, free: 14.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.002321/0.1269, allocations: 2.06 MB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.127, allocations: 0 / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001786/0.1288, allocations: 1.71 MB / 491.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1288, allocations: 4 kB / 491.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001806/0.1306, allocations: 1.524 MB / 493 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.1313, allocations: 408.5 kB / 493.4 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.1315, allocations: 59.95 kB / 493.5 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.1325, allocations: 1.189 MB / 494.7 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1327, allocations: 8.031 kB / 494.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/0.1327, allocations: 63.97 kB / 494.8 MB, free: 6.961 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.0001813/0.1329, allocations: 145.3 kB / 494.9 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.133, allocations: 15.97 kB / 494.9 MB, free: 6.797 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.001318/0.1343, allocations: 0.8902 MB / 495.8 MB, free: 5.91 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.