Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001401/0.001401, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2322/0.2322, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 73.41 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1435, allocations: 57.77 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002033/0.1456, allocations: 0.5258 MB / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007213/0.1463, allocations: 235 kB / 0.4886 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.1464, allocations: 0 / 0.4886 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.1466, allocations: 4 kB / 0.4886 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.208e-05/0.1466, allocations: 3.938 kB / 0.4886 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.147, allocations: 51.88 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.1471, allocations: 19.98 kB / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.1472, allocations: 7.984 kB / 0.4887 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.1472, allocations: 11.92 kB / 0.4887 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1474, allocations: 23.91 kB / 0.4887 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1474, allocations: 4 kB / 0.4887 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1475, allocations: 51.95 kB / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.1476, allocations: 15.92 kB / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.1476, allocations: 19.91 kB / 0.4888 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1478, allocations: 67.78 kB / 0.4889 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1478, allocations: 4 kB / 0.4889 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1478, allocations: 0 / 0.4889 GB, free: 10.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1479, allocations: 0 / 0.4889 GB, free: 10.76 MB / 382.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.0006201/0.1485, allocations: 351.4 kB / 0.4892 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1485, allocations: 11.89 kB / 0.4892 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.1486, allocations: 8.844 kB / 0.4892 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.1488, allocations: 168.3 kB / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1488, allocations: 384 / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1488, allocations: 16.34 kB / 0.4894 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.149, allocations: 90.23 kB / 0.4895 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.149, allocations: 192 / 0.4895 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1491, allocations: 3.938 kB / 0.4895 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.1491, allocations: 15.98 kB / 0.4895 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1492, allocations: 67.89 kB / 0.4896 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.1495, allocations: 197.5 kB / 0.4898 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.1498, allocations: 130.8 kB / 0.4899 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.515e-05/0.1498, allocations: 64.95 kB / 0.49 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.157e-05/0.1499, allocations: 11.94 kB / 0.49 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1499, allocations: 34.56 kB / 0.49 GB, free: 9.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.786e-06/0.15, allocations: 0 / 0.49 GB, free: 9.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.003312/0.1533, allocations: 2.213 MB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.1533, allocations: 55.64 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.1534, allocations: 93.86 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.1535, allocations: 33.7 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.1535, allocations: 88.81 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1536, allocations: 94.56 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1537, allocations: 93.64 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1539, allocations: 326.8 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.1545, allocations: 0.5739 MB / 0.4935 GB, free: 5.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.1551, allocations: 0.5829 MB / 0.494 GB, free: 5.223 MB / 382.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.002492/0.1576, allocations: 2.048 MB / 0.496 GB, free: 3.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1576, allocations: 0 / 0.496 GB, free: 3.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001853/0.1594, allocations: 1.714 MB / 0.4977 GB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1595, allocations: 4 kB / 0.4977 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001907/0.1614, allocations: 1.524 MB / 0.4992 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007178/0.1621, allocations: 416.5 kB / 0.4996 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.1623, allocations: 55.95 kB / 0.4997 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.1636, allocations: 1.192 MB / 0.5008 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1637, allocations: 8.031 kB / 0.5008 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/0.1638, allocations: 67.97 kB / 0.5009 GB, free: 14.16 MB / 398.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.0001888/0.164, allocations: 137.7 kB / 0.501 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.1641, allocations: 7.906 kB / 0.501 GB, free: 14.01 MB / 398.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.00155/0.1656, allocations: 0.8943 MB / 0.5019 GB, free: 13.11 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.