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.001627/0.001627, allocations: 114.2 kB / 17.08 MB, free: 6.016 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.001879/0.001879, allocations: 197.3 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.379/0.379, allocations: 43.53 MB / 314.8 MB, free: 464 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.002992/0.002993, allocations: 68.39 kB / 442.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1816, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002886/0.1846, allocations: 0.525 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009207/0.1856, allocations: 232.7 kB / 0.4893 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.1856, allocations: 0 / 0.4893 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.1859, allocations: 3.984 kB / 0.4893 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.513e-05/0.186, allocations: 3.938 kB / 0.4893 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.1865, allocations: 51.88 kB / 0.4893 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.1866, allocations: 15.98 kB / 0.4893 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.568e-05/0.1867, allocations: 8 kB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.927e-05/0.1868, allocations: 11.92 kB / 0.4893 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1869, allocations: 19.92 kB / 0.4894 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.187, allocations: 4 kB / 0.4894 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.1872, allocations: 55.92 kB / 0.4894 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.1873, allocations: 15.98 kB / 0.4894 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.1873, allocations: 11.88 kB / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1876, allocations: 71.77 kB / 0.4895 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1876, allocations: 4 kB / 0.4895 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1876, allocations: 0 / 0.4895 GB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1877, allocations: 4 kB / 0.4895 GB, free: 10.81 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.0007752/0.1885, allocations: 351.4 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.1885, allocations: 11.89 kB / 0.4899 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.1886, allocations: 8.844 kB / 0.4899 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1888, allocations: 168.3 kB / 0.49 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1889, allocations: 4.375 kB / 0.49 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.1889, allocations: 384 / 0.49 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.1892, allocations: 102.2 kB / 0.4901 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1893, allocations: 192 / 0.4901 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.1893, allocations: 3.938 kB / 0.4901 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.1894, allocations: 11.98 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.1896, allocations: 67.95 kB / 0.4902 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.19, allocations: 197.5 kB / 0.4904 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.1905, allocations: 126.8 kB / 0.4905 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.1907, allocations: 68.94 kB / 0.4906 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.294e-05/0.1908, allocations: 15.88 kB / 0.4906 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.1908, allocations: 30.56 kB / 0.4906 GB, free: 9.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.915e-06/0.1908, allocations: 0 / 0.4906 GB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.005956/0.1968, allocations: 2.217 MB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.1969, allocations: 59.62 kB / 0.4929 GB, free: 7.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1971, allocations: 93.86 kB / 0.493 GB, free: 7.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.1971, allocations: 29.83 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.1972, allocations: 84.7 kB / 0.4931 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.1974, allocations: 102.5 kB / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.1977, allocations: 89.66 kB / 0.4932 GB, free: 6.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.1979, allocations: 322.8 kB / 0.4936 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.199, allocations: 0.5856 MB / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.2002, allocations: 0.579 MB / 0.4947 GB, free: 5.27 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.004404/0.2046, allocations: 2.048 MB / 0.4967 GB, free: 3.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2047, allocations: 0 / 0.4967 GB, free: 3.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003351/0.208, allocations: 1.706 MB / 0.4984 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.2081, allocations: 4 kB / 0.4984 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003129/0.2112, allocations: 1.524 MB / 0.4999 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.2123, allocations: 416.4 kB / 0.5002 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.2127, allocations: 59.95 kB / 0.5003 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.2145, allocations: 1.189 MB / 0.5015 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.2147, allocations: 8 kB / 0.5015 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.2148, allocations: 72 kB / 0.5015 GB, free: 14.21 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.0003237/0.2151, allocations: 141.7 kB / 0.5017 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.2152, allocations: 7.906 kB / 0.5017 GB, free: 14.05 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.002292/0.2175, allocations: 0.8942 MB / 0.5026 GB, free: 13.15 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.