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.0009496/0.0009497, allocations: 97.92 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 201.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 247.5 MB, free: 9.312 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.18 MB / 345.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002886, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1066, allocations: 63.56 MB / 483.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00057/0.1072, allocations: 242.9 kB / 484 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004741/0.1077, allocations: 234 kB / 484.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.352e-05/0.1077, allocations: 3.938 kB / 484.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/0.1078, allocations: 3.984 kB / 484.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.152e-05/0.1079, allocations: 4 kB / 484.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.1081, allocations: 35.89 kB / 484.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.1081, allocations: 19.98 kB / 484.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.1082, allocations: 0 / 484.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.138e-05/0.1082, allocations: 15.92 kB / 484.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.1083, allocations: 15.98 kB / 484.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1083, allocations: 4 kB / 484.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1084, allocations: 55.94 kB / 484.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.1085, allocations: 15.92 kB / 484.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.1085, allocations: 49.5 kB / 484.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.875e-05/0.1086, allocations: 39.92 kB / 484.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1086, allocations: 0 / 484.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1086, allocations: 4 kB / 484.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1086, allocations: 0 / 484.5 MB, free: 3.371 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.0004276/0.1091, allocations: 343.8 kB / 484.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1091, allocations: 8.875 kB / 484.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.1091, allocations: 4.844 kB / 484.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1093, allocations: 168.4 kB / 485 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1093, allocations: 384 / 485 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1093, allocations: 4.375 kB / 485 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1095, allocations: 94.16 kB / 485.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1095, allocations: 8.188 kB / 485.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1095, allocations: 3.938 kB / 485.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.1095, allocations: 8 kB / 485.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1097, allocations: 63.95 kB / 485.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.1099, allocations: 201.5 kB / 485.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.1101, allocations: 130.8 kB / 485.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.1102, allocations: 64.89 kB / 485.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.1103, allocations: 7.984 kB / 485.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1103, allocations: 34.56 kB / 485.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.1103, allocations: 0 / 485.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003224/0.1135, allocations: 2.216 MB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1136, allocations: 55.64 kB / 487.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.1137, allocations: 97.8 kB / 487.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.1137, allocations: 29.83 kB / 488 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.1137, allocations: 88.7 kB / 488.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.1139, allocations: 98.55 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/0.1139, allocations: 29.7 kB / 488.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.114, allocations: 322.8 kB / 488.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.1146, allocations: 0.5817 MB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.1152, allocations: 0.5778 MB / 489.7 MB, free: 13.93 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.002403/0.1176, allocations: 2.065 MB / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1176, allocations: 0 / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001792/0.1194, allocations: 1.706 MB / 493.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1195, allocations: 6.656 kB / 493.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001845/0.1213, allocations: 1.531 MB / 495 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/0.122, allocations: 408.5 kB / 495.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.1222, allocations: 63.89 kB / 495.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.1233, allocations: 1.181 MB / 496.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1235, allocations: 4.031 kB / 496.6 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.733e-05/0.1235, allocations: 71.97 kB / 496.7 MB, free: 6.859 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 sytem: 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.0001898/0.1237, allocations: 141 kB / 496.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.1238, allocations: 11.91 kB / 496.8 MB, free: 6.703 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.001619/0.1254, allocations: 0.8903 MB / 497.7 MB, free: 5.824 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.