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.001088/0.001088, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001165/0.001165, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.311/1.311, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.207/0.207, allocations: 44.17 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 60.38 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09908, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00193/0.1011, allocations: 0.5075 MB / 470.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005367/0.1016, allocations: 233.8 kB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.1017, allocations: 0 / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.1019, allocations: 4 kB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.399e-05/0.1019, allocations: 3.938 kB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1022, allocations: 55.88 kB / 470.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.857e-05/0.1023, allocations: 19.92 kB / 470.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.1023, allocations: 4 kB / 470.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.692e-05/0.1023, allocations: 15.92 kB / 470.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.448e-05/0.1024, allocations: 19.97 kB / 470.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1025, allocations: 4 kB / 470.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1026, allocations: 47.95 kB / 470.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.1026, allocations: 11.92 kB / 470.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.1027, allocations: 19.86 kB / 470.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1028, allocations: 67.84 kB / 470.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1028, allocations: 4 kB / 470.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1028, allocations: 0 / 470.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1029, allocations: 0 / 470.9 MB, free: 13.37 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.0005309/0.1034, allocations: 351.7 kB / 471.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1034, allocations: 8.031 kB / 471.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.1035, allocations: 4.922 kB / 471.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1036, allocations: 168.3 kB / 471.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1036, allocations: 384 / 471.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1037, allocations: 4.375 kB / 471.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.1038, allocations: 98.22 kB / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1039, allocations: 4.125 kB / 471.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1039, allocations: 7.922 kB / 471.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.1039, allocations: 8 kB / 471.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.104, allocations: 71.88 kB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.1043, allocations: 193.5 kB / 471.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.1045, allocations: 133.5 kB / 472 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.1046, allocations: 64.89 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/0.1047, allocations: 7.984 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1047, allocations: 34.56 kB / 472.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.1047, allocations: 3.938 kB / 472.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003362/0.1081, allocations: 2.215 MB / 474.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1082, allocations: 55.64 kB / 474.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.416e-05/0.1082, allocations: 89.86 kB / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.1083, allocations: 29.83 kB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.1083, allocations: 92.69 kB / 474.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1084, allocations: 94.56 kB / 474.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.1086, allocations: 93.66 kB / 474.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1087, allocations: 326.8 kB / 475 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/0.1093, allocations: 0.5817 MB / 475.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.1099, allocations: 0.5778 MB / 476.2 MB, free: 7.848 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.002446/0.1124, allocations: 2.045 MB / 478.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1124, allocations: 0 / 478.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001832/0.1142, allocations: 1.713 MB / 480 MB, free: 4.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1143, allocations: 8 kB / 480 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001847/0.1161, allocations: 1.519 MB / 481.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007419/0.1169, allocations: 412.5 kB / 481.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1171, allocations: 59.95 kB / 482 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.1183, allocations: 1.185 MB / 483.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.1184, allocations: 8.031 kB / 483.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.1185, allocations: 71.97 kB / 483.2 MB, free: 0.793 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.0002132/0.1187, allocations: 137.8 kB / 483.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.1188, allocations: 15.89 kB / 483.4 MB, free: 0.6328 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.001658/0.1205, allocations: 0.8828 MB / 484.2 MB, free: 15.76 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.