Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 173.9 kB / 16.72 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007822/0.0007822, allocations: 86.3 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3074/0.3074, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003425, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.09953, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.000558/0.1001, allocations: 248.3 kB / 491.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004404/0.1006, allocations: 221.9 kB / 491.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.1006, allocations: 3.938 kB / 491.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1008, allocations: 4 kB / 491.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.137e-05/0.1008, allocations: 0 / 491.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.101, allocations: 43.89 kB / 491.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.663e-05/0.1011, allocations: 11.98 kB / 491.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.1011, allocations: 4 kB / 491.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.138e-05/0.1011, allocations: 15.92 kB / 491.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.1012, allocations: 23.97 kB / 491.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1013, allocations: 0 / 491.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.1013, allocations: 39.97 kB / 491.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.1014, allocations: 23.91 kB / 491.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.1014, allocations: 41.62 kB / 491.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.863e-05/0.1015, allocations: 39.92 kB / 491.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1015, allocations: 7.938 kB / 491.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1016, allocations: 4 kB / 491.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1016, allocations: 3.938 kB / 491.5 MB, free: 10.16 MB / 378.7 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.0003976/0.102, allocations: 339.7 kB / 491.9 MB, free: 9.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.102, allocations: 12.03 kB / 491.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.1021, allocations: 8.844 kB / 491.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1022, allocations: 168.4 kB / 492.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.1022, allocations: 384 / 492.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1022, allocations: 4.375 kB / 492.1 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1024, allocations: 94.22 kB / 492.2 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1024, allocations: 4.125 kB / 492.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1024, allocations: 7.938 kB / 492.2 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.1024, allocations: 11.98 kB / 492.2 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1026, allocations: 63.95 kB / 492.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.1028, allocations: 189.5 kB / 492.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.103, allocations: 130.8 kB / 492.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.1031, allocations: 60.97 kB / 492.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.1032, allocations: 15.97 kB / 492.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1032, allocations: 34.56 kB / 492.7 MB, free: 8.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.534e-06/0.1032, allocations: 0 / 492.7 MB, free: 8.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.003033/0.1062, allocations: 2.217 MB / 494.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1063, allocations: 55.64 kB / 494.9 MB, free: 6.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.284e-05/0.1063, allocations: 97.84 kB / 495 MB, free: 6.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.1064, allocations: 33.83 kB / 495.1 MB, free: 6.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.1064, allocations: 80.7 kB / 495.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.401e-05/0.1065, allocations: 98.55 kB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1065, allocations: 8 kB / 495.2 MB, free: 6.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1067, allocations: 322.8 kB / 495.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.1072, allocations: 0.5739 MB / 496.1 MB, free: 5.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.1078, allocations: 0.5856 MB / 496.7 MB, free: 4.738 MB / 378.7 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.003257/0.111, allocations: 3.104 MB / 499.8 MB, free: 1.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1111, allocations: 0 / 499.8 MB, free: 1.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001307/0.1124, allocations: 1.279 MB / 0.4894 GB, free: 260 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1124, allocations: 11.28 kB / 0.4894 GB, free: 252 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1765/0.2889, allocations: 1.259 MB / 0.4906 GB, free: 44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.289, allocations: 0 / 0.4906 GB, free: 44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/0.2898, allocations: 128.2 kB / 0.4907 GB, free: 44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008497/0.2907, allocations: 1.115 MB / 0.4918 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.2908, allocations: 6.734 kB / 0.4918 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.354e-05/0.2909, allocations: 66.59 kB / 0.4919 GB, free: 43.41 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: taby[6] = tabx[6] ^ 2.0. 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.2911, allocations: 140 kB / 0.492 GB, free: 43.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.2911, allocations: 15.16 kB / 0.492 GB, free: 43.3 MB / 378.7 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.001565/0.2927, allocations: 0.8839 MB / 0.4929 GB, free: 43.24 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.