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.001404/0.001404, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3957, allocations: 62.43 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001779/0.3975, allocations: 0.5108 MB / 0.5315 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005327/0.3981, allocations: 221.2 kB / 0.5317 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.3981, allocations: 0 / 0.5317 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.3983, allocations: 5.281 kB / 0.5317 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.842e-05/0.3984, allocations: 5.297 kB / 0.5317 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.3987, allocations: 47.39 kB / 0.5317 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.387e-05/0.3988, allocations: 28.59 kB / 0.5318 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.365e-05/0.3989, allocations: 2.188 kB / 0.5318 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.3989, allocations: 7.875 kB / 0.5318 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3991, allocations: 25.39 kB / 0.5318 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3991, allocations: 2.469 kB / 0.5318 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.3992, allocations: 52.45 kB / 0.5319 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.3993, allocations: 18.02 kB / 0.5319 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.3993, allocations: 18.61 kB / 0.5319 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.3995, allocations: 68.59 kB / 0.532 GB, free: 13.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3995, allocations: 0 / 0.532 GB, free: 13.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3995, allocations: 0 / 0.532 GB, free: 13.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3995, allocations: 4 kB / 0.532 GB, free: 13.09 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.0005981/0.4001, allocations: 356.5 kB / 0.5323 GB, free: 12.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4002, allocations: 8.25 kB / 0.5323 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.4002, allocations: 11.67 kB / 0.5323 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.4004, allocations: 169.6 kB / 0.5325 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.4004, allocations: 5.734 kB / 0.5325 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.4004, allocations: 1.75 kB / 0.5325 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.4006, allocations: 94.09 kB / 0.5326 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4007, allocations: 4.188 kB / 0.5326 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.4007, allocations: 5.312 kB / 0.5326 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.4007, allocations: 8.25 kB / 0.5326 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.4009, allocations: 72.75 kB / 0.5327 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.4012, allocations: 193.2 kB / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.4015, allocations: 131.8 kB / 0.533 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.4016, allocations: 63.08 kB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-05/0.4017, allocations: 15.31 kB / 0.533 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.4018, allocations: 31.88 kB / 0.5331 GB, free: 12.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.4019, allocations: 1.312 kB / 0.5331 GB, free: 12.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003757/0.4056, allocations: 2.216 MB / 0.5352 GB, free: 11.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.4057, allocations: 55.3 kB / 0.5353 GB, free: 11.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.4058, allocations: 90.98 kB / 0.5354 GB, free: 11.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.4058, allocations: 30.86 kB / 0.5354 GB, free: 10.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.4059, allocations: 85.84 kB / 0.5355 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.406, allocations: 106.1 kB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.4062, allocations: 92.06 kB / 0.5357 GB, free: 10.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.4064, allocations: 330.2 kB / 0.536 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007886/0.4072, allocations: 0.5787 MB / 0.5366 GB, free: 10.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008546/0.4081, allocations: 0.5762 MB / 0.5371 GB, free: 10.05 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.003313/0.4114, allocations: 2.06 MB / 0.5391 GB, free: 9.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4114, allocations: 0 / 0.5391 GB, free: 9.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001998/0.4134, allocations: 1.706 MB / 0.5408 GB, free: 7.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.4135, allocations: 4 kB / 0.5408 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00198/0.4155, allocations: 1.52 MB / 0.5423 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/0.4162, allocations: 416.5 kB / 0.5427 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.4165, allocations: 63.89 kB / 0.5428 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.4177, allocations: 1.181 MB / 0.5439 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.4178, allocations: 8.062 kB / 0.5439 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/0.4179, allocations: 72 kB / 0.544 GB, free: 4.297 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.0002273/0.4181, allocations: 141.6 kB / 0.5441 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.4182, allocations: 15.89 kB / 0.5441 GB, free: 4.133 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.001479/0.4197, allocations: 0.8788 MB / 0.545 GB, free: 3.25 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.