Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001115, allocations: 94.69 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 182.2 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 243 MB, free: 14.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1904/0.1904, allocations: 44.25 MB / 338.3 MB, free: 2.371 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003325, allocations: 8 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0006554/0.1224, allocations: 242.9 kB / 473.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005845/0.123, allocations: 243.3 kB / 473.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.1231, allocations: 0 / 473.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1232, allocations: 4 kB / 473.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.416e-05/0.1233, allocations: 3.984 kB / 473.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1235, allocations: 31.91 kB / 473.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.337e-05/0.1236, allocations: 19.97 kB / 473.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.1236, allocations: 4 kB / 473.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.552e-05/0.1236, allocations: 11.94 kB / 473.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1238, allocations: 23.95 kB / 473.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1238, allocations: 8 kB / 473.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1239, allocations: 51.95 kB / 473.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.1239, allocations: 11.92 kB / 473.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.124, allocations: 41.58 kB / 473.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.781e-05/0.1241, allocations: 39.92 kB / 473.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1241, allocations: 4 kB / 473.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1241, allocations: 0 / 473.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1241, allocations: 0 / 473.6 MB, free: 12.56 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.0004739/0.1246, allocations: 343.8 kB / 474 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1246, allocations: 11.97 kB / 474 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.1247, allocations: 12.84 kB / 474 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1248, allocations: 160.4 kB / 474.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1248, allocations: 4.375 kB / 474.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.1249, allocations: 8.359 kB / 474.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.125, allocations: 86.23 kB / 474.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1251, allocations: 192 / 474.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1251, allocations: 7.938 kB / 474.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/0.1251, allocations: 15.98 kB / 474.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1253, allocations: 67.89 kB / 474.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.1255, allocations: 205.5 kB / 474.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.1258, allocations: 122.8 kB / 474.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.1259, allocations: 64.95 kB / 474.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.1259, allocations: 8 kB / 474.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1259, allocations: 38.56 kB / 474.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.1259, allocations: 0 / 474.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003353/0.1293, allocations: 2.213 MB / 477 MB, free: 9.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1294, allocations: 55.64 kB / 477 MB, free: 8.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.1294, allocations: 97.86 kB / 477.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.1295, allocations: 29.7 kB / 477.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.1295, allocations: 80.7 kB / 477.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1296, allocations: 94.56 kB / 477.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.1297, allocations: 33.64 kB / 477.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1298, allocations: 334.8 kB / 477.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/0.1304, allocations: 0.5778 MB / 478.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/0.131, allocations: 0.5844 MB / 478.8 MB, free: 7.098 MB / 350.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.002483/0.1335, allocations: 2.052 MB / 480.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1336, allocations: 0 / 480.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001907/0.1355, allocations: 1.71 MB / 482.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1355, allocations: 8 kB / 482.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001979/0.1375, allocations: 1.527 MB / 484.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000694/0.1382, allocations: 404.5 kB / 484.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1384, allocations: 63.89 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.1395, allocations: 1.189 MB / 485.8 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.1397, allocations: 4 kB / 485.8 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.1397, allocations: 67.97 kB / 485.9 MB, free: 40 kB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0002111/0.14, allocations: 141.7 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.14, allocations: 7.906 kB / 486 MB, free: 15.88 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.001666/0.1417, allocations: 0.8869 MB / 486.9 MB, free: 15 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.