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.001648/0.001649, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.002062/0.002062, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.454/1.454, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2017/0.2017, allocations: 43.52 MB / 314.8 MB, free: 468 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.001538/0.001538, allocations: 65.45 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1141, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001707/0.1158, allocations: 0.5221 MB / 0.489 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005275/0.1164, allocations: 224.8 kB / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.1164, allocations: 7.938 kB / 0.4893 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.1166, allocations: 15.88 kB / 0.4893 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.358e-05/0.1166, allocations: 0 / 0.4893 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1169, allocations: 51.81 kB / 0.4893 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.384e-05/0.117, allocations: 15.98 kB / 0.4893 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.117, allocations: 4 kB / 0.4893 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.1171, allocations: 11.98 kB / 0.4894 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1172, allocations: 23.91 kB / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1172, allocations: 4 kB / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1173, allocations: 55.94 kB / 0.4894 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.1174, allocations: 11.98 kB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.1174, allocations: 15.88 kB / 0.4895 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1176, allocations: 75.7 kB / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1176, allocations: 0 / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1176, allocations: 0 / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1176, allocations: 0 / 0.4895 GB, free: 10.77 MB / 382.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.0004634/0.1181, allocations: 355.4 kB / 0.4899 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1181, allocations: 11.89 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1181, allocations: 12.84 kB / 0.4899 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1183, allocations: 164.3 kB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1183, allocations: 4.359 kB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1183, allocations: 4.375 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1185, allocations: 94.22 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1185, allocations: 4.125 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1185, allocations: 3.938 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.1185, allocations: 11.98 kB / 0.4902 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1187, allocations: 67.94 kB / 0.4902 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.1189, allocations: 201.5 kB / 0.4904 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.1191, allocations: 122.8 kB / 0.4905 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.1192, allocations: 68.95 kB / 0.4906 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.1193, allocations: 8 kB / 0.4906 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1193, allocations: 34.56 kB / 0.4907 GB, free: 9.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.1193, allocations: 0 / 0.4907 GB, free: 9.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.003162/0.1225, allocations: 2.213 MB / 0.4928 GB, free: 7.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1225, allocations: 63.58 kB / 0.4929 GB, free: 7.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/0.1226, allocations: 89.86 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.1226, allocations: 33.7 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.1227, allocations: 80.7 kB / 0.4931 GB, free: 6.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.178e-05/0.1228, allocations: 98.55 kB / 0.4932 GB, free: 6.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1229, allocations: 89.66 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.123, allocations: 326.8 kB / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.1236, allocations: 0.5818 MB / 0.4941 GB, free: 5.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.1242, allocations: 0.5869 MB / 0.4947 GB, free: 5.234 MB / 382.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.002338/0.1265, allocations: 2.048 MB / 0.4967 GB, free: 3.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1265, allocations: 0 / 0.4967 GB, free: 3.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001766/0.1283, allocations: 1.706 MB / 0.4984 GB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1283, allocations: 11.98 kB / 0.4984 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001794/0.1301, allocations: 1.52 MB / 0.4999 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000683/0.1308, allocations: 412.5 kB / 0.5003 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.1311, allocations: 59.91 kB / 0.5003 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.1321, allocations: 1.185 MB / 0.5015 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.1322, allocations: 12.02 kB / 0.5015 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.1323, allocations: 71.98 kB / 0.5016 GB, free: 14.18 MB / 398.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.0002246/0.1326, allocations: 152.3 kB / 0.5017 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.1326, allocations: 7.906 kB / 0.5017 GB, free: 14.01 MB / 398.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.001409/0.134, allocations: 0.8825 MB / 0.5026 GB, free: 13.12 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Math.TestInterpolateTimeVarying could not be translated