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.001262/0.001261, allocations: 111.3 kB / 18.45 MB, free: 4.594 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.001237/0.001237, allocations: 182.2 kB / 19.38 MB, free: 3.676 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.293/1.293, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2053/0.2053, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3638, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001526/0.3653, allocations: 0.5203 MB / 0.5201 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005119/0.3658, allocations: 226.3 kB / 0.5203 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.3659, allocations: 0 / 0.5203 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.3661, allocations: 2.609 kB / 0.5203 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.455e-05/0.3661, allocations: 7.188 kB / 0.5203 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.3664, allocations: 48.42 kB / 0.5203 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.3665, allocations: 18.25 kB / 0.5203 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.3665, allocations: 7.078 kB / 0.5204 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.3665, allocations: 13.7 kB / 0.5204 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3667, allocations: 23.69 kB / 0.5204 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3667, allocations: 2.781 kB / 0.5204 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.3668, allocations: 58.47 kB / 0.5204 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.3669, allocations: 17.08 kB / 0.5205 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.3669, allocations: 17.48 kB / 0.5205 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3671, allocations: 69.77 kB / 0.5205 GB, free: 3.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3671, allocations: 0 / 0.5205 GB, free: 3.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3671, allocations: 1.094 kB / 0.5205 GB, free: 3.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.3671, allocations: 0 / 0.5205 GB, free: 3.035 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.0004645/0.3676, allocations: 353.3 kB / 0.5209 GB, free: 2.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3676, allocations: 9.25 kB / 0.5209 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.3677, allocations: 7.156 kB / 0.5209 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.864e-05/0.3678, allocations: 167.9 kB / 0.5211 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3678, allocations: 5.438 kB / 0.5211 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.3678, allocations: 2.781 kB / 0.5211 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.368, allocations: 92.22 kB / 0.5212 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.368, allocations: 1.281 kB / 0.5212 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.368, allocations: 11.92 kB / 0.5212 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.3681, allocations: 11.59 kB / 0.5212 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.3682, allocations: 65.58 kB / 0.5212 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.3684, allocations: 199 kB / 0.5214 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.3687, allocations: 129 kB / 0.5216 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.682e-05/0.3688, allocations: 67.03 kB / 0.5216 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.3689, allocations: 12.86 kB / 0.5216 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.3689, allocations: 32.86 kB / 0.5217 GB, free: 2.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.3689, allocations: 0 / 0.5217 GB, free: 2.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.00366/0.3726, allocations: 2.204 MB / 0.5238 GB, free: 1.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.3726, allocations: 54.39 kB / 0.5239 GB, free: 1.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.3727, allocations: 92.17 kB / 0.524 GB, free: 1.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.3727, allocations: 32.06 kB / 0.524 GB, free: 1.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.3727, allocations: 80.7 kB / 0.5241 GB, free: 1.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.3728, allocations: 98.75 kB / 0.5242 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.373, allocations: 93.3 kB / 0.5242 GB, free: 1.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.3731, allocations: 329.9 kB / 0.5246 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007201/0.3738, allocations: 0.5771 MB / 0.5251 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/0.3745, allocations: 0.5838 MB / 0.5257 GB, free: 0.5469 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.002609/0.3771, allocations: 2.047 MB / 0.5277 GB, free: 108 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3771, allocations: 0 / 0.5277 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001976/0.3791, allocations: 1.71 MB / 0.5294 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3791, allocations: 5.656 kB / 0.5294 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001987/0.3811, allocations: 1.52 MB / 0.5309 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007473/0.3819, allocations: 414.9 kB / 0.5312 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.3821, allocations: 67.77 kB / 0.5313 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.3834, allocations: 1.192 MB / 0.5325 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3835, allocations: 10.59 kB / 0.5325 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.3836, allocations: 75.19 kB / 0.5326 GB, free: 14.19 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.0002475/0.3839, allocations: 138 kB / 0.5327 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.384, allocations: 13.36 kB / 0.5327 GB, free: 14.05 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.001575/0.3855, allocations: 0.8876 MB / 0.5336 GB, free: 13.48 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.