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.001685/0.001685, allocations: 112.9 kB / 18.46 MB, free: 4.598 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.002039/0.002039, allocations: 183 kB / 19.38 MB, free: 3.68 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.454/1.454, 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.229/0.229, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 55.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4659, allocations: 60.82 MB / 0.5196 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001702/0.4676, allocations: 0.5224 MB / 0.5201 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004962/0.4682, allocations: 226.9 kB / 0.5203 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.4682, allocations: 0 / 0.5203 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.4683, allocations: 2.703 kB / 0.5203 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.864e-05/0.4684, allocations: 7.609 kB / 0.5203 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.4687, allocations: 53.02 kB / 0.5203 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.574e-05/0.4688, allocations: 17.73 kB / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.4688, allocations: 2.781 kB / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.4688, allocations: 10.45 kB / 0.5204 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.469, allocations: 19.84 kB / 0.5204 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.469, allocations: 2.562 kB / 0.5204 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.4691, allocations: 58 kB / 0.5204 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.4692, allocations: 21.03 kB / 0.5205 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.4692, allocations: 18.19 kB / 0.5205 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.4694, allocations: 64.83 kB / 0.5205 GB, free: 3.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.4694, allocations: 13 kB / 0.5206 GB, free: 3.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4694, allocations: 0 / 0.5206 GB, free: 3.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.4694, allocations: 0 / 0.5206 GB, free: 3.008 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.0004471/0.4699, allocations: 353.1 kB / 0.5209 GB, free: 2.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4699, allocations: 8.125 kB / 0.5209 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.47, allocations: 7.312 kB / 0.5209 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.653e-05/0.47, allocations: 163.4 kB / 0.5211 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4701, allocations: 9.688 kB / 0.5211 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4701, allocations: 1.906 kB / 0.5211 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.4703, allocations: 97.25 kB / 0.5212 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4703, allocations: 1.078 kB / 0.5212 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.4703, allocations: 9.359 kB / 0.5212 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.4703, allocations: 10.84 kB / 0.5212 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.4705, allocations: 64.92 kB / 0.5213 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.4707, allocations: 202.3 kB / 0.5214 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.471, allocations: 130.6 kB / 0.5216 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.911e-05/0.4711, allocations: 62.52 kB / 0.5216 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/0.4711, allocations: 8.984 kB / 0.5216 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4712, allocations: 32.25 kB / 0.5217 GB, free: 2.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.815e-06/0.4712, allocations: 0 / 0.5217 GB, free: 2.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.003573/0.4747, allocations: 2.208 MB / 0.5238 GB, free: 1.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.4748, allocations: 55.77 kB / 0.5239 GB, free: 1.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.4748, allocations: 91.94 kB / 0.524 GB, free: 1.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.4749, allocations: 31.08 kB / 0.524 GB, free: 1.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.643e-05/0.4749, allocations: 89.56 kB / 0.5241 GB, free: 1.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.475, allocations: 98.75 kB / 0.5242 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.4751, allocations: 88.8 kB / 0.5243 GB, free: 1.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.4752, allocations: 325.3 kB / 0.5246 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/0.4759, allocations: 0.5807 MB / 0.5251 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007039/0.4766, allocations: 0.5844 MB / 0.5257 GB, free: 0.5156 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.00277/0.4793, allocations: 2.049 MB / 0.5277 GB, free: 56 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4794, allocations: 0 / 0.5277 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002115/0.4815, allocations: 1.707 MB / 0.5294 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.4815, allocations: 11.59 kB / 0.5294 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002092/0.4836, allocations: 1.516 MB / 0.5309 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007575/0.4844, allocations: 419.1 kB / 0.5313 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.4846, allocations: 63.67 kB / 0.5313 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.4862, allocations: 1.184 MB / 0.5325 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.4864, allocations: 10.67 kB / 0.5325 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.4865, allocations: 71.86 kB / 0.5326 GB, free: 14.15 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.0002858/0.4868, allocations: 140.7 kB / 0.5327 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.4868, allocations: 13.22 kB / 0.5327 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.001617/0.4885, allocations: 0.8947 MB / 0.5336 GB, free: 13.41 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