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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 106.6 kB / 17.04 MB, free: 6.078 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.001057/0.001057, allocations: 196 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2099/0.2099, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 69.78 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.09866, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001571/0.1003, allocations: 0.5127 MB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004266/0.1007, allocations: 234.5 kB / 442.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.1007, allocations: 0 / 442.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.1009, allocations: 7.938 kB / 442.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.924e-05/0.1009, allocations: 0 / 442.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1012, allocations: 43.89 kB / 442.8 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.1012, allocations: 31.91 kB / 442.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.1013, allocations: 0 / 442.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.1013, allocations: 11.98 kB / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.1014, allocations: 27.91 kB / 442.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1014, allocations: 3.938 kB / 442.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.1015, allocations: 51.95 kB / 442.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.1015, allocations: 19.91 kB / 442.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.1016, allocations: 19.86 kB / 442.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1017, allocations: 63.84 kB / 443 MB, free: 5.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1017, allocations: 0 / 443 MB, free: 5.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1017, allocations: 4 kB / 443 MB, free: 5.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1017, allocations: 0 / 443 MB, free: 5.145 MB / 318.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.0003824/0.1021, allocations: 355.4 kB / 443.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1022, allocations: 11.89 kB / 443.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1022, allocations: 4.844 kB / 443.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.899e-05/0.1023, allocations: 176.3 kB / 443.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1023, allocations: 384 / 443.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1023, allocations: 4.375 kB / 443.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1025, allocations: 90.17 kB / 443.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1025, allocations: 8.188 kB / 443.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1025, allocations: 7.922 kB / 443.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.1026, allocations: 11.98 kB / 443.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.1027, allocations: 67.89 kB / 443.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1028, allocations: 189.5 kB / 443.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.103, allocations: 134.9 kB / 444 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.1031, allocations: 64.89 kB / 444.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.1032, allocations: 7.938 kB / 444.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.1032, allocations: 38.56 kB / 444.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.1032, allocations: 0 / 444.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002385/0.1056, allocations: 2.213 MB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.1056, allocations: 55.64 kB / 446.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.706e-05/0.1057, allocations: 89.86 kB / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.1057, allocations: 29.7 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.334e-05/0.1057, allocations: 80.83 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.1058, allocations: 102.5 kB / 446.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1059, allocations: 97.64 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.1059, allocations: 326.8 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.1063, allocations: 0.5778 MB / 447.7 MB, free: 200 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.1069, allocations: 0.5822 MB / 448.3 MB, free: 15.61 MB / 334.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.002293/0.1092, allocations: 2.061 MB / 450.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1092, allocations: 0 / 450.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001691/0.1109, allocations: 1.698 MB / 452 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.111, allocations: 4 kB / 452 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001767/0.1127, allocations: 1.528 MB / 453.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006972/0.1135, allocations: 412.5 kB / 454 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.1137, allocations: 63.95 kB / 454 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.1148, allocations: 1.192 MB / 455.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.115, allocations: 8.031 kB / 455.2 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.131e-05/0.115, allocations: 63.97 kB / 455.3 MB, free: 8.551 MB / 334.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.0001999/0.1152, allocations: 145.6 kB / 455.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.1153, allocations: 11.91 kB / 455.4 MB, free: 8.387 MB / 334.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.001472/0.1168, allocations: 0.8867 MB / 456.3 MB, free: 7.504 MB / 334.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.