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.001159/0.001159, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001147/0.001147, allocations: 194 kB / 18.12 MB, free: 5.383 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.338/1.338, allocations: 222.9 MB / 241.8 MB, free: 13.66 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.2336/0.2336, allocations: 44.18 MB / 336.1 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 64.39 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1517, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002658/0.1544, allocations: 0.5721 MB / 469.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006697/0.1551, allocations: 237.8 kB / 469.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.1551, allocations: 0 / 469.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.1553, allocations: 4 kB / 469.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.021e-05/0.1554, allocations: 3.984 kB / 469.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1557, allocations: 35.91 kB / 469.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.1557, allocations: 27.97 kB / 469.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.1558, allocations: 0 / 469.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.1558, allocations: 7.938 kB / 469.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1559, allocations: 19.97 kB / 469.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.156, allocations: 4 kB / 469.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1561, allocations: 51.94 kB / 469.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.1562, allocations: 19.86 kB / 469.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.1562, allocations: 15.88 kB / 469.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1564, allocations: 67.83 kB / 469.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1564, allocations: 0 / 469.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1564, allocations: 0 / 469.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1565, allocations: 4 kB / 469.7 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.0008336/0.1573, allocations: 359.7 kB / 470 MB, free: 13.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.1574, allocations: 8.031 kB / 470 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.089e-05/0.1574, allocations: 34.75 kB / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.1575, allocations: 0.9375 kB / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.1577, allocations: 168.4 kB / 470.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1577, allocations: 8.312 kB / 470.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.1578, allocations: 384 / 470.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.158, allocations: 98.16 kB / 470.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.1581, allocations: 7.922 kB / 470.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1581, allocations: 0 / 470.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.1581, allocations: 16 kB / 470.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1583, allocations: 71.12 kB / 470.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.1586, allocations: 189.5 kB / 470.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.1589, allocations: 130.8 kB / 470.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.846e-05/0.159, allocations: 64.83 kB / 470.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-05/0.1591, allocations: 8.141 kB / 470.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.1591, allocations: 50.42 kB / 470.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.1591, allocations: 0 / 470.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003472/0.1626, allocations: 2.194 MB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1626, allocations: 51.64 kB / 473.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.1627, allocations: 101.8 kB / 473.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.1628, allocations: 29.7 kB / 473.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.1628, allocations: 84.83 kB / 473.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1629, allocations: 98.55 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.1631, allocations: 97.64 kB / 473.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1632, allocations: 322.8 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006387/0.1639, allocations: 0.5817 MB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.1645, allocations: 0.5783 MB / 475 MB, free: 8.113 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.002605/0.1671, allocations: 2.061 MB / 477.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1671, allocations: 0 / 477.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00197/0.1691, allocations: 1.702 MB / 478.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1691, allocations: 4 kB / 478.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001998/0.1711, allocations: 1.527 MB / 480.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007185/0.1718, allocations: 416.5 kB / 480.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.1721, allocations: 63.89 kB / 480.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.1734, allocations: 1.193 MB / 482 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1736, allocations: 4 kB / 482 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.144e-05/0.1737, allocations: 68 kB / 482 MB, free: 1.043 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.000261/0.1739, allocations: 141.6 kB / 482.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.174, allocations: 15.91 kB / 482.2 MB, free: 0.8789 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.001839/0.1758, allocations: 0.8829 MB / 483.1 MB, free: 4 kB / 350.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.