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.001253/0.001253, allocations: 110 kB / 17.86 MB, free: 5.504 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.001197/0.001198, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.483/1.483, allocations: 222.9 MB / 242.4 MB, free: 15.36 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.2007/0.2007, allocations: 44.18 MB / 336.8 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 60.41 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1148, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001976/0.1168, allocations: 0.5721 MB / 469.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005966/0.1175, allocations: 245.9 kB / 470 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.1175, allocations: 0 / 470 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.1177, allocations: 3.938 kB / 470 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.404e-05/0.1177, allocations: 4 kB / 470 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.118, allocations: 31.95 kB / 470 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.58e-05/0.118, allocations: 19.92 kB / 470 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1181, allocations: 4 kB / 470 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.582e-05/0.1181, allocations: 15.92 kB / 470.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1182, allocations: 15.98 kB / 470.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1182, allocations: 7.938 kB / 470.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1184, allocations: 55.94 kB / 470.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.1184, allocations: 11.98 kB / 470.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.1185, allocations: 19.86 kB / 470.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.1186, allocations: 43.92 kB / 470.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1186, allocations: 0 / 470.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1186, allocations: 0 / 470.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1186, allocations: 0 / 470.2 MB, free: 13.79 MB / 350.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.0005387/0.1192, allocations: 355.7 kB / 470.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1192, allocations: 8.031 kB / 470.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1193, allocations: 4.938 kB / 470.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1194, allocations: 164.3 kB / 470.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1194, allocations: 4.375 kB / 470.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1195, allocations: 4.375 kB / 470.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1196, allocations: 94.2 kB / 470.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1197, allocations: 192 / 470.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.1197, allocations: 3.938 kB / 470.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.1197, allocations: 19.98 kB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1199, allocations: 67.95 kB / 470.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.1201, allocations: 197.5 kB / 471.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.1204, allocations: 122.8 kB / 471.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.19e-05/0.1205, allocations: 72.89 kB / 471.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.1206, allocations: 11.94 kB / 471.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1206, allocations: 34.56 kB / 471.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.1206, allocations: 3.938 kB / 471.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003493/0.1241, allocations: 2.209 MB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.1242, allocations: 55.64 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.1243, allocations: 97.84 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.1243, allocations: 33.7 kB / 473.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.1244, allocations: 80.7 kB / 473.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.1245, allocations: 94.56 kB / 473.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.1246, allocations: 93.78 kB / 474 MB, free: 9.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1248, allocations: 326.8 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/0.1254, allocations: 0.5817 MB / 474.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.126, allocations: 0.5829 MB / 475.5 MB, free: 8.262 MB / 350.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.002557/0.1286, allocations: 2.045 MB / 477.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1286, allocations: 0 / 477.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001821/0.1304, allocations: 1.717 MB / 479.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1304, allocations: 4 kB / 479.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001868/0.1323, allocations: 1.527 MB / 480.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007373/0.1331, allocations: 408.5 kB / 481.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.1333, allocations: 59.95 kB / 481.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.1345, allocations: 1.189 MB / 482.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.1347, allocations: 8.031 kB / 482.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/0.1347, allocations: 72.03 kB / 482.5 MB, free: 1.199 MB / 350.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.0002207/0.135, allocations: 137.8 kB / 482.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.135, allocations: 7.906 kB / 482.7 MB, free: 1.047 MB / 350.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.00163/0.1367, allocations: 0.8867 MB / 483.5 MB, free: 172 kB / 350.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.