Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 107.9 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.332/0.332, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1128, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002022/0.1148, allocations: 0.5891 MB / 487.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006027/0.1155, allocations: 233.9 kB / 487.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.1155, allocations: 0 / 487.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.1157, allocations: 7.938 kB / 487.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.413e-05/0.1157, allocations: 3.984 kB / 487.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.116, allocations: 39.91 kB / 487.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.179e-05/0.1161, allocations: 19.97 kB / 487.9 MB, free: 11.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.1161, allocations: 7.938 kB / 487.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.1161, allocations: 4 kB / 487.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.1162, allocations: 31.89 kB / 487.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1163, allocations: 0 / 487.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1164, allocations: 47.95 kB / 488 MB, free: 11.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.1164, allocations: 19.92 kB / 488 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.1165, allocations: 11.94 kB / 488 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.1166, allocations: 67.77 kB / 488.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1166, allocations: 4 kB / 488.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1166, allocations: 0 / 488.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1166, allocations: 0 / 488.1 MB, free: 11.46 MB / 378.7 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.0005145/0.1172, allocations: 355.7 kB / 488.4 MB, free: 11.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1172, allocations: 8.031 kB / 488.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.1173, allocations: 8.844 kB / 488.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1174, allocations: 164.3 kB / 488.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1174, allocations: 8.375 kB / 488.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1174, allocations: 384 / 488.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1176, allocations: 98.2 kB / 488.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1176, allocations: 192 / 488.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1177, allocations: 7.938 kB / 488.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.1177, allocations: 11.98 kB / 488.7 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1178, allocations: 75.83 kB / 488.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.118, allocations: 189.5 kB / 489 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.1183, allocations: 130.8 kB / 489.1 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.1184, allocations: 65.09 kB / 489.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-05/0.1185, allocations: 11.94 kB / 489.2 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1185, allocations: 34.56 kB / 489.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.905e-06/0.1185, allocations: 0 / 489.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.003159/0.1217, allocations: 2.213 MB / 491.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.1218, allocations: 59.62 kB / 491.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.1218, allocations: 89.86 kB / 491.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.1219, allocations: 33.7 kB / 491.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.1219, allocations: 84.83 kB / 491.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-05/0.122, allocations: 98.55 kB / 491.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.1222, allocations: 89.66 kB / 491.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1223, allocations: 326.8 kB / 492.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005583/0.1228, allocations: 0.5778 MB / 492.8 MB, free: 6.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.1234, allocations: 0.5856 MB / 493.4 MB, free: 5.934 MB / 378.7 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.002443/0.1259, allocations: 2.052 MB / 495.4 MB, free: 3.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1259, allocations: 0 / 495.4 MB, free: 3.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001725/0.1276, allocations: 1.71 MB / 497.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1277, allocations: 4 kB / 497.1 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001857/0.1295, allocations: 1.531 MB / 498.7 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007063/0.1302, allocations: 416.5 kB / 499.1 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.1305, allocations: 59.91 kB / 499.1 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.1316, allocations: 1.189 MB / 0.4886 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1317, allocations: 8.031 kB / 0.4886 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.668e-05/0.1318, allocations: 67.97 kB / 0.4887 GB, free: 14.86 MB / 394.7 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.0001865/0.132, allocations: 145.7 kB / 0.4888 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.132, allocations: 7.906 kB / 0.4888 GB, free: 14.7 MB / 394.7 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.001623/0.1336, allocations: 0.8827 MB / 0.4897 GB, free: 13.82 MB / 394.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.