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: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.001469, allocations: 112.7 kB / 17.04 MB, free: 5.812 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.001591/0.001591, allocations: 195 kB / 17.97 MB, free: 5.027 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.595/1.595, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2433/0.2433, allocations: 43.52 MB / 314.7 MB, free: 484 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.001593/0.001593, allocations: 66.23 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1538, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002642/0.1566, allocations: 0.5083 MB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006879/0.1573, allocations: 230.6 kB / 442.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.1573, allocations: 0 / 442.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.1575, allocations: 7.984 kB / 442.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.535e-05/0.1576, allocations: 3.938 kB / 442.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.158, allocations: 47.88 kB / 442.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.749e-05/0.1581, allocations: 19.98 kB / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.353e-05/0.1582, allocations: 4 kB / 442.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.1582, allocations: 11.97 kB / 442.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.1584, allocations: 23.92 kB / 442.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1584, allocations: 0 / 442.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1586, allocations: 63.88 kB / 442.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.1586, allocations: 11.92 kB / 442.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.1587, allocations: 15.88 kB / 442.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1589, allocations: 71.83 kB / 443 MB, free: 5.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1589, allocations: 0 / 443 MB, free: 5.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1589, allocations: 0 / 443 MB, free: 5.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1589, allocations: 0 / 443 MB, free: 5.133 MB / 318.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.0006352/0.1596, allocations: 363.4 kB / 443.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1597, allocations: 11.89 kB / 443.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1597, allocations: 4.844 kB / 443.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1598, allocations: 168.3 kB / 443.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1599, allocations: 4.312 kB / 443.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.1599, allocations: 4.375 kB / 443.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.1601, allocations: 94.16 kB / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.1602, allocations: 8.188 kB / 443.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1602, allocations: 7.938 kB / 443.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.1602, allocations: 11.98 kB / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.1604, allocations: 63.95 kB / 443.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.1607, allocations: 193.5 kB / 443.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.161, allocations: 138.9 kB / 444 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1611, allocations: 68.83 kB / 444.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.394e-05/0.1612, allocations: 4 kB / 444.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1612, allocations: 38.5 kB / 444.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.1612, allocations: 0 / 444.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.004184/0.1654, allocations: 2.201 MB / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1655, allocations: 59.62 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/0.1656, allocations: 93.8 kB / 446.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.1656, allocations: 29.7 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.1657, allocations: 80.7 kB / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.1658, allocations: 106.5 kB / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.166, allocations: 93.78 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1662, allocations: 330.8 kB / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/0.1669, allocations: 0.5817 MB / 447.7 MB, free: 172 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009091/0.1678, allocations: 0.5822 MB / 448.3 MB, free: 15.59 MB / 334.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.003404/0.1712, allocations: 2.049 MB / 450.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1712, allocations: 0 / 450.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002623/0.1739, allocations: 1.702 MB / 452 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.1739, allocations: 5.25 kB / 452 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002662/0.1766, allocations: 1.528 MB / 453.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.1777, allocations: 408.5 kB / 454 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.178, allocations: 67.89 kB / 454 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.1797, allocations: 1.185 MB / 455.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1799, allocations: 12.09 kB / 455.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.055e-05/0.18, allocations: 67.97 kB / 455.3 MB, free: 8.531 MB / 334.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.0002574/0.1803, allocations: 141.7 kB / 455.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.1803, allocations: 11.91 kB / 455.4 MB, free: 8.371 MB / 334.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.002145/0.1825, allocations: 0.8827 MB / 456.3 MB, free: 7.492 MB / 334.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.