Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008999/0.0009, allocations: 178.2 kB / 17.39 MB, free: 4.422 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.36/1.36, allocations: 205.4 MB / 223.5 MB, free: 9.012 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.0007688/0.0007688, allocations: 89.53 kB / 271.9 MB, free: 8.246 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.3542/0.3542, allocations: 43.55 MB / 363.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 16 kB / 432.6 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1067, allocations: 58.84 MB / 491.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0005785/0.1073, allocations: 252.3 kB / 491.7 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004352/0.1077, allocations: 218 kB / 491.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.1078, allocations: 0 / 491.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1079, allocations: 4 kB / 491.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.477e-05/0.1079, allocations: 19.86 kB / 492 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.1082, allocations: 35.95 kB / 492 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.1082, allocations: 15.92 kB / 492 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.1083, allocations: 4 kB / 492 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.1083, allocations: 4 kB / 492 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.1084, allocations: 27.91 kB / 492 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1084, allocations: 4 kB / 492 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-05/0.1085, allocations: 43.95 kB / 492.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.1085, allocations: 15.97 kB / 492.1 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.1086, allocations: 41.58 kB / 492.1 MB, free: 9.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.581e-05/0.1087, allocations: 39.94 kB / 492.2 MB, free: 9.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1087, allocations: 4 kB / 492.2 MB, free: 9.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1087, allocations: 0 / 492.2 MB, free: 9.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.1087, allocations: 0 / 492.2 MB, free: 9.941 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.0004169/0.1091, allocations: 351.6 kB / 492.5 MB, free: 9.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1092, allocations: 8.031 kB / 492.5 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.1092, allocations: 4.844 kB / 492.5 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1093, allocations: 168.3 kB / 492.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1093, allocations: 384 / 492.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1094, allocations: 8.359 kB / 492.7 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1095, allocations: 98.02 kB / 492.8 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1096, allocations: 192 / 492.8 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1096, allocations: 7.938 kB / 492.8 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.1096, allocations: 11.98 kB / 492.8 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1097, allocations: 63.95 kB / 492.9 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.1099, allocations: 197.5 kB / 493.1 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.1102, allocations: 130.7 kB / 493.2 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.1103, allocations: 74.75 kB / 493.3 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.1103, allocations: 11.94 kB / 493.3 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1104, allocations: 30.56 kB / 493.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.1104, allocations: 0 / 493.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.003099/0.1135, allocations: 2.221 MB / 495.5 MB, free: 6.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.1135, allocations: 59.58 kB / 495.6 MB, free: 6.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.1136, allocations: 93.86 kB / 495.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.1136, allocations: 29.7 kB / 495.7 MB, free: 6.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.1137, allocations: 80.7 kB / 495.8 MB, free: 6.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/0.1138, allocations: 98.55 kB / 495.9 MB, free: 6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.1138, allocations: 8 kB / 495.9 MB, free: 5.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.1139, allocations: 326.8 kB / 496.2 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/0.1145, allocations: 0.5778 MB / 496.8 MB, free: 5.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.115, allocations: 0.5817 MB / 497.4 MB, free: 4.504 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.003303/0.1184, allocations: 3.1 MB / 0.4888 GB, free: 1.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1184, allocations: 0 / 0.4888 GB, free: 1.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001274/0.1197, allocations: 1.283 MB / 0.49 GB, free: 20 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1197, allocations: 12 kB / 0.49 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1898/0.3095, allocations: 1.247 MB / 0.4912 GB, free: 44.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/0.3095, allocations: 1.031 kB / 0.4912 GB, free: 44.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009188/0.3105, allocations: 132.2 kB / 0.4914 GB, free: 44.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009107/0.3114, allocations: 1.111 MB / 0.4924 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3115, allocations: 5.438 kB / 0.4925 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/0.3116, allocations: 71 kB / 0.4925 GB, free: 43.48 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: taby[6] = tabx[6] ^ 2.0. 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.3118, allocations: 149 kB / 0.4927 GB, free: 43.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.3118, allocations: 11.88 kB / 0.4927 GB, free: 43.37 MB / 378.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.001706/0.3135, allocations: 0.8792 MB / 0.4935 GB, free: 43.31 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.