Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 76.91 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1032, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001754/0.105, allocations: 0.5114 MB / 480.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004719/0.1055, allocations: 218 kB / 480.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.1055, allocations: 0 / 480.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.1057, allocations: 15.97 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.109e-05/0.1057, allocations: 3.938 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.106, allocations: 47.89 kB / 480.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.1061, allocations: 15.97 kB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.1061, allocations: 0 / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.712e-05/0.1061, allocations: 19.92 kB / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.1062, allocations: 23.92 kB / 481 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1063, allocations: 4 kB / 481 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1064, allocations: 47.95 kB / 481 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.404e-05/0.1064, allocations: 19.91 kB / 481 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.1065, allocations: 19.86 kB / 481.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1066, allocations: 63.84 kB / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1066, allocations: 0 / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1066, allocations: 0 / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1066, allocations: 0 / 481.1 MB, free: 4.195 MB / 350.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.0004436/0.1071, allocations: 359.6 kB / 481.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1071, allocations: 12.03 kB / 481.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.1071, allocations: 38.73 kB / 481.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.1072, allocations: 8.875 kB / 481.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1073, allocations: 164.3 kB / 481.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1073, allocations: 4.375 kB / 481.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1073, allocations: 384 / 481.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1075, allocations: 94.22 kB / 481.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1075, allocations: 3.938 kB / 481.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1075, allocations: 0 / 481.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.1076, allocations: 15.98 kB / 481.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1077, allocations: 71.89 kB / 481.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.1079, allocations: 197.5 kB / 482.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1081, allocations: 125.6 kB / 482.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.1082, allocations: 68.91 kB / 482.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.1083, allocations: 12.12 kB / 482.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1083, allocations: 38.44 kB / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.1083, allocations: 0 / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003204/0.1115, allocations: 2.206 MB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1116, allocations: 55.64 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.1116, allocations: 97.78 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1117, allocations: 33.7 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.1117, allocations: 84.7 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.1118, allocations: 94.56 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1119, allocations: 93.78 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1121, allocations: 322.8 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.1126, allocations: 0.5778 MB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.1132, allocations: 0.5778 MB / 486.4 MB, free: 14.63 MB / 366.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.002366/0.1156, allocations: 2.048 MB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1156, allocations: 0 / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00171/0.1173, allocations: 1.721 MB / 490.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1173, allocations: 4 kB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001842/0.1192, allocations: 1.516 MB / 491.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.1199, allocations: 416.5 kB / 492.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1201, allocations: 55.95 kB / 492.2 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.1213, allocations: 1.189 MB / 493.4 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1214, allocations: 11.97 kB / 493.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-05/0.1215, allocations: 71.97 kB / 493.5 MB, free: 7.562 MB / 366.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.0002183/0.1218, allocations: 143.2 kB / 493.6 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.1218, allocations: 11.84 kB / 493.6 MB, free: 7.406 MB / 366.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.001511/0.1233, allocations: 0.8981 MB / 494.5 MB, free: 6.516 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.