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.001207/0.001207, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1909/0.1909, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 71.89 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2741, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001486/0.2757, allocations: 0.5179 MB / 0.5321 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005017/0.2762, allocations: 212.7 kB / 0.5323 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.2762, allocations: 0 / 0.5323 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.2764, allocations: 9.266 kB / 0.5324 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.348e-05/0.2764, allocations: 5.344 kB / 0.5324 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.2767, allocations: 50.59 kB / 0.5324 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.1e-05/0.2767, allocations: 16.89 kB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.2768, allocations: 2.156 kB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.408e-05/0.2768, allocations: 20.41 kB / 0.5324 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.54e-05/0.2769, allocations: 17.33 kB / 0.5325 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2769, allocations: 10.31 kB / 0.5325 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.277, allocations: 57.06 kB / 0.5325 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.2771, allocations: 17.48 kB / 0.5325 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.2771, allocations: 14.69 kB / 0.5326 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.2773, allocations: 68.33 kB / 0.5326 GB, free: 12.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2773, allocations: 0 / 0.5326 GB, free: 12.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2773, allocations: 0 / 0.5326 GB, free: 12.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.2773, allocations: 5.844 kB / 0.5326 GB, free: 12.88 MB / 398.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.0004942/0.2778, allocations: 360.6 kB / 0.533 GB, free: 12.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2778, allocations: 8.562 kB / 0.533 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.2779, allocations: 3.438 kB / 0.533 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.278, allocations: 165.4 kB / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.278, allocations: 5.469 kB / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.278, allocations: 3.719 kB / 0.5332 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.2782, allocations: 88.53 kB / 0.5332 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2782, allocations: 1.625 kB / 0.5332 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2782, allocations: 3.938 kB / 0.5332 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.2783, allocations: 21.08 kB / 0.5333 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.2784, allocations: 64.39 kB / 0.5333 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.2786, allocations: 195.4 kB / 0.5335 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.2788, allocations: 129.5 kB / 0.5336 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.2789, allocations: 67.64 kB / 0.5337 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.2789, allocations: 6.875 kB / 0.5337 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.279, allocations: 39.88 kB / 0.5337 GB, free: 11.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.279, allocations: 1.375 kB / 0.5337 GB, free: 11.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003103/0.2821, allocations: 2.204 MB / 0.5359 GB, free: 10.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2821, allocations: 66.72 kB / 0.536 GB, free: 10.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.2822, allocations: 92.39 kB / 0.536 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.2822, allocations: 30.8 kB / 0.5361 GB, free: 10.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.2823, allocations: 80.7 kB / 0.5362 GB, free: 10.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.023e-05/0.2824, allocations: 99.2 kB / 0.5362 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.2825, allocations: 95.44 kB / 0.5363 GB, free: 10.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2826, allocations: 326.2 kB / 0.5367 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/0.2832, allocations: 0.5785 MB / 0.5372 GB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.2838, allocations: 0.5802 MB / 0.5378 GB, free: 9.844 MB / 398.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.002406/0.2862, allocations: 2.059 MB / 0.5398 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2862, allocations: 0 / 0.5398 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001644/0.2878, allocations: 1.71 MB / 0.5415 GB, free: 7.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2879, allocations: 10.48 kB / 0.5415 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001679/0.2895, allocations: 1.52 MB / 0.543 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/0.2902, allocations: 412.5 kB / 0.5434 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.2904, allocations: 55.97 kB / 0.5434 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.2915, allocations: 1.192 MB / 0.5446 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2916, allocations: 8.078 kB / 0.5446 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.2917, allocations: 72.02 kB / 0.5446 GB, free: 4.168 MB / 398.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.0001886/0.2919, allocations: 141.8 kB / 0.5448 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.292, allocations: 11.91 kB / 0.5448 GB, free: 4.008 MB / 398.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.001324/0.2933, allocations: 0.8827 MB / 0.5457 GB, free: 3.121 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.