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.001441/0.001441, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001324/0.001325, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.431/1.431, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2131/0.2131, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 55.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4401, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001854/0.442, allocations: 0.519 MB / 0.5194 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005712/0.4425, allocations: 222.4 kB / 0.5196 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.4426, allocations: 1.062 kB / 0.5196 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.4428, allocations: 6.297 kB / 0.5196 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.047e-05/0.4428, allocations: 7.828 kB / 0.5196 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.4431, allocations: 48.42 kB / 0.5197 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.347e-05/0.4432, allocations: 18.14 kB / 0.5197 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.4433, allocations: 3.094 kB / 0.5197 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.4433, allocations: 22.17 kB / 0.5197 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.4435, allocations: 20.22 kB / 0.5197 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.4435, allocations: 6.5 kB / 0.5197 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.4437, allocations: 49.69 kB / 0.5198 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.4438, allocations: 20.92 kB / 0.5198 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.4439, allocations: 18.67 kB / 0.5198 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.4441, allocations: 68.36 kB / 0.5199 GB, free: 3.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.4441, allocations: 1.844 kB / 0.5199 GB, free: 3.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4441, allocations: 0 / 0.5199 GB, free: 3.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.4441, allocations: 3.938 kB / 0.5199 GB, free: 3.016 MB / 382.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.000652/0.4448, allocations: 356.7 kB / 0.5202 GB, free: 2.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.4449, allocations: 11.27 kB / 0.5202 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.4449, allocations: 6.125 kB / 0.5202 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.445, allocations: 162.2 kB / 0.5204 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4451, allocations: 9.516 kB / 0.5204 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.4451, allocations: 3.469 kB / 0.5204 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.4454, allocations: 92.84 kB / 0.5205 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4454, allocations: 192 / 0.5205 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.4454, allocations: 5.812 kB / 0.5205 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.4455, allocations: 19 kB / 0.5205 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.4456, allocations: 68.09 kB / 0.5206 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.4459, allocations: 198.5 kB / 0.5208 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.4462, allocations: 122.3 kB / 0.5209 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.4463, allocations: 70.27 kB / 0.521 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.4464, allocations: 8.859 kB / 0.521 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4464, allocations: 32.31 kB / 0.521 GB, free: 2.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.4464, allocations: 1.219 kB / 0.521 GB, free: 2.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004102/0.4505, allocations: 2.204 MB / 0.5232 GB, free: 1.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.4505, allocations: 54.61 kB / 0.5232 GB, free: 1.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.4506, allocations: 93.16 kB / 0.5233 GB, free: 1.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.4506, allocations: 30.7 kB / 0.5233 GB, free: 1.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.828e-05/0.4507, allocations: 81.31 kB / 0.5234 GB, free: 1.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.614e-05/0.4508, allocations: 99.75 kB / 0.5235 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.4509, allocations: 92.61 kB / 0.5236 GB, free: 1.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.451, allocations: 328.8 kB / 0.5239 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007444/0.4518, allocations: 0.5786 MB / 0.5245 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/0.4525, allocations: 0.5877 MB / 0.525 GB, free: 0.5234 MB / 382.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.003057/0.4556, allocations: 2.048 MB / 0.527 GB, free: 104 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4556, allocations: 0 / 0.527 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002527/0.4581, allocations: 1.707 MB / 0.5287 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.4581, allocations: 9.484 kB / 0.5287 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002428/0.4606, allocations: 1.523 MB / 0.5302 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007937/0.4614, allocations: 407.8 kB / 0.5306 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.4616, allocations: 62.91 kB / 0.5306 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.463, allocations: 1.193 MB / 0.5318 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4631, allocations: 10.33 kB / 0.5318 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.4632, allocations: 64.52 kB / 0.5319 GB, free: 14.2 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.000274/0.4635, allocations: 152.7 kB / 0.532 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.4635, allocations: 8.344 kB / 0.532 GB, free: 14.05 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.001739/0.4653, allocations: 0.8859 MB / 0.5329 GB, free: 13.48 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.