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.001923/0.001933, allocations: 104.6 kB / 16.4 MB, free: 6.465 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.002026/0.002026, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.448/1.448, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2228/0.2228, allocations: 43.52 MB / 314.1 MB, free: 448 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.001988/0.001988, allocations: 65.45 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.143, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001809/0.1449, allocations: 0.5258 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006466/0.1456, allocations: 243 kB / 499.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.1456, allocations: 0 / 499.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.1458, allocations: 3.938 kB / 499.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.982e-05/0.1458, allocations: 4 kB / 499.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1462, allocations: 47.81 kB / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.1463, allocations: 15.98 kB / 499.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.1463, allocations: 4 kB / 499.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.1463, allocations: 7.984 kB / 499.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1465, allocations: 27.89 kB / 500 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1465, allocations: 4 kB / 500 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1467, allocations: 59.95 kB / 0.4883 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.1468, allocations: 15.92 kB / 0.4883 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.1468, allocations: 15.86 kB / 0.4883 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.147, allocations: 67.78 kB / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.147, allocations: 0 / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.147, allocations: 0 / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1471, allocations: 4 kB / 0.4884 GB, free: 11.27 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.0007012/0.1478, allocations: 355.2 kB / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1478, allocations: 11.89 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.1479, allocations: 50.72 kB / 0.4888 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.1479, allocations: 8.891 kB / 0.4888 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.1481, allocations: 160.4 kB / 0.489 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1481, allocations: 384 / 0.489 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.1481, allocations: 4.375 kB / 0.489 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1484, allocations: 94.22 kB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1484, allocations: 7.875 kB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1484, allocations: 0 / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/0.1484, allocations: 11.98 kB / 0.4891 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1486, allocations: 67.95 kB / 0.4891 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.1489, allocations: 193.5 kB / 0.4893 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1492, allocations: 130.7 kB / 0.4894 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1493, allocations: 68.91 kB / 0.4895 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.883e-05/0.1494, allocations: 19.83 kB / 0.4895 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1494, allocations: 38.5 kB / 0.4896 GB, free: 9.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.1494, allocations: 0 / 0.4896 GB, free: 9.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.003681/0.1531, allocations: 2.21 MB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.1532, allocations: 55.64 kB / 0.4918 GB, free: 7.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.1533, allocations: 97.78 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.1533, allocations: 33.7 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.1534, allocations: 80.7 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.1535, allocations: 107.1 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.1537, allocations: 89.66 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1538, allocations: 327 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006722/0.1545, allocations: 0.5778 MB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.1552, allocations: 0.583 MB / 0.4936 GB, free: 5.668 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.002827/0.1581, allocations: 2.048 MB / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1581, allocations: 0 / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002065/0.1601, allocations: 1.71 MB / 0.4973 GB, free: 1.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1602, allocations: 4 kB / 0.4973 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002083/0.1623, allocations: 1.524 MB / 0.4988 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000764/0.163, allocations: 408.5 kB / 0.4992 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1633, allocations: 63.89 kB / 0.4992 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.1646, allocations: 1.181 MB / 0.5004 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1647, allocations: 8.031 kB / 0.5004 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/0.1648, allocations: 67.97 kB / 0.5005 GB, free: 14.62 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.0002449/0.1651, allocations: 161.6 kB / 0.5006 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.1651, allocations: 11.91 kB / 0.5006 GB, free: 14.44 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.001565/0.1667, allocations: 0.8787 MB / 0.5015 GB, free: 13.55 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.