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.001103/0.001103, allocations: 93.41 kB / 16.67 MB, free: 5.762 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.001153/0.001153, allocations: 179.1 kB / 17.58 MB, free: 5.438 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.013/2.013, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.2707/0.2707, allocations: 43.58 MB / 315.6 MB, free: 424 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.000555/0.000555, allocations: 17.77 kB / 385.2 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1481, allocations: 58.86 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.000709/0.1488, allocations: 244.6 kB / 444.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000588/0.1494, allocations: 248.6 kB / 444.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.1495, allocations: 0 / 444.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1496, allocations: 3.984 kB / 444.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.251e-05/0.1497, allocations: 0 / 444.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1499, allocations: 35.91 kB / 444.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.567e-05/0.15, allocations: 27.91 kB / 444.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.15, allocations: 0 / 444.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.431e-05/0.1501, allocations: 4 kB / 444.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1502, allocations: 27.91 kB / 444.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1502, allocations: 4 kB / 444.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1503, allocations: 47.95 kB / 444.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.1504, allocations: 15.98 kB / 444.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.1504, allocations: 45.55 kB / 444.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.518e-05/0.1505, allocations: 39.95 kB / 444.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1505, allocations: 3.938 kB / 444.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1505, allocations: 0 / 444.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1505, allocations: 0 / 444.8 MB, free: 4.434 MB / 318.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.0005057/0.151, allocations: 347.7 kB / 445.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1511, allocations: 16.03 kB / 445.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.1511, allocations: 8.844 kB / 445.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1513, allocations: 172.3 kB / 445.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1513, allocations: 8.297 kB / 445.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.1513, allocations: 384 / 445.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1515, allocations: 94.22 kB / 445.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1515, allocations: 4.125 kB / 445.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1516, allocations: 3.938 kB / 445.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.1516, allocations: 12 kB / 445.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1517, allocations: 70.2 kB / 445.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.1519, allocations: 197.5 kB / 445.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.1522, allocations: 127.6 kB / 445.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.1523, allocations: 60.83 kB / 445.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.1524, allocations: 12 kB / 445.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1524, allocations: 34.55 kB / 446 MB, free: 3.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1524, allocations: 4 kB / 446 MB, free: 3.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002911/0.1553, allocations: 2.208 MB / 448.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.1553, allocations: 55.64 kB / 448.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.939e-05/0.1554, allocations: 89.86 kB / 448.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.1554, allocations: 29.7 kB / 448.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.016e-05/0.1555, allocations: 80.7 kB / 448.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.852e-05/0.1556, allocations: 102.5 kB / 448.5 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.1556, allocations: 25.7 kB / 448.5 MB, free: 480 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.1557, allocations: 338.8 kB / 448.9 MB, free: 132 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.1564, allocations: 0.5817 MB / 449.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.157, allocations: 0.5817 MB / 450 MB, free: 14.96 MB / 334.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.002764/0.1598, allocations: 2.048 MB / 452.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1598, allocations: 8 kB / 452.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002134/0.162, allocations: 1.71 MB / 453.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.162, allocations: 6.031 kB / 453.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002144/0.1642, allocations: 1.519 MB / 455.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007955/0.165, allocations: 416.5 kB / 455.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.1652, allocations: 59.89 kB / 455.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.1665, allocations: 1.185 MB / 457 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1667, allocations: 7.984 kB / 457 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.1668, allocations: 68.02 kB / 457.1 MB, free: 7.902 MB / 334.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.0002399/0.167, allocations: 149.6 kB / 457.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.1671, allocations: 11.91 kB / 457.2 MB, free: 7.734 MB / 334.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.001753/0.1688, allocations: 0.8789 MB / 458.1 MB, free: 6.863 MB / 334.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.