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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 109.7 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3862/0.3862, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 67.91 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3107, allocations: 62.02 MB / 0.5151 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001463/0.3122, allocations: 0.5719 MB / 0.5157 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004365/0.3126, allocations: 229.5 kB / 0.5159 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.517e-05/0.3126, allocations: 0 / 0.5159 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.3128, allocations: 9.953 kB / 0.5159 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.384e-05/0.3128, allocations: 10.53 kB / 0.5159 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.313, allocations: 25 kB / 0.516 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.3131, allocations: 21.62 kB / 0.516 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.3131, allocations: 10.89 kB / 0.516 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.3132, allocations: 10.53 kB / 0.516 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.3132, allocations: 19.22 kB / 0.516 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3133, allocations: 2.875 kB / 0.516 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.3134, allocations: 53.3 kB / 0.5161 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.3134, allocations: 17.7 kB / 0.5161 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.3135, allocations: 17.61 kB / 0.5161 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.3136, allocations: 67.2 kB / 0.5162 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3136, allocations: 2.875 kB / 0.5162 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3136, allocations: 0 / 0.5162 GB, free: 37.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.3136, allocations: 0 / 0.5162 GB, free: 37.16 MB / 378.7 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.0003789/0.314, allocations: 347 kB / 0.5165 GB, free: 36.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.314, allocations: 8.375 kB / 0.5165 GB, free: 36.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.3141, allocations: 7.469 kB / 0.5165 GB, free: 36.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.885e-05/0.3141, allocations: 171.6 kB / 0.5167 GB, free: 36.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3141, allocations: 7.125 kB / 0.5167 GB, free: 36.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.3142, allocations: 4.375 kB / 0.5167 GB, free: 36.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3143, allocations: 95 kB / 0.5168 GB, free: 36.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3143, allocations: 192 / 0.5168 GB, free: 36.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3144, allocations: 3.938 kB / 0.5168 GB, free: 36.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.3144, allocations: 13.7 kB / 0.5168 GB, free: 36.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3145, allocations: 64.78 kB / 0.5169 GB, free: 36.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.3147, allocations: 202.2 kB / 0.5171 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.3149, allocations: 130.2 kB / 0.5172 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.917e-05/0.315, allocations: 61.55 kB / 0.5172 GB, free: 36.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.315, allocations: 9.906 kB / 0.5173 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.3151, allocations: 36.83 kB / 0.5173 GB, free: 36.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.3151, allocations: 0 / 0.5173 GB, free: 36.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.002621/0.3177, allocations: 2.208 MB / 0.5194 GB, free: 35.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.3177, allocations: 54.48 kB / 0.5195 GB, free: 35.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.076e-05/0.3178, allocations: 96.7 kB / 0.5196 GB, free: 35.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3178, allocations: 29.83 kB / 0.5196 GB, free: 35.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.357e-05/0.3178, allocations: 84.7 kB / 0.5197 GB, free: 35.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.3179, allocations: 102.2 kB / 0.5198 GB, free: 35.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.318, allocations: 94.8 kB / 0.5199 GB, free: 35.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.3181, allocations: 328.8 kB / 0.5202 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.3185, allocations: 0.5796 MB / 0.5208 GB, free: 34.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.319, allocations: 0.5792 MB / 0.5213 GB, free: 34.66 MB / 378.7 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.001978/0.321, allocations: 2.057 MB / 0.5233 GB, free: 34.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.321, allocations: 0 / 0.5233 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001451/0.3224, allocations: 1.708 MB / 0.525 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3225, allocations: 5.531 kB / 0.525 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00153/0.324, allocations: 1.52 MB / 0.5265 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/0.3246, allocations: 421.1 kB / 0.5269 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.3249, allocations: 59.5 kB / 0.527 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008721/0.3257, allocations: 1.186 MB / 0.5281 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3259, allocations: 6.625 kB / 0.5281 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.3259, allocations: 72.83 kB / 0.5282 GB, free: 33.01 MB / 378.7 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.0001634/0.3261, allocations: 139.8 kB / 0.5283 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3262, allocations: 12.42 kB / 0.5283 GB, free: 32.88 MB / 378.7 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.001497/0.3277, allocations: 0.8943 MB / 0.5292 GB, free: 32.55 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.