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.001624/0.001624, allocations: 106.8 kB / 18.45 MB, free: 4.637 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.00163/0.00163, allocations: 191.1 kB / 19.39 MB, free: 3.707 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.375/1.375, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2091/0.2091, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 64.14 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3838, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001536/0.3854, allocations: 0.5301 MB / 0.5201 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005051/0.3859, allocations: 227.4 kB / 0.5203 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.386, allocations: 0 / 0.5203 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3861, allocations: 2.938 kB / 0.5203 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.784e-05/0.3862, allocations: 7.391 kB / 0.5203 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.3865, allocations: 51.98 kB / 0.5203 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.357e-05/0.3865, allocations: 18.19 kB / 0.5204 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.3866, allocations: 2.25 kB / 0.5204 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.3866, allocations: 14.55 kB / 0.5204 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3867, allocations: 21 kB / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3867, allocations: 2.812 kB / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3869, allocations: 53.45 kB / 0.5205 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.3869, allocations: 21.59 kB / 0.5205 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.387, allocations: 17.28 kB / 0.5205 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.3871, allocations: 65.58 kB / 0.5206 GB, free: 3.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3871, allocations: 4 kB / 0.5206 GB, free: 3.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3871, allocations: 0.75 kB / 0.5206 GB, free: 3.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3871, allocations: 0 / 0.5206 GB, free: 3.031 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.0004377/0.3876, allocations: 357.5 kB / 0.5209 GB, free: 2.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3876, allocations: 10.27 kB / 0.5209 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.3877, allocations: 2.406 kB / 0.5209 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/0.3878, allocations: 170.4 kB / 0.5211 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3878, allocations: 9.625 kB / 0.5211 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.3878, allocations: 4.094 kB / 0.5211 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.388, allocations: 100 kB / 0.5212 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3881, allocations: 0.8906 kB / 0.5212 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3881, allocations: 5.062 kB / 0.5212 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.3881, allocations: 11.23 kB / 0.5212 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.3883, allocations: 64.97 kB / 0.5213 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.3885, allocations: 193.4 kB / 0.5214 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.3888, allocations: 128.9 kB / 0.5216 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3889, allocations: 63.3 kB / 0.5216 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-05/0.389, allocations: 9.5 kB / 0.5216 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.389, allocations: 31.59 kB / 0.5217 GB, free: 2.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.455e-06/0.389, allocations: 0 / 0.5217 GB, free: 2.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.003968/0.393, allocations: 2.216 MB / 0.5238 GB, free: 1.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.393, allocations: 54.39 kB / 0.5239 GB, free: 1.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.941e-05/0.3931, allocations: 92.59 kB / 0.524 GB, free: 1.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.3931, allocations: 31.08 kB / 0.524 GB, free: 1.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.603e-05/0.3931, allocations: 88.77 kB / 0.5241 GB, free: 1.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.389e-05/0.3932, allocations: 107.8 kB / 0.5242 GB, free: 1.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3934, allocations: 89.12 kB / 0.5243 GB, free: 1.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.3934, allocations: 326 kB / 0.5246 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/0.3941, allocations: 0.5807 MB / 0.5252 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006993/0.3948, allocations: 0.5836 MB / 0.5257 GB, free: 0.5195 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.002763/0.3976, allocations: 2.048 MB / 0.5277 GB, free: 92 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3976, allocations: 0 / 0.5277 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002128/0.3997, allocations: 1.703 MB / 0.5294 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3998, allocations: 8.969 kB / 0.5294 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002134/0.4019, allocations: 1.515 MB / 0.5309 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007603/0.4027, allocations: 424 kB / 0.5313 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.4029, allocations: 67.27 kB / 0.5313 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.4042, allocations: 1.186 MB / 0.5325 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.4043, allocations: 5.125 kB / 0.5325 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/0.4044, allocations: 75.69 kB / 0.5326 GB, free: 14.18 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.0002342/0.4047, allocations: 137.2 kB / 0.5327 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.4047, allocations: 9.391 kB / 0.5327 GB, free: 14.04 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.00158/0.4063, allocations: 0.8913 MB / 0.5336 GB, free: 13.46 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