Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 106.3 kB / 17.98 MB, free: 5.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 193.3 kB / 18.91 MB, free: 4.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 242.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2066/0.2066, allocations: 44.18 MB / 336.9 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 68.39 kB / 408.5 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1011, allocations: 60.83 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001562/0.1027, allocations: 0.5683 MB / 469.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.1032, allocations: 229.8 kB / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.1032, allocations: 0 / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1033, allocations: 7.984 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.113e-05/0.1034, allocations: 4 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1036, allocations: 39.89 kB / 470.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.619e-05/0.1037, allocations: 19.98 kB / 470.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.1037, allocations: 0 / 470.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.1037, allocations: 15.92 kB / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.1038, allocations: 23.97 kB / 470.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1038, allocations: 0 / 470.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.1039, allocations: 51.95 kB / 470.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.104, allocations: 23.86 kB / 470.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.104, allocations: 15.86 kB / 470.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.461e-05/0.1041, allocations: 43.92 kB / 470.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1041, allocations: 0 / 470.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1041, allocations: 0 / 470.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1041, allocations: 0 / 470.4 MB, free: 13.7 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.0004267/0.1046, allocations: 359.7 kB / 470.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1046, allocations: 8.031 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.1046, allocations: 4.922 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.246e-05/0.1047, allocations: 164.4 kB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1048, allocations: 384 / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1048, allocations: 4.375 kB / 470.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.105, allocations: 102.1 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.105, allocations: 192 / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.105, allocations: 3.938 kB / 471 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.105, allocations: 15.98 kB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1051, allocations: 63.95 kB / 471.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.1053, allocations: 197.5 kB / 471.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1056, allocations: 126.8 kB / 471.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.833e-05/0.1057, allocations: 72.83 kB / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.1057, allocations: 4 kB / 471.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1058, allocations: 34.56 kB / 471.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.1058, allocations: 0 / 471.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003148/0.1089, allocations: 2.213 MB / 473.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.109, allocations: 55.64 kB / 473.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.109, allocations: 97.84 kB / 473.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.1091, allocations: 25.7 kB / 473.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.1091, allocations: 84.7 kB / 474 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1092, allocations: 102.5 kB / 474.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.1094, allocations: 93.78 kB / 474.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1095, allocations: 330.8 kB / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/0.1101, allocations: 0.5817 MB / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/0.1106, allocations: 0.5829 MB / 475.7 MB, free: 8.168 MB / 350.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.002338/0.113, allocations: 2.052 MB / 477.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.113, allocations: 4 kB / 477.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001736/0.1147, allocations: 1.706 MB / 479.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1148, allocations: 8 kB / 479.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001768/0.1165, allocations: 1.523 MB / 481 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/0.1172, allocations: 412.5 kB / 481.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.1174, allocations: 63.89 kB / 481.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.1185, allocations: 1.185 MB / 482.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1187, allocations: 8.031 kB / 482.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.1187, allocations: 71.97 kB / 482.7 MB, free: 1.102 MB / 350.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.0001772/0.1189, allocations: 137.7 kB / 482.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.119, allocations: 11.95 kB / 482.9 MB, free: 0.9453 MB / 350.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.001539/0.1205, allocations: 0.8829 MB / 483.7 MB, free: 72 kB / 350.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.