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: "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 100.5 kB / 15.98 MB, free: 5.84 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.002227/0.002227, allocations: 194 kB / 16.9 MB, free: 5.719 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.67/1.67, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.2432/0.2432, allocations: 43.51 MB / 313.6 MB, free: 0.7109 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.001889/0.001889, allocations: 68 kB / 382.3 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1125, allocations: 57.8 MB / 440.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001805/0.1144, allocations: 0.5817 MB / 440.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005111/0.1149, allocations: 220.3 kB / 440.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.115, allocations: 0 / 440.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.1152, allocations: 12 kB / 440.9 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.893e-05/0.1152, allocations: 7.922 kB / 440.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1155, allocations: 43.86 kB / 441 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.139e-05/0.1156, allocations: 23.86 kB / 441 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.1157, allocations: 4 kB / 441 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.1157, allocations: 8 kB / 441 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1158, allocations: 27.89 kB / 441 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1158, allocations: 4 kB / 441 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.116, allocations: 47.95 kB / 441.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.116, allocations: 15.98 kB / 441.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.116, allocations: 15.88 kB / 441.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1162, allocations: 71.77 kB / 441.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1162, allocations: 0 / 441.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1162, allocations: 3.938 kB / 441.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1162, allocations: 0 / 441.2 MB, free: 6.176 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.0005007/0.1167, allocations: 351.8 kB / 441.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1168, allocations: 11.89 kB / 441.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.1168, allocations: 38.75 kB / 441.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.1169, allocations: 4.844 kB / 441.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.941e-05/0.117, allocations: 180.2 kB / 441.8 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.117, allocations: 4.359 kB / 441.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.117, allocations: 4.375 kB / 441.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1172, allocations: 90.22 kB / 441.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1172, allocations: 3.938 kB / 441.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1172, allocations: 4 kB / 441.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.1173, allocations: 8 kB / 441.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1174, allocations: 71.88 kB / 441.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1175, allocations: 197.5 kB / 442.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1178, allocations: 126.8 kB / 442.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/0.1179, allocations: 60.89 kB / 442.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.1179, allocations: 11.98 kB / 442.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.118, allocations: 43.06 kB / 442.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.118, allocations: 0 / 442.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002763/0.1207, allocations: 2.206 MB / 444.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1208, allocations: 55.64 kB / 444.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.889e-05/0.1209, allocations: 97.8 kB / 444.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.1209, allocations: 29.7 kB / 444.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.616e-05/0.1209, allocations: 80.7 kB / 444.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.762e-05/0.121, allocations: 106.5 kB / 444.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.1212, allocations: 93.59 kB / 445 MB, free: 2.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.1212, allocations: 326.8 kB / 445.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.1217, allocations: 0.5818 MB / 445.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.1221, allocations: 0.5856 MB / 446.5 MB, free: 0.5898 MB / 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.002322/0.1245, allocations: 2.052 MB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1245, allocations: 0 / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001825/0.1263, allocations: 1.706 MB / 450.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.1264, allocations: 4 kB / 450.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00189/0.1282, allocations: 1.523 MB / 451.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007132/0.129, allocations: 412.5 kB / 452.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1292, allocations: 59.95 kB / 452.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.1305, allocations: 1.189 MB / 453.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.1306, allocations: 4 kB / 453.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.1307, allocations: 76.06 kB / 453.5 MB, free: 9.527 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.0002338/0.1309, allocations: 145.6 kB / 453.7 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.131, allocations: 19.83 kB / 453.7 MB, free: 9.355 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.001766/0.1328, allocations: 0.8788 MB / 454.6 MB, free: 8.484 MB / 334.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.