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.001457/0.001457, allocations: 97.59 kB / 16.93 MB, free: 5.805 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.001605/0.001605, allocations: 187.6 kB / 17.86 MB, free: 5.18 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.386/1.386, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2015/0.2015, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 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.001532/0.001532, allocations: 72.41 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.09962, allocations: 57.79 MB / 441.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001792/0.1015, allocations: 0.5169 MB / 441.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004352/0.1019, allocations: 225.6 kB / 441.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.1019, allocations: 0 / 441.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.1021, allocations: 7.938 kB / 441.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.232e-05/0.1021, allocations: 0 / 441.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1024, allocations: 51.88 kB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.1024, allocations: 23.86 kB / 442 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.1025, allocations: 4 kB / 442 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.1025, allocations: 15.92 kB / 442 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1026, allocations: 27.91 kB / 442 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1026, allocations: 4 kB / 442.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1028, allocations: 47.95 kB / 442.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.1028, allocations: 7.984 kB / 442.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.1028, allocations: 19.86 kB / 442.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.103, allocations: 71.78 kB / 442.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.103, allocations: 0 / 442.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.103, allocations: 0 / 442.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.103, allocations: 0 / 442.2 MB, free: 5.922 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.0004528/0.1034, allocations: 355.7 kB / 442.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.1035, allocations: 19.89 kB / 442.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.1035, allocations: 4.844 kB / 442.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.477e-05/0.1036, allocations: 172.3 kB / 442.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1036, allocations: 384 / 442.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1036, allocations: 4.375 kB / 442.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1038, allocations: 94.16 kB / 442.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1038, allocations: 192 / 442.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1038, allocations: 11.92 kB / 442.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.1039, allocations: 8 kB / 442.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.104, allocations: 75.88 kB / 442.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1041, allocations: 189.6 kB / 443.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.1044, allocations: 130.9 kB / 443.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.779e-05/0.1045, allocations: 60.89 kB / 443.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.1045, allocations: 15.98 kB / 443.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.1045, allocations: 34.56 kB / 443.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.1045, allocations: 0 / 443.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002643/0.1072, allocations: 2.205 MB / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.1072, allocations: 51.64 kB / 445.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.377e-05/0.1073, allocations: 97.86 kB / 445.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1073, allocations: 25.7 kB / 445.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.352e-05/0.1073, allocations: 84.7 kB / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.1074, allocations: 102.5 kB / 445.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1075, allocations: 97.59 kB / 446 MB, free: 1.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.1076, allocations: 330.9 kB / 446.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.108, allocations: 0.5817 MB / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.1084, allocations: 0.5783 MB / 447.5 MB, free: 396 kB / 318.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.002263/0.1107, allocations: 2.053 MB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1107, allocations: 0 / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001777/0.1125, allocations: 1.706 MB / 451.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1125, allocations: 4 kB / 451.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001821/0.1143, allocations: 1.523 MB / 452.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006933/0.1151, allocations: 420.5 kB / 453.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.1153, allocations: 59.95 kB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.1164, allocations: 1.192 MB / 454.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1165, allocations: 4 kB / 454.4 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/0.1166, allocations: 72 kB / 454.5 MB, free: 9.32 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.0001914/0.1168, allocations: 141.6 kB / 454.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.1168, allocations: 15.89 kB / 454.7 MB, free: 9.156 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.001505/0.1184, allocations: 0.8828 MB / 455.5 MB, free: 8.277 MB / 334.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.