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: "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 104 kB / 17.63 MB, free: 5.543 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.001406/0.001407, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.202/0.202, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 58.94 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1193, allocations: 60.81 MB / 469.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001763/0.1211, allocations: 0.5142 MB / 469.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004989/0.1216, allocations: 233.8 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.1216, allocations: 0 / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1218, allocations: 7.938 kB / 470.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.322e-05/0.1218, allocations: 0 / 470.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.1221, allocations: 51.88 kB / 470.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.931e-05/0.1222, allocations: 23.92 kB / 470.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.1223, allocations: 0 / 470.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.664e-05/0.1223, allocations: 11.92 kB / 470.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1224, allocations: 27.95 kB / 470.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1224, allocations: 0 / 470.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1226, allocations: 43.97 kB / 470.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.1226, allocations: 19.92 kB / 470.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1227, allocations: 19.86 kB / 470.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1228, allocations: 63.84 kB / 470.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1229, allocations: 0 / 470.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1229, allocations: 0 / 470.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1229, allocations: 4 kB / 470.4 MB, free: 13.29 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.0005799/0.1235, allocations: 355.7 kB / 470.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1235, allocations: 12.03 kB / 470.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.1236, allocations: 38.67 kB / 470.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1236, allocations: 4.938 kB / 470.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1238, allocations: 168.3 kB / 470.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1238, allocations: 4.359 kB / 470.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1238, allocations: 4.375 kB / 470.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.124, allocations: 94.22 kB / 471 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.1241, allocations: 11.84 kB / 471 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1241, allocations: 0 / 471 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.1241, allocations: 15.92 kB / 471.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1243, allocations: 67.89 kB / 471.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.1245, allocations: 189.6 kB / 471.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1248, allocations: 126.8 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1249, allocations: 68.89 kB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.831e-05/0.125, allocations: 8.141 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.1251, allocations: 42.44 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.1251, allocations: 0 / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003558/0.1286, allocations: 2.202 MB / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.1287, allocations: 55.64 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.1288, allocations: 97.7 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.1288, allocations: 33.7 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.1289, allocations: 84.83 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.129, allocations: 98.55 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.1291, allocations: 89.66 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1292, allocations: 322.8 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.1299, allocations: 0.5817 MB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/0.1305, allocations: 0.5856 MB / 475.7 MB, free: 7.711 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.002548/0.133, allocations: 2.049 MB / 477.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1331, allocations: 0 / 477.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002226/0.1353, allocations: 1.71 MB / 479.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1353, allocations: 4 kB / 479.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001986/0.1373, allocations: 1.527 MB / 481 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007671/0.1381, allocations: 408.5 kB / 481.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.1383, allocations: 59.91 kB / 481.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.1395, allocations: 1.189 MB / 482.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1397, allocations: 12.02 kB / 482.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.1397, allocations: 67.92 kB / 482.7 MB, free: 0.6523 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.0002159/0.14, allocations: 145.7 kB / 482.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.14, allocations: 11.97 kB / 482.8 MB, free: 500 kB / 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.001599/0.1416, allocations: 0.8867 MB / 483.7 MB, free: 15.61 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.