Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009343, allocations: 93.56 kB / 17.35 MB, free: 6.371 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.0008853/0.0008853, allocations: 171.6 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2085/0.2085, allocations: 44.25 MB / 337.7 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 12.28 kB / 410.3 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 61.92 MB / 472.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0007903/0.1376, allocations: 246.7 kB / 472.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007567/0.1384, allocations: 243.3 kB / 472.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.1384, allocations: 0 / 472.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.1386, allocations: 0 / 472.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.068e-05/0.1386, allocations: 4 kB / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1389, allocations: 35.89 kB / 472.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.139, allocations: 15.98 kB / 472.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.1391, allocations: 0 / 472.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.1391, allocations: 11.92 kB / 472.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1392, allocations: 23.97 kB / 472.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1393, allocations: 4 kB / 472.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1394, allocations: 51.95 kB / 472.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.1395, allocations: 23.86 kB / 472.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.1395, allocations: 45.56 kB / 472.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1397, allocations: 59.84 kB / 473 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1397, allocations: 0 / 473 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1397, allocations: 4 kB / 473 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1397, allocations: 0 / 473 MB, free: 12.64 MB / 350.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.0005997/0.1403, allocations: 339.8 kB / 473.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.1404, allocations: 12.03 kB / 473.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.1404, allocations: 8.844 kB / 473.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1406, allocations: 160.4 kB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1406, allocations: 4.375 kB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.1407, allocations: 8.359 kB / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.1409, allocations: 94.16 kB / 473.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1409, allocations: 192 / 473.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1409, allocations: 7.875 kB / 473.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.141, allocations: 15.98 kB / 473.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1411, allocations: 63.95 kB / 473.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.1414, allocations: 201.5 kB / 473.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.1417, allocations: 122.8 kB / 474 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1418, allocations: 64.95 kB / 474.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-05/0.1419, allocations: 12 kB / 474.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1419, allocations: 34.56 kB / 474.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.1419, allocations: 0 / 474.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003563/0.1455, allocations: 2.213 MB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.1456, allocations: 59.64 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.668e-05/0.1456, allocations: 93.86 kB / 476.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.1457, allocations: 29.7 kB / 476.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.1457, allocations: 80.7 kB / 476.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1458, allocations: 98.55 kB / 476.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.1459, allocations: 29.7 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1461, allocations: 330.9 kB / 477 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.1467, allocations: 0.5817 MB / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000634/0.1473, allocations: 0.5883 MB / 478.2 MB, free: 7.176 MB / 350.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.002565/0.1499, allocations: 2.049 MB / 480.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1499, allocations: 4 kB / 480.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001887/0.1518, allocations: 1.71 MB / 482 MB, free: 3.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1518, allocations: 8 kB / 482 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00194/0.1538, allocations: 1.523 MB / 483.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007195/0.1545, allocations: 412.5 kB / 483.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.1548, allocations: 67.89 kB / 484 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1559, allocations: 1.177 MB / 485.1 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.156, allocations: 8.031 kB / 485.2 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.1561, allocations: 67.97 kB / 485.2 MB, free: 120 kB / 350.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.0002197/0.1563, allocations: 145.7 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.1564, allocations: 7.906 kB / 485.4 MB, free: 15.96 MB / 366.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.001682/0.1581, allocations: 0.8829 MB / 486.3 MB, free: 15.08 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.