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.00205/0.00205, allocations: 119.4 kB / 17.09 MB, free: 5.992 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.002518/0.002518, allocations: 193.3 kB / 18.01 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.543/3.543, allocations: 205.1 MB / 223.9 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.4176/0.4176, allocations: 43.52 MB / 314.8 MB, free: 468 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.002327/0.002327, allocations: 63.91 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2737, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00263/0.2763, allocations: 0.5136 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000935/0.2773, allocations: 232.7 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.2774, allocations: 0 / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.2776, allocations: 11.92 kB / 0.4893 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.771e-05/0.2777, allocations: 7.984 kB / 0.4893 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.2782, allocations: 43.84 kB / 0.4893 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2783, allocations: 27.95 kB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.2784, allocations: 4 kB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.2784, allocations: 4 kB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.2786, allocations: 27.91 kB / 0.4894 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.2786, allocations: 0 / 0.4894 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.2788, allocations: 51.94 kB / 0.4894 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.2789, allocations: 15.98 kB / 0.4894 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.2789, allocations: 19.86 kB / 0.4895 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.2792, allocations: 71.72 kB / 0.4895 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.2792, allocations: 7.984 kB / 0.4895 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2792, allocations: 0 / 0.4895 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.2792, allocations: 0 / 0.4895 GB, free: 10.8 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.0008172/0.28, allocations: 351.4 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/0.2801, allocations: 15.89 kB / 0.4899 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.2802, allocations: 4.844 kB / 0.4899 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.2804, allocations: 168.3 kB / 0.49 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2804, allocations: 384 / 0.49 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.2805, allocations: 8.312 kB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.2807, allocations: 94.22 kB / 0.4901 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.2808, allocations: 4.125 kB / 0.4901 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.2808, allocations: 7.938 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.2809, allocations: 11.98 kB / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.281, allocations: 67.94 kB / 0.4902 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.2814, allocations: 197.5 kB / 0.4904 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.2818, allocations: 138 kB / 0.4905 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.282, allocations: 56.91 kB / 0.4906 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.602e-05/0.282, allocations: 11.98 kB / 0.4906 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.2821, allocations: 34.56 kB / 0.4906 GB, free: 9.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.2821, allocations: 0 / 0.4906 GB, free: 9.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.005337/0.2874, allocations: 2.217 MB / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/0.2876, allocations: 55.64 kB / 0.4929 GB, free: 7.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.2877, allocations: 93.84 kB / 0.493 GB, free: 7.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.2878, allocations: 29.83 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.2878, allocations: 84.7 kB / 0.4931 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.288, allocations: 102.6 kB / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.2883, allocations: 85.66 kB / 0.4932 GB, free: 6.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.2885, allocations: 326.8 kB / 0.4936 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.2896, allocations: 0.5817 MB / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.2907, allocations: 0.5791 MB / 0.4947 GB, free: 5.273 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.004052/0.2947, allocations: 2.052 MB / 0.4967 GB, free: 3.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2948, allocations: 0 / 0.4967 GB, free: 3.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003175/0.298, allocations: 1.702 MB / 0.4984 GB, free: 1.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.298, allocations: 8 kB / 0.4984 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00314/0.3012, allocations: 1.52 MB / 0.4998 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.3022, allocations: 416.5 kB / 0.5002 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.3026, allocations: 63.89 kB / 0.5003 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.3045, allocations: 1.185 MB / 0.5015 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.3048, allocations: 8.031 kB / 0.5015 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.3049, allocations: 75.95 kB / 0.5015 GB, free: 14.21 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.0003265/0.3052, allocations: 145.6 kB / 0.5017 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.3053, allocations: 7.906 kB / 0.5017 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.00228/0.3076, allocations: 0.8904 MB / 0.5026 GB, free: 13.15 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.