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.001064/0.001064, allocations: 109.3 kB / 18.45 MB, free: 4.59 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.001139/0.001139, allocations: 179 kB / 19.38 MB, free: 3.672 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.281/1.281, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2086/0.2086, allocations: 44.17 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3337, allocations: 60.81 MB / 0.5195 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0016/0.3354, allocations: 0.5205 MB / 0.5201 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004948/0.3359, allocations: 222.4 kB / 0.5203 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.3359, allocations: 0 / 0.5203 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.3361, allocations: 7.719 kB / 0.5203 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.619e-05/0.3361, allocations: 6.594 kB / 0.5203 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.3364, allocations: 52.27 kB / 0.5203 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.3365, allocations: 17.64 kB / 0.5203 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.3365, allocations: 3.734 kB / 0.5204 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.3366, allocations: 13.64 kB / 0.5204 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.3367, allocations: 19.88 kB / 0.5204 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3367, allocations: 1.969 kB / 0.5204 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.3369, allocations: 54.8 kB / 0.5204 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.3369, allocations: 21.56 kB / 0.5205 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.3369, allocations: 17.47 kB / 0.5205 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.3371, allocations: 69.69 kB / 0.5205 GB, free: 3.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3371, allocations: 4.844 kB / 0.5205 GB, free: 3.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3371, allocations: 0 / 0.5205 GB, free: 3.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3371, allocations: 3.938 kB / 0.5206 GB, free: 3.012 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.0004571/0.3376, allocations: 356.2 kB / 0.5209 GB, free: 2.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3376, allocations: 9.812 kB / 0.5209 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.3377, allocations: 7.047 kB / 0.5209 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/0.3378, allocations: 162.6 kB / 0.5211 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3378, allocations: 9.281 kB / 0.5211 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.3378, allocations: 7.562 kB / 0.5211 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.338, allocations: 89.55 kB / 0.5212 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3381, allocations: 192 / 0.5212 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3381, allocations: 3.938 kB / 0.5212 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.3381, allocations: 15.14 kB / 0.5212 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.3382, allocations: 65.89 kB / 0.5212 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.3384, allocations: 198.4 kB / 0.5214 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.3387, allocations: 129.9 kB / 0.5216 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.3388, allocations: 63.11 kB / 0.5216 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.3389, allocations: 13.81 kB / 0.5216 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.3389, allocations: 31.62 kB / 0.5217 GB, free: 2.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.3389, allocations: 0 / 0.5217 GB, free: 2.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.003538/0.3425, allocations: 2.207 MB / 0.5238 GB, free: 1.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.3425, allocations: 55.09 kB / 0.5239 GB, free: 1.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.313e-05/0.3426, allocations: 99.84 kB / 0.524 GB, free: 1.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.3426, allocations: 31.83 kB / 0.524 GB, free: 1.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.3426, allocations: 82.08 kB / 0.5241 GB, free: 1.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.922e-05/0.3427, allocations: 99.11 kB / 0.5242 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.3429, allocations: 92.52 kB / 0.5243 GB, free: 1.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.3429, allocations: 325 kB / 0.5246 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006473/0.3436, allocations: 0.5782 MB / 0.5251 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006694/0.3443, allocations: 0.5832 MB / 0.5257 GB, free: 0.5234 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.002823/0.3471, allocations: 2.053 MB / 0.5277 GB, free: 80 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3471, allocations: 0 / 0.5277 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002201/0.3493, allocations: 1.711 MB / 0.5294 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.3494, allocations: 5.438 kB / 0.5294 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002156/0.3515, allocations: 1.523 MB / 0.5309 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007191/0.3523, allocations: 412.2 kB / 0.5313 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.3525, allocations: 60.03 kB / 0.5313 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.3537, allocations: 1.188 MB / 0.5325 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.3538, allocations: 6.234 kB / 0.5325 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.3539, allocations: 67.27 kB / 0.5325 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.0002496/0.3542, allocations: 145.7 kB / 0.5327 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.3542, allocations: 13.5 kB / 0.5327 GB, free: 14.04 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.00144/0.3557, allocations: 0.8907 MB / 0.5336 GB, free: 13.43 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.