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.000972/0.0009721, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.586/1.586, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4485/0.4485, allocations: 43.56 MB / 315 MB, free: 9.098 MB / 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.0006294/0.0006296, allocations: 16 kB / 384.6 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1526, allocations: 58.87 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0008181/0.1535, allocations: 256.3 kB / 443.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006218/0.1542, allocations: 233.9 kB / 443.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.1542, allocations: 0 / 443.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.1544, allocations: 7.984 kB / 443.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.661e-05/0.1544, allocations: 3.938 kB / 443.9 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1547, allocations: 31.97 kB / 444 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.1548, allocations: 23.97 kB / 444 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.1548, allocations: 4 kB / 444 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.1549, allocations: 7.984 kB / 444 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.155, allocations: 23.86 kB / 444 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.155, allocations: 4 kB / 444 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1551, allocations: 51.95 kB / 444.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.1552, allocations: 11.97 kB / 444.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.1552, allocations: 45.56 kB / 444.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1554, allocations: 71.78 kB / 444.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1554, allocations: 0 / 444.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1555, allocations: 4 kB / 444.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1555, allocations: 0 / 444.2 MB, free: 12.16 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.0006287/0.1561, allocations: 347.7 kB / 444.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1562, allocations: 12.03 kB / 444.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.1562, allocations: 4.844 kB / 444.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.1564, allocations: 168.3 kB / 444.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1564, allocations: 384 / 444.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.1564, allocations: 384 / 444.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1567, allocations: 94.22 kB / 444.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1567, allocations: 4.188 kB / 444.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1567, allocations: 7.938 kB / 444.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.1567, allocations: 11.98 kB / 444.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1569, allocations: 67.89 kB / 444.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.1572, allocations: 193.5 kB / 445.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.1576, allocations: 130.8 kB / 445.2 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1577, allocations: 66.78 kB / 445.3 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.1577, allocations: 11.94 kB / 445.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1578, allocations: 38.5 kB / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.1578, allocations: 0 / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.003704/0.1615, allocations: 2.225 MB / 447.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1616, allocations: 55.64 kB / 447.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.1617, allocations: 89.86 kB / 447.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.1617, allocations: 29.83 kB / 447.7 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.1618, allocations: 84.7 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1619, allocations: 98.55 kB / 447.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.162, allocations: 29.7 kB / 447.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1621, allocations: 330.8 kB / 448.3 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.1628, allocations: 0.5739 MB / 448.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.1635, allocations: 0.5895 MB / 449.4 MB, free: 6.695 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.003009/0.1665, allocations: 2.052 MB / 451.5 MB, free: 4.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1665, allocations: 0 / 451.5 MB, free: 4.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002117/0.1686, allocations: 1.71 MB / 453.2 MB, free: 2.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1687, allocations: 4 kB / 453.2 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001967/0.1707, allocations: 1.516 MB / 454.7 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/0.1714, allocations: 416.5 kB / 455.1 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.1716, allocations: 63.95 kB / 455.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3023/0.4739, allocations: 1.173 MB / 456.4 MB, free: 47.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.4742, allocations: 5.844 kB / 456.4 MB, free: 47.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/0.4743, allocations: 69.25 kB / 456.4 MB, free: 47.1 MB / 382.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.0002531/0.4746, allocations: 139.5 kB / 456.6 MB, free: 46.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.4747, allocations: 13.34 kB / 456.6 MB, free: 46.99 MB / 382.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.001749/0.4764, allocations: 0.8931 MB / 457.5 MB, free: 46.93 MB / 382.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.