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.001065/0.001065, allocations: 115.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.001131, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.89 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3311, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001436/0.3325, allocations: 0.5089 MB / 0.5322 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004728/0.333, allocations: 224.8 kB / 0.5324 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.3331, allocations: 0 / 0.5324 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.3332, allocations: 2.812 kB / 0.5324 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.442e-05/0.3333, allocations: 5.312 kB / 0.5324 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.3336, allocations: 50.06 kB / 0.5324 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.3337, allocations: 20.67 kB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.3337, allocations: 2.031 kB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.3338, allocations: 16.7 kB / 0.5325 GB, free: 13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.3339, allocations: 17.45 kB / 0.5325 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3339, allocations: 2.344 kB / 0.5325 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.334, allocations: 60.11 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.334, allocations: 17.42 kB / 0.5326 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.3341, allocations: 15.25 kB / 0.5326 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.3342, allocations: 68.42 kB / 0.5326 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3342, allocations: 4 kB / 0.5326 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3342, allocations: 0 / 0.5326 GB, free: 12.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3342, allocations: 5.906 kB / 0.5326 GB, free: 12.88 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.000467/0.3347, allocations: 356.5 kB / 0.533 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3348, allocations: 7.938 kB / 0.533 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3348, allocations: 3.219 kB / 0.533 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.3349, allocations: 170.9 kB / 0.5332 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3349, allocations: 384 / 0.5332 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.335, allocations: 2.906 kB / 0.5332 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.3351, allocations: 93.22 kB / 0.5332 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3352, allocations: 5.469 kB / 0.5333 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3352, allocations: 7.922 kB / 0.5333 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.3352, allocations: 12.89 kB / 0.5333 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3353, allocations: 64.8 kB / 0.5333 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.3355, allocations: 199.9 kB / 0.5335 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.3358, allocations: 129 kB / 0.5336 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.3359, allocations: 63.39 kB / 0.5337 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.3359, allocations: 12.19 kB / 0.5337 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.336, allocations: 31.94 kB / 0.5337 GB, free: 11.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.336, allocations: 0 / 0.5337 GB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003435/0.3394, allocations: 2.221 MB / 0.5359 GB, free: 10.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.3395, allocations: 54.08 kB / 0.536 GB, free: 10.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.3396, allocations: 92.2 kB / 0.5361 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.3396, allocations: 30.86 kB / 0.5361 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.3396, allocations: 80.7 kB / 0.5362 GB, free: 10.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.3398, allocations: 103.3 kB / 0.5363 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3399, allocations: 87 kB / 0.5363 GB, free: 10.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.34, allocations: 330 kB / 0.5367 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/0.3406, allocations: 0.5863 MB / 0.5372 GB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.3412, allocations: 0.5812 MB / 0.5378 GB, free: 9.844 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.002721/0.344, allocations: 2.049 MB / 0.5398 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.344, allocations: 0 / 0.5398 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001831/0.3458, allocations: 1.713 MB / 0.5415 GB, free: 7.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3458, allocations: 8 kB / 0.5415 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001797/0.3476, allocations: 1.512 MB / 0.543 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006944/0.3483, allocations: 428.3 kB / 0.5434 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.3486, allocations: 51.97 kB / 0.5434 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.3497, allocations: 1.185 MB / 0.5446 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3499, allocations: 16.08 kB / 0.5446 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/0.3499, allocations: 67.98 kB / 0.5447 GB, free: 4.164 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.0002309/0.3502, allocations: 141.1 kB / 0.5448 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.3502, allocations: 7.906 kB / 0.5448 GB, free: 4.012 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.001475/0.3517, allocations: 0.8866 MB / 0.5457 GB, free: 3.121 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