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.001245/0.001245, allocations: 98.56 kB / 16.26 MB, free: 5.961 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.001282/0.001283, allocations: 192.9 kB / 17.2 MB, free: 5.594 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.635/1.635, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2455/0.2455, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001505/0.001505, allocations: 75 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1586, allocations: 57.79 MB / 440.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001815/0.1605, allocations: 0.513 MB / 441 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005784/0.1611, allocations: 226.5 kB / 441.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.1611, allocations: 0 / 441.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1613, allocations: 11.92 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.353e-05/0.1613, allocations: 0 / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1617, allocations: 55.81 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.012e-05/0.1617, allocations: 19.92 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.1618, allocations: 4 kB / 441.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.1618, allocations: 15.97 kB / 441.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.162, allocations: 19.92 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.162, allocations: 4 kB / 441.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1621, allocations: 47.95 kB / 441.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.1622, allocations: 15.92 kB / 441.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.1622, allocations: 19.86 kB / 441.5 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1624, allocations: 67.78 kB / 441.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1624, allocations: 3.938 kB / 441.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1624, allocations: 0 / 441.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1624, allocations: 0 / 441.5 MB, free: 5.918 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.000503/0.1629, allocations: 367.7 kB / 441.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1629, allocations: 15.89 kB / 441.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.163, allocations: 4.844 kB / 441.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.262e-05/0.1631, allocations: 164.4 kB / 442.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1631, allocations: 384 / 442.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.1631, allocations: 4.359 kB / 442.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1633, allocations: 97.55 kB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1633, allocations: 4.125 kB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1634, allocations: 7.938 kB / 442.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.1634, allocations: 15.98 kB / 442.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.1635, allocations: 63.95 kB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.1637, allocations: 193.5 kB / 442.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.164, allocations: 126.9 kB / 442.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.024e-05/0.164, allocations: 68.89 kB / 442.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.1641, allocations: 8 kB / 442.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1641, allocations: 30.56 kB / 442.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.1641, allocations: 4 kB / 442.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002722/0.1668, allocations: 2.202 MB / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1669, allocations: 51.64 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.001e-05/0.1669, allocations: 93.86 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.167, allocations: 29.7 kB / 445 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.565e-05/0.167, allocations: 80.7 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.955e-05/0.1671, allocations: 102.5 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.1672, allocations: 101.8 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.1673, allocations: 326.7 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.1677, allocations: 0.5817 MB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.1681, allocations: 0.5783 MB / 446.8 MB, free: 400 kB / 318.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.002435/0.1706, allocations: 2.068 MB / 448.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1706, allocations: 0 / 448.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001915/0.1725, allocations: 1.698 MB / 450.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1725, allocations: 4 kB / 450.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002028/0.1746, allocations: 1.527 MB / 452.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007492/0.1753, allocations: 412.5 kB / 452.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.1756, allocations: 67.89 kB / 452.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.1769, allocations: 1.185 MB / 453.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.177, allocations: 4 kB / 453.8 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/0.1771, allocations: 71.94 kB / 453.8 MB, free: 9.32 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 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.0002326/0.1774, allocations: 149.7 kB / 454 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.1774, allocations: 7.906 kB / 454 MB, free: 9.156 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.001625/0.179, allocations: 0.8867 MB / 454.9 MB, free: 8.273 MB / 334.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.