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.006694/0.006694, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001637/0.001637, allocations: 192.8 kB / 16.79 MB, free: 6.238 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.657/1.657, allocations: 205.1 MB / 222.6 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4182/0.4182, allocations: 43.49 MB / 313.5 MB, free: 8.488 MB / 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.001496/0.001496, allocations: 67.91 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1829, allocations: 57.78 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.003378/0.1864, allocations: 0.5853 MB / 440.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.1874, allocations: 237.8 kB / 440.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.1874, allocations: 0 / 440.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1876, allocations: 8 kB / 440.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.95e-05/0.1877, allocations: 3.984 kB / 440.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.188, allocations: 35.91 kB / 440.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.1881, allocations: 19.97 kB / 440.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.7e-05/0.1881, allocations: 4 kB / 440.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.1882, allocations: 11.92 kB / 440.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1883, allocations: 19.97 kB / 440.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1883, allocations: 4 kB / 440.7 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1885, allocations: 51.89 kB / 440.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.1886, allocations: 19.92 kB / 440.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.1886, allocations: 15.88 kB / 440.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.1888, allocations: 67.83 kB / 440.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1888, allocations: 0 / 440.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1888, allocations: 0 / 440.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1889, allocations: 0 / 440.9 MB, free: 13.77 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.000703/0.1896, allocations: 363.7 kB / 441.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.1896, allocations: 8.031 kB / 441.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.1897, allocations: 4.844 kB / 441.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1899, allocations: 164.4 kB / 441.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1899, allocations: 4.375 kB / 441.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.1899, allocations: 8.359 kB / 441.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1901, allocations: 98.09 kB / 441.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1901, allocations: 192 / 441.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1902, allocations: 7.938 kB / 441.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.1902, allocations: 11.98 kB / 441.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1904, allocations: 67.89 kB / 441.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.1906, allocations: 197.5 kB / 441.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.191, allocations: 130.8 kB / 441.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.827e-05/0.1911, allocations: 66.78 kB / 442 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.1912, allocations: 11.94 kB / 442 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.1912, allocations: 34.56 kB / 442 MB, free: 12.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.1912, allocations: 4 kB / 442 MB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.003897/0.1951, allocations: 2.21 MB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.1952, allocations: 51.64 kB / 444.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.1953, allocations: 97.86 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.1954, allocations: 29.7 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.1954, allocations: 80.7 kB / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.1956, allocations: 98.55 kB / 444.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.1958, allocations: 93.66 kB / 444.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.196, allocations: 330.7 kB / 445 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007213/0.1967, allocations: 0.5817 MB / 445.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007128/0.1974, allocations: 0.5897 MB / 446.2 MB, free: 8.227 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.003177/0.2006, allocations: 2.044 MB / 448.2 MB, free: 6.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2006, allocations: 0 / 448.2 MB, free: 6.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002273/0.2029, allocations: 1.706 MB / 449.9 MB, free: 4.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.203, allocations: 7.984 kB / 449.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001996/0.205, allocations: 1.523 MB / 451.5 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007661/0.2058, allocations: 408.5 kB / 451.9 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.206, allocations: 63.91 kB / 451.9 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.2072, allocations: 1.189 MB / 453.1 MB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.2074, allocations: 7.984 kB / 453.1 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.118e-05/0.2074, allocations: 68.02 kB / 453.2 MB, free: 1.176 MB / 382.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.0002538/0.2077, allocations: 141.7 kB / 453.3 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.2078, allocations: 15.97 kB / 453.3 MB, free: 1.012 MB / 382.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.001708/0.2095, allocations: 0.8865 MB / 454.2 MB, free: 124 kB / 382.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.