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.001063/0.001063, allocations: 107 kB / 17.33 MB, free: 6.023 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.001149/0.001149, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.423/1.423, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2137/0.2137, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 64.34 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1128, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001667/0.1145, allocations: 0.5721 MB / 469.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005107/0.115, allocations: 225.8 kB / 469.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.115, allocations: 0 / 469.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.1152, allocations: 11.94 kB / 469.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.444e-05/0.1152, allocations: 7.938 kB / 469.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1155, allocations: 35.97 kB / 469.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.345e-05/0.1156, allocations: 23.91 kB / 469.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.1156, allocations: 7.984 kB / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.787e-05/0.1157, allocations: 11.94 kB / 469.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.1158, allocations: 19.97 kB / 469.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1158, allocations: 4 kB / 469.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1159, allocations: 51.95 kB / 469.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.1159, allocations: 15.92 kB / 469.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.116, allocations: 19.86 kB / 469.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1161, allocations: 63.83 kB / 469.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1161, allocations: 0 / 469.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1161, allocations: 4 kB / 469.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1162, allocations: 0 / 469.8 MB, free: 13.68 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.0005399/0.1167, allocations: 351.7 kB / 470.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1167, allocations: 12.03 kB / 470.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1168, allocations: 0.9375 kB / 470.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1169, allocations: 168.3 kB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1169, allocations: 4.375 kB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.117, allocations: 4.375 kB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.1172, allocations: 90.22 kB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1172, allocations: 8.109 kB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1172, allocations: 7.938 kB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.1172, allocations: 15.98 kB / 470.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1174, allocations: 67.89 kB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.1176, allocations: 193.5 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.1179, allocations: 137.3 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.118, allocations: 56.91 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.118, allocations: 11.98 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1181, allocations: 38.56 kB / 470.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.1181, allocations: 0 / 470.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003518/0.1216, allocations: 2.206 MB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.1217, allocations: 51.64 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.1217, allocations: 101.8 kB / 473.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.992e-05/0.1218, allocations: 29.7 kB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.1218, allocations: 84.83 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.122, allocations: 94.56 kB / 473.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.1221, allocations: 93.66 kB / 473.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1222, allocations: 326.8 kB / 473.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.1228, allocations: 0.5817 MB / 474.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.1235, allocations: 0.5791 MB / 475 MB, free: 8.164 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.002565/0.126, allocations: 2.056 MB / 477.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1261, allocations: 3.938 kB / 477.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001853/0.1279, allocations: 1.706 MB / 478.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1279, allocations: 4 kB / 478.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001841/0.1298, allocations: 1.535 MB / 480.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/0.1305, allocations: 404.5 kB / 480.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1307, allocations: 59.95 kB / 480.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.1319, allocations: 1.193 MB / 482 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.132, allocations: 4 kB / 482 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/0.1321, allocations: 68 kB / 482.1 MB, free: 1.098 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.000195/0.1323, allocations: 144.2 kB / 482.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.1324, allocations: 19.91 kB / 482.2 MB, free: 0.9297 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.001649/0.134, allocations: 0.8828 MB / 483.1 MB, free: 56 kB / 350.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.