Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_3_2_3_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.00111/0.00111, allocations: 104 kB / 16.4 MB, free: 6.508 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.001127/0.001127, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.195/0.195, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 65.47 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002334/0.1253, allocations: 0.5141 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.1259, allocations: 235 kB / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.126, allocations: 4 kB / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.1262, allocations: 7.938 kB / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.002e-05/0.1262, allocations: 4 kB / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.1266, allocations: 47.81 kB / 499.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.371e-05/0.1267, allocations: 15.98 kB / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.1268, allocations: 0 / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.1268, allocations: 15.97 kB / 499.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1269, allocations: 27.91 kB / 499.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.127, allocations: 0 / 499.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.1271, allocations: 59.95 kB / 0.4883 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.1272, allocations: 15.92 kB / 0.4883 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.1273, allocations: 15.92 kB / 0.4883 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1274, allocations: 67.78 kB / 0.4884 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1275, allocations: 0 / 0.4884 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1275, allocations: 0 / 0.4884 GB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1275, allocations: 0 / 0.4884 GB, free: 11.29 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.0006664/0.1282, allocations: 359.6 kB / 0.4887 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.1282, allocations: 11.89 kB / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.1283, allocations: 42.72 kB / 0.4888 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1283, allocations: 8.844 kB / 0.4888 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1285, allocations: 164.3 kB / 0.4889 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1285, allocations: 8.375 kB / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1285, allocations: 384 / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.1288, allocations: 90.22 kB / 0.489 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1288, allocations: 7.875 kB / 0.489 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1288, allocations: 0 / 0.489 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/0.1289, allocations: 19.98 kB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.129, allocations: 67.89 kB / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.1293, allocations: 193.5 kB / 0.4893 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.1296, allocations: 122.9 kB / 0.4894 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.1298, allocations: 64.83 kB / 0.4895 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.401e-05/0.1299, allocations: 11.98 kB / 0.4895 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.1299, allocations: 46.44 kB / 0.4895 GB, free: 9.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.1299, allocations: 0 / 0.4895 GB, free: 9.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.003711/0.1337, allocations: 2.213 MB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1337, allocations: 51.64 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.1338, allocations: 105.8 kB / 0.4919 GB, free: 7.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.1339, allocations: 29.7 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.1339, allocations: 80.7 kB / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.134, allocations: 98.55 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.1342, allocations: 93.66 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1344, allocations: 322.8 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/0.1352, allocations: 0.5818 MB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.1358, allocations: 0.5751 MB / 0.4936 GB, free: 5.699 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.002868/0.1387, allocations: 2.056 MB / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1387, allocations: 0 / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002343/0.1411, allocations: 1.706 MB / 0.4973 GB, free: 1.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.1411, allocations: 4 kB / 0.4973 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002241/0.1434, allocations: 1.524 MB / 0.4988 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007378/0.1441, allocations: 412.6 kB / 0.4991 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.1443, allocations: 63.89 kB / 0.4992 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.1457, allocations: 1.189 MB / 0.5004 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1458, allocations: 4 kB / 0.5004 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/0.1459, allocations: 72 kB / 0.5004 GB, free: 14.64 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.0003433/0.1462, allocations: 153.7 kB / 0.5006 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.1463, allocations: 11.91 kB / 0.5006 GB, free: 14.46 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.001686/0.148, allocations: 0.8825 MB / 0.5015 GB, free: 13.57 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.