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.001477/0.001477, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001644/0.001644, allocations: 192 kB / 18.56 MB, free: 4.434 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.317/1.317, allocations: 222.9 MB / 242.3 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.2188/0.2188, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 69 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001642/0.129, allocations: 0.5082 MB / 469.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004805/0.1295, allocations: 241.8 kB / 470 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.1295, allocations: 0 / 470 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1296, allocations: 3.938 kB / 470 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.267e-05/0.1297, allocations: 4 kB / 470 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1299, allocations: 47.88 kB / 470 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.401e-05/0.13, allocations: 27.92 kB / 470.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.996e-05/0.13, allocations: 0 / 470.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.049e-05/0.1301, allocations: 11.92 kB / 470.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.1302, allocations: 23.97 kB / 470.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1302, allocations: 0 / 470.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1303, allocations: 47.95 kB / 470.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.1303, allocations: 19.92 kB / 470.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.1304, allocations: 15.86 kB / 470.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1305, allocations: 63.84 kB / 470.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1305, allocations: 0 / 470.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1305, allocations: 4 kB / 470.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.1305, allocations: 0 / 470.3 MB, free: 13.36 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.0004629/0.131, allocations: 355.7 kB / 470.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.131, allocations: 8.031 kB / 470.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.1311, allocations: 4.938 kB / 470.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1312, allocations: 168.3 kB / 470.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1312, allocations: 4.375 kB / 470.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1312, allocations: 384 / 470.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1314, allocations: 94.22 kB / 470.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1314, allocations: 4.188 kB / 470.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1314, allocations: 11.86 kB / 470.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.1315, allocations: 8 kB / 470.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1316, allocations: 71.88 kB / 471 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.1318, allocations: 201.5 kB / 471.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.132, allocations: 127.8 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.1321, allocations: 64.95 kB / 471.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.1322, allocations: 11.98 kB / 471.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1322, allocations: 30.56 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.1322, allocations: 0 / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003256/0.1355, allocations: 2.215 MB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1355, allocations: 55.64 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.1356, allocations: 89.86 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.1356, allocations: 33.7 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.1357, allocations: 80.83 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.1358, allocations: 102.5 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.1359, allocations: 89.66 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1361, allocations: 326.8 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.1367, allocations: 0.5895 MB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.1372, allocations: 0.5778 MB / 475.5 MB, free: 7.836 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.002561/0.1398, allocations: 2.049 MB / 477.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1398, allocations: 0 / 477.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001706/0.1415, allocations: 1.71 MB / 479.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1415, allocations: 4 kB / 479.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001795/0.1433, allocations: 1.527 MB / 480.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007048/0.1441, allocations: 408.5 kB / 481.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.1443, allocations: 59.95 kB / 481.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.1455, allocations: 1.185 MB / 482.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.1456, allocations: 8.031 kB / 482.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/0.1457, allocations: 71.97 kB / 482.6 MB, free: 0.7812 MB / 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.0002284/0.1459, allocations: 137.7 kB / 482.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.146, allocations: 15.95 kB / 482.7 MB, free: 0.6211 MB / 350.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.001604/0.1476, allocations: 0.8906 MB / 483.6 MB, free: 15.74 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.