Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.001151, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 76.2 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3624, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001782/0.3642, allocations: 0.5213 MB / 0.5321 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005557/0.3648, allocations: 221.4 kB / 0.5324 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.3649, allocations: 0 / 0.5324 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.365, allocations: 1.094 kB / 0.5324 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.503e-05/0.3651, allocations: 2.906 kB / 0.5324 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.3654, allocations: 54.03 kB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.3655, allocations: 17.2 kB / 0.5324 GB, free: 13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.3655, allocations: 5.797 kB / 0.5324 GB, free: 13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.703e-05/0.3656, allocations: 15.48 kB / 0.5324 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.3657, allocations: 22.75 kB / 0.5325 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3657, allocations: 5.781 kB / 0.5325 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.3658, allocations: 53.14 kB / 0.5325 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.3659, allocations: 16.36 kB / 0.5325 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.3659, allocations: 27.44 kB / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.3661, allocations: 60.42 kB / 0.5326 GB, free: 12.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3661, allocations: 0 / 0.5326 GB, free: 12.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.3661, allocations: 0 / 0.5326 GB, free: 12.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3661, allocations: 3.938 kB / 0.5326 GB, free: 12.87 MB / 398.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.0005698/0.3667, allocations: 361.4 kB / 0.533 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3668, allocations: 9.188 kB / 0.533 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.3668, allocations: 2.781 kB / 0.533 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3669, allocations: 162.6 kB / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.367, allocations: 5.875 kB / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.367, allocations: 6.016 kB / 0.5332 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3672, allocations: 90.14 kB / 0.5332 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3672, allocations: 192 / 0.5332 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.3672, allocations: 3.938 kB / 0.5332 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.3673, allocations: 21.61 kB / 0.5333 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.3674, allocations: 63.83 kB / 0.5333 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.3677, allocations: 200 kB / 0.5335 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.368, allocations: 133.8 kB / 0.5336 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3681, allocations: 67.2 kB / 0.5337 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.3682, allocations: 6.875 kB / 0.5337 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3682, allocations: 37.31 kB / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.3682, allocations: 0 / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003732/0.372, allocations: 2.212 MB / 0.5359 GB, free: 10.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.372, allocations: 58.52 kB / 0.536 GB, free: 10.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.3721, allocations: 91.27 kB / 0.5361 GB, free: 10.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.3722, allocations: 31.48 kB / 0.5361 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.3722, allocations: 80.7 kB / 0.5362 GB, free: 10.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3723, allocations: 99.8 kB / 0.5363 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.3725, allocations: 94.77 kB / 0.5363 GB, free: 10.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3727, allocations: 330.1 kB / 0.5367 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007222/0.3734, allocations: 0.5751 MB / 0.5372 GB, free: 10.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/0.3741, allocations: 0.5838 MB / 0.5378 GB, free: 9.828 MB / 398.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.002984/0.3771, allocations: 2.056 MB / 0.5398 GB, free: 9.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3771, allocations: 4 kB / 0.5398 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001958/0.3791, allocations: 1.71 MB / 0.5415 GB, free: 7.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3791, allocations: 4 kB / 0.5415 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001906/0.381, allocations: 1.524 MB / 0.543 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007123/0.3818, allocations: 408.5 kB / 0.5434 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.382, allocations: 63.89 kB / 0.5434 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.3832, allocations: 1.189 MB / 0.5446 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3833, allocations: 4 kB / 0.5446 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.3834, allocations: 68 kB / 0.5446 GB, free: 4.141 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.0002329/0.3836, allocations: 145.8 kB / 0.5448 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.3837, allocations: 11.91 kB / 0.5448 GB, free: 3.977 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.001467/0.3852, allocations: 0.8788 MB / 0.5457 GB, free: 3.094 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.