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.001411/0.001412, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001542/0.001542, allocations: 194 kB / 18.12 MB, free: 5.363 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.391/1.391, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.2172/0.2172, allocations: 44.17 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 70.17 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1235, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001691/0.1253, allocations: 0.5758 MB / 469.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005002/0.1258, allocations: 227.5 kB / 469.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.1258, allocations: 0 / 469.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.1259, allocations: 15.92 kB / 469.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.275e-05/0.126, allocations: 0 / 469.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.1262, allocations: 31.91 kB / 469.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.06e-05/0.1263, allocations: 19.97 kB / 469.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.1263, allocations: 4 kB / 469.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.493e-05/0.1264, allocations: 11.92 kB / 469.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1265, allocations: 15.98 kB / 469.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.1265, allocations: 7.938 kB / 469.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1266, allocations: 55.95 kB / 469.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.1267, allocations: 15.97 kB / 469.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.1267, allocations: 19.86 kB / 469.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1268, allocations: 67.84 kB / 469.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1269, allocations: 0 / 469.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1269, allocations: 0 / 469.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1269, allocations: 3.938 kB / 469.6 MB, free: 13.78 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.0004885/0.1274, allocations: 351.7 kB / 469.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1274, allocations: 8.031 kB / 469.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.1275, allocations: 0.9375 kB / 469.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1276, allocations: 172.3 kB / 470.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1276, allocations: 384 / 470.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.1276, allocations: 12.34 kB / 470.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.1278, allocations: 90.23 kB / 470.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1278, allocations: 192 / 470.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1279, allocations: 3.938 kB / 470.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.1279, allocations: 11.98 kB / 470.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.128, allocations: 67.89 kB / 470.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.1283, allocations: 201.5 kB / 470.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.1285, allocations: 130.8 kB / 470.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.1286, allocations: 68.83 kB / 470.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.1287, allocations: 4 kB / 470.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1287, allocations: 38.56 kB / 470.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.1287, allocations: 0 / 470.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003335/0.1321, allocations: 2.212 MB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1321, allocations: 55.64 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.1322, allocations: 93.86 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.1322, allocations: 29.7 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.1323, allocations: 82.45 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.1324, allocations: 98.56 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.1326, allocations: 93.64 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1327, allocations: 330.8 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.1333, allocations: 0.5778 MB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.134, allocations: 0.5867 MB / 474.9 MB, free: 8.258 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.002645/0.1366, allocations: 2.049 MB / 476.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1366, allocations: 0 / 476.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001958/0.1386, allocations: 1.706 MB / 478.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1386, allocations: 8 kB / 478.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00199/0.1406, allocations: 1.531 MB / 480.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007624/0.1414, allocations: 412.5 kB / 480.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.1417, allocations: 63.89 kB / 480.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.1428, allocations: 1.181 MB / 481.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.143, allocations: 8.031 kB / 481.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-05/0.143, allocations: 71.97 kB / 481.9 MB, free: 1.195 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.0002317/0.1433, allocations: 133.7 kB / 482 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.1433, allocations: 15.97 kB / 482 MB, free: 1.039 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.001564/0.1449, allocations: 0.879 MB / 482.9 MB, free: 172 kB / 350.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.