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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241.6 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 115.9 kB / 291.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3201/0.3201, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 51.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3223, allocations: 60.81 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001807/0.3242, allocations: 0.5765 MB / 0.5069 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004891/0.3247, allocations: 229.2 kB / 0.5072 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.3247, allocations: 1.125 kB / 0.5072 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3248, allocations: 2.938 kB / 0.5072 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.03e-05/0.3249, allocations: 3.938 kB / 0.5072 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.3251, allocations: 34.08 kB / 0.5072 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.3251, allocations: 21.89 kB / 0.5072 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.3252, allocations: 0 / 0.5072 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.044e-05/0.3252, allocations: 17.12 kB / 0.5072 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.3253, allocations: 24.88 kB / 0.5073 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3253, allocations: 2.781 kB / 0.5073 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.441e-05/0.3254, allocations: 52.91 kB / 0.5073 GB, free: 37.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.3255, allocations: 17.16 kB / 0.5073 GB, free: 37.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.3255, allocations: 22.05 kB / 0.5074 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.3256, allocations: 62.81 kB / 0.5074 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3256, allocations: 0 / 0.5074 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3256, allocations: 0 / 0.5074 GB, free: 37.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3256, allocations: 3.938 kB / 0.5074 GB, free: 37.64 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.0004033/0.3261, allocations: 353.3 kB / 0.5078 GB, free: 37.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3261, allocations: 9.875 kB / 0.5078 GB, free: 37.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.3261, allocations: 7.188 kB / 0.5078 GB, free: 37.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.803e-05/0.3262, allocations: 169.4 kB / 0.5079 GB, free: 37.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3262, allocations: 5.375 kB / 0.5079 GB, free: 37.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3263, allocations: 6.594 kB / 0.5079 GB, free: 37.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3264, allocations: 90.28 kB / 0.508 GB, free: 37.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3264, allocations: 4.172 kB / 0.508 GB, free: 37.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3265, allocations: 5.094 kB / 0.508 GB, free: 37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.3265, allocations: 11.69 kB / 0.508 GB, free: 37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3266, allocations: 62.67 kB / 0.5081 GB, free: 36.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.3268, allocations: 199.8 kB / 0.5083 GB, free: 36.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.3271, allocations: 134.2 kB / 0.5084 GB, free: 36.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.983e-05/0.3272, allocations: 62.64 kB / 0.5085 GB, free: 36.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.3272, allocations: 6.531 kB / 0.5085 GB, free: 36.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.3272, allocations: 39.97 kB / 0.5085 GB, free: 36.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.3272, allocations: 4 kB / 0.5085 GB, free: 36.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.002705/0.33, allocations: 2.207 MB / 0.5107 GB, free: 36.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.33, allocations: 57.17 kB / 0.5107 GB, free: 36.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.841e-05/0.33, allocations: 97.86 kB / 0.5108 GB, free: 35.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3301, allocations: 35.98 kB / 0.5109 GB, free: 35.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.7e-05/0.3301, allocations: 80.7 kB / 0.5109 GB, free: 35.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.3302, allocations: 96.77 kB / 0.511 GB, free: 35.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3303, allocations: 94.55 kB / 0.5111 GB, free: 35.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.546e-05/0.3304, allocations: 325 kB / 0.5114 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.3309, allocations: 0.5808 MB / 0.512 GB, free: 35.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.3314, allocations: 0.5775 MB / 0.5126 GB, free: 35.14 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.002489/0.3339, allocations: 2.05 MB / 0.5146 GB, free: 34.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3339, allocations: 0 / 0.5146 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001822/0.3358, allocations: 1.711 MB / 0.5162 GB, free: 34.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3358, allocations: 5.812 kB / 0.5163 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00192/0.3377, allocations: 1.527 MB / 0.5177 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008659/0.3386, allocations: 413.7 kB / 0.5181 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.3388, allocations: 56.03 kB / 0.5182 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009398/0.3398, allocations: 1.196 MB / 0.5194 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3399, allocations: 2.875 kB / 0.5194 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/0.34, allocations: 69.05 kB / 0.5194 GB, free: 33.49 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 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.0001991/0.3402, allocations: 141.5 kB / 0.5196 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.3402, allocations: 6.719 kB / 0.5196 GB, free: 33.36 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.001416/0.3417, allocations: 0.899 MB / 0.5204 GB, free: 33.03 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.