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.001642/0.001642, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001366/0.001367, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.677/1.677, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2286/0.2286, allocations: 43.53 MB / 314.1 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.001623/0.001623, allocations: 71.89 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1545, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00185/0.1564, allocations: 0.5066 MB / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005773/0.157, allocations: 235 kB / 0.4886 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.157, allocations: 0 / 0.4886 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.1572, allocations: 4 kB / 0.4886 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.1573, allocations: 3.938 kB / 0.4886 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1576, allocations: 47.88 kB / 0.4887 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.1576, allocations: 23.92 kB / 0.4887 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.1577, allocations: 7.984 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.1577, allocations: 11.98 kB / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1579, allocations: 19.92 kB / 0.4887 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1579, allocations: 8 kB / 0.4887 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.158, allocations: 51.94 kB / 0.4888 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.1581, allocations: 11.98 kB / 0.4888 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.1581, allocations: 19.86 kB / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1583, allocations: 67.78 kB / 0.4889 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1583, allocations: 0 / 0.4889 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1583, allocations: 0 / 0.4889 GB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1583, allocations: 0 / 0.4889 GB, free: 10.79 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.0005604/0.1589, allocations: 359.4 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1589, allocations: 15.89 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.159, allocations: 8.844 kB / 0.4892 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1591, allocations: 168.3 kB / 0.4894 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1591, allocations: 384 / 0.4894 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1591, allocations: 4.375 kB / 0.4894 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1593, allocations: 98.16 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1594, allocations: 192 / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.1594, allocations: 7.922 kB / 0.4895 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.1594, allocations: 11.98 kB / 0.4895 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1596, allocations: 67.61 kB / 0.4896 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.1598, allocations: 201.5 kB / 0.4898 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.1601, allocations: 126.8 kB / 0.4899 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.1602, allocations: 72.89 kB / 0.49 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-05/0.1602, allocations: 12 kB / 0.49 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1603, allocations: 30.56 kB / 0.49 GB, free: 9.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.1603, allocations: 0 / 0.49 GB, free: 9.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.0034/0.1637, allocations: 2.217 MB / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1637, allocations: 55.64 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.1638, allocations: 89.86 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.1639, allocations: 33.7 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.1639, allocations: 80.7 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.164, allocations: 98.55 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.1642, allocations: 89.66 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1643, allocations: 326.9 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006289/0.165, allocations: 0.5817 MB / 0.4935 GB, free: 5.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.1656, allocations: 0.5829 MB / 0.494 GB, free: 5.25 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.002597/0.1682, allocations: 2.044 MB / 0.496 GB, free: 3.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1682, allocations: 4 kB / 0.496 GB, free: 3.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001885/0.1701, allocations: 1.714 MB / 0.4977 GB, free: 1.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1701, allocations: 4 kB / 0.4977 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002007/0.1721, allocations: 1.524 MB / 0.4992 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007467/0.1729, allocations: 408.5 kB / 0.4996 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.1731, allocations: 59.97 kB / 0.4997 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.1743, allocations: 1.192 MB / 0.5008 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1745, allocations: 7.984 kB / 0.5008 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/0.1746, allocations: 63.98 kB / 0.5009 GB, free: 14.2 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.0002458/0.1748, allocations: 149.8 kB / 0.501 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.1749, allocations: 7.906 kB / 0.501 GB, free: 14.03 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.001562/0.1764, allocations: 0.8903 MB / 0.5019 GB, free: 13.13 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.