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.001364/0.001364, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001492/0.001492, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.371/1.371, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1985/0.1985, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 66.81 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1268, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00175/0.1286, allocations: 0.5065 MB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004842/0.1291, allocations: 229.8 kB / 471.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.1291, allocations: 0 / 471.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1293, allocations: 7.922 kB / 471.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.1294, allocations: 8 kB / 471.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.1297, allocations: 47.81 kB / 471.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.1298, allocations: 19.98 kB / 471.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.1298, allocations: 7.984 kB / 471.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.1299, allocations: 15.92 kB / 471.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.13, allocations: 15.98 kB / 471.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.13, allocations: 4 kB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1301, allocations: 51.94 kB / 471.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.1302, allocations: 19.92 kB / 471.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.1302, allocations: 19.8 kB / 471.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1304, allocations: 63.84 kB / 471.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1304, allocations: 4 kB / 471.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1304, allocations: 4 kB / 471.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1304, allocations: 0 / 471.7 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.0004946/0.1309, allocations: 358.3 kB / 472.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1309, allocations: 15.97 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.131, allocations: 0.9375 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1311, allocations: 160.4 kB / 472.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1311, allocations: 8.375 kB / 472.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1311, allocations: 384 / 472.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1313, allocations: 94.22 kB / 472.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1313, allocations: 4.188 kB / 472.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1314, allocations: 7.938 kB / 472.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.1314, allocations: 19.92 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1315, allocations: 67.89 kB / 472.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.1317, allocations: 197.5 kB / 472.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.132, allocations: 126.9 kB / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.1321, allocations: 64.83 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/0.1322, allocations: 8 kB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1322, allocations: 34.56 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.735e-06/0.1322, allocations: 3.984 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003136/0.1353, allocations: 2.21 MB / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1354, allocations: 59.62 kB / 475.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.1355, allocations: 93.86 kB / 475.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.1355, allocations: 29.7 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.1356, allocations: 84.83 kB / 475.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/0.1357, allocations: 98.55 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.1358, allocations: 89.66 kB / 475.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1359, allocations: 326.8 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/0.1365, allocations: 0.5856 MB / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.1371, allocations: 0.5778 MB / 477 MB, free: 7.117 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.002358/0.1395, allocations: 2.053 MB / 479 MB, free: 5.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1395, allocations: 0 / 479 MB, free: 5.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001778/0.1413, allocations: 1.706 MB / 480.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1413, allocations: 4 kB / 480.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001825/0.1431, allocations: 1.524 MB / 482.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007017/0.1438, allocations: 408.5 kB / 482.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.1441, allocations: 67.89 kB / 482.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.1452, allocations: 1.181 MB / 483.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1453, allocations: 4 kB / 483.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/0.1454, allocations: 68 kB / 484 MB, free: 72 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 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.0002038/0.1456, allocations: 149.6 kB / 484.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.1457, allocations: 7.906 kB / 484.1 MB, free: 15.91 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.001435/0.1471, allocations: 0.8907 MB / 485 MB, free: 15.02 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.