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.002174/0.002174, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003278/0.003279, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.014/3.014, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5294/0.5294, allocations: 46.09 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003323/0.003324, allocations: 76.95 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3026, allocations: 62.44 MB / 480.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.004137/0.3068, allocations: 0.5827 MB / 480.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.3079, allocations: 215.4 kB / 480.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.3079, allocations: 0 / 480.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.3083, allocations: 8 kB / 480.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.3083, allocations: 3.938 kB / 480.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.3088, allocations: 43.95 kB / 481 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.988e-05/0.309, allocations: 19.92 kB / 481 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.3091, allocations: 7.969 kB / 481 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.98e-05/0.3091, allocations: 11.94 kB / 481 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3093, allocations: 19.97 kB / 481.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.3093, allocations: 4 kB / 481.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.3096, allocations: 51.95 kB / 481.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.3097, allocations: 15.92 kB / 481.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.861e-05/0.3098, allocations: 19.86 kB / 481.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.31, allocations: 35.94 kB / 481.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.31, allocations: 0 / 481.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.31, allocations: 4 kB / 481.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.31, allocations: 0 / 481.2 MB, free: 4.598 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.0009788/0.311, allocations: 355.7 kB / 481.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.203e-05/0.3111, allocations: 8.031 kB / 481.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.3112, allocations: 4.938 kB / 481.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.3114, allocations: 172.3 kB / 481.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.3115, allocations: 8.312 kB / 481.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.3115, allocations: 4.375 kB / 481.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.3119, allocations: 90.23 kB / 481.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.3119, allocations: 192 / 481.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.3119, allocations: 3.938 kB / 481.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.312, allocations: 11.98 kB / 481.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.3122, allocations: 67.95 kB / 481.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3126, allocations: 197.5 kB / 482.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.3131, allocations: 126.8 kB / 482.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.3132, allocations: 67.91 kB / 482.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.464e-05/0.3133, allocations: 11.94 kB / 482.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.3134, allocations: 34.56 kB / 482.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.294e-06/0.3134, allocations: 0 / 482.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.005989/0.3194, allocations: 2.213 MB / 484.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/0.3195, allocations: 55.64 kB / 484.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3197, allocations: 93.86 kB / 484.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.705e-05/0.3198, allocations: 33.7 kB / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.3198, allocations: 84.83 kB / 484.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.32, allocations: 98.55 kB / 484.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.3203, allocations: 93.64 kB / 485 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.3205, allocations: 326.8 kB / 485.3 MB, free: 240 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009902/0.3215, allocations: 0.5739 MB / 485.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.3226, allocations: 0.5817 MB / 486.5 MB, free: 15.08 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.004816/0.3274, allocations: 2.057 MB / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3275, allocations: 0 / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003536/0.331, allocations: 1.717 MB / 490.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.3311, allocations: 6.344 kB / 490.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003483/0.3346, allocations: 1.523 MB / 491.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.3359, allocations: 412.5 kB / 492.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.3363, allocations: 55.95 kB / 492.2 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.3385, allocations: 1.189 MB / 493.4 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.3388, allocations: 8.031 kB / 493.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.3389, allocations: 71.97 kB / 493.5 MB, free: 8.008 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.0004653/0.3394, allocations: 137.8 kB / 493.6 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.3395, allocations: 11.97 kB / 493.6 MB, free: 7.852 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.003614/0.3431, allocations: 0.898 MB / 494.5 MB, free: 6.965 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.