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.001745/0.001746, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002239/0.002239, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.229/2.229, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4332/0.4332, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 74.8 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2307, allocations: 62.44 MB / 479.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.004655/0.2355, allocations: 0.5644 MB / 480.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2368, allocations: 249.9 kB / 480.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.2368, allocations: 0 / 480.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.2372, allocations: 7.984 kB / 480.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.2372, allocations: 4 kB / 480.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.2377, allocations: 35.89 kB / 480.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.2378, allocations: 15.98 kB / 480.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.09e-05/0.2379, allocations: 4 kB / 480.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.2379, allocations: 7.938 kB / 480.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.2381, allocations: 23.95 kB / 480.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.2381, allocations: 4 kB / 480.8 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.2383, allocations: 55.89 kB / 480.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.2384, allocations: 15.92 kB / 480.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.365e-05/0.2385, allocations: 15.88 kB / 480.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2387, allocations: 47.92 kB / 481 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.2388, allocations: 0 / 481 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.117e-06/0.2388, allocations: 4 kB / 481 MB, free: 4.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.2388, allocations: 0 / 481 MB, free: 4.699 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.0009401/0.2397, allocations: 343.8 kB / 481.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/0.2398, allocations: 8.875 kB / 481.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.2399, allocations: 8.844 kB / 481.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.2401, allocations: 164.4 kB / 481.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2402, allocations: 4.375 kB / 481.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.2402, allocations: 8.375 kB / 481.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.2406, allocations: 96.69 kB / 481.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.2406, allocations: 192 / 481.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.2406, allocations: 3.938 kB / 481.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.396e-05/0.2407, allocations: 8 kB / 481.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.241, allocations: 71.94 kB / 481.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.2414, allocations: 197.5 kB / 481.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.2419, allocations: 126.8 kB / 482 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.2421, allocations: 64.95 kB / 482.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.673e-05/0.2422, allocations: 11.98 kB / 482.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.2422, allocations: 30.56 kB / 482.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.605e-06/0.2422, allocations: 0 / 482.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.006168/0.2484, allocations: 2.216 MB / 484.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.2486, allocations: 55.64 kB / 484.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2487, allocations: 97.86 kB / 484.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/0.2488, allocations: 29.7 kB / 484.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.2489, allocations: 84.7 kB / 484.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.2491, allocations: 98.55 kB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.2494, allocations: 89.66 kB / 484.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.2496, allocations: 330.7 kB / 485.1 MB, free: 360 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.2507, allocations: 0.5778 MB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.2518, allocations: 0.5817 MB / 486.2 MB, free: 15.19 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.004559/0.2563, allocations: 2.058 MB / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2564, allocations: 4 kB / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003266/0.2597, allocations: 1.714 MB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.2597, allocations: 4 kB / 490 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003506/0.2632, allocations: 1.523 MB / 491.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.2645, allocations: 412.5 kB / 491.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.265, allocations: 59.89 kB / 492 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.2672, allocations: 1.185 MB / 493.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.2674, allocations: 4 kB / 493.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.2676, allocations: 71.97 kB / 493.3 MB, free: 8.125 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.0004208/0.2681, allocations: 137.7 kB / 493.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2682, allocations: 11.89 kB / 493.4 MB, free: 7.969 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.003278/0.2715, allocations: 0.8864 MB / 494.3 MB, free: 7.094 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.