Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 79.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1057, allocations: 62.45 MB / 481.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001566/0.1073, allocations: 0.5051 MB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000425/0.1077, allocations: 218 kB / 482.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.1078, allocations: 8 kB / 482.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.1079, allocations: 7.938 kB / 482.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.374e-05/0.1079, allocations: 7.984 kB / 482.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1082, allocations: 43.89 kB / 482.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.313e-05/0.1082, allocations: 19.91 kB / 482.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.1083, allocations: 8 kB / 482.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.937e-05/0.1083, allocations: 11.92 kB / 482.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.1084, allocations: 19.97 kB / 482.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1084, allocations: 4 kB / 482.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1085, allocations: 51.95 kB / 482.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.1086, allocations: 15.92 kB / 482.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.1086, allocations: 23.8 kB / 482.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1087, allocations: 63.84 kB / 482.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1087, allocations: 0 / 482.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1088, allocations: 0 / 482.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1088, allocations: 0 / 482.4 MB, free: 3.531 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.0004178/0.1092, allocations: 363.4 kB / 482.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1092, allocations: 8.031 kB / 482.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.1093, allocations: 8.922 kB / 482.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.826e-05/0.1094, allocations: 168.3 kB / 483 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1094, allocations: 4.375 kB / 483 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1094, allocations: 8.312 kB / 483 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1096, allocations: 94.22 kB / 483.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1096, allocations: 192 / 483.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1096, allocations: 3.938 kB / 483.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.1096, allocations: 8 kB / 483.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1098, allocations: 75.88 kB / 483.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.11, allocations: 197.5 kB / 483.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1102, allocations: 126.8 kB / 483.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.1103, allocations: 64.95 kB / 483.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.1103, allocations: 11.98 kB / 483.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1104, allocations: 34.56 kB / 483.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.1104, allocations: 0 / 483.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003089/0.1135, allocations: 2.212 MB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.1135, allocations: 59.64 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.1136, allocations: 89.86 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.1136, allocations: 33.7 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.1137, allocations: 84.64 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/0.1138, allocations: 102.5 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.1139, allocations: 85.66 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.114, allocations: 326.8 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.1146, allocations: 0.5818 MB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.1152, allocations: 0.5817 MB / 487.7 MB, free: 14 MB / 366.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.002321/0.1175, allocations: 2.048 MB / 489.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1175, allocations: 0 / 489.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00178/0.1193, allocations: 1.713 MB / 491.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1193, allocations: 8 kB / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001761/0.1211, allocations: 1.52 MB / 493 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006747/0.1218, allocations: 412.5 kB / 493.4 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.122, allocations: 55.95 kB / 493.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.1231, allocations: 1.189 MB / 494.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1232, allocations: 8.031 kB / 494.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/0.1233, allocations: 71.97 kB / 494.7 MB, free: 6.938 MB / 366.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.0001746/0.1235, allocations: 145.7 kB / 494.9 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.1235, allocations: 15.83 kB / 494.9 MB, free: 6.77 MB / 366.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.001433/0.125, allocations: 0.8825 MB / 495.8 MB, free: 5.891 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.