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.0008847/0.000885, allocations: 97.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008817/0.0008817, allocations: 203.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002816, allocations: 11.98 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 63.56 MB / 483.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0007313/0.1366, allocations: 246.8 kB / 483.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006019/0.1373, allocations: 230 kB / 483.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.1373, allocations: 0 / 483.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1375, allocations: 0 / 483.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.1375, allocations: 11.98 kB / 483.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1378, allocations: 35.91 kB / 483.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.1379, allocations: 15.98 kB / 483.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.1379, allocations: 7.984 kB / 483.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.138, allocations: 11.92 kB / 483.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1381, allocations: 23.91 kB / 483.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1381, allocations: 4 kB / 483.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.1383, allocations: 51.89 kB / 483.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.1383, allocations: 15.92 kB / 483.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.1384, allocations: 41.58 kB / 483.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1385, allocations: 71.83 kB / 483.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1385, allocations: 0 / 483.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1385, allocations: 0 / 483.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1386, allocations: 0 / 483.9 MB, free: 3.348 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.0005527/0.1391, allocations: 347.7 kB / 484.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.1392, allocations: 12.88 kB / 484.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.1392, allocations: 34.75 kB / 484.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1393, allocations: 8.938 kB / 484.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1394, allocations: 168.3 kB / 484.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1395, allocations: 8.359 kB / 484.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.1395, allocations: 4.375 kB / 484.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1397, allocations: 94.22 kB / 484.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1397, allocations: 3.938 kB / 484.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1397, allocations: 0 / 484.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.1398, allocations: 11.98 kB / 484.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1399, allocations: 67.89 kB / 484.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.1402, allocations: 193.5 kB / 484.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.1404, allocations: 130.8 kB / 485 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1406, allocations: 64.95 kB / 485 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.1406, allocations: 12.08 kB / 485.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1407, allocations: 38.44 kB / 485.1 MB, free: 2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.976e-06/0.1407, allocations: 4 kB / 485.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003624/0.1443, allocations: 2.206 MB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1444, allocations: 59.64 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/0.1445, allocations: 93.8 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.1445, allocations: 33.7 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.1445, allocations: 80.7 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.1447, allocations: 102.5 kB / 487.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.1447, allocations: 29.7 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1449, allocations: 322.8 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.1455, allocations: 0.5739 MB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.1461, allocations: 0.5818 MB / 489.2 MB, free: 13.85 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.002612/0.1487, allocations: 2.057 MB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1487, allocations: 0 / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001985/0.1507, allocations: 1.71 MB / 492.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1508, allocations: 4 kB / 492.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001901/0.1527, allocations: 1.519 MB / 494.5 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/0.1534, allocations: 424.4 kB / 494.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.1536, allocations: 59.95 kB / 494.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.1548, allocations: 1.177 MB / 496.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.1549, allocations: 8.094 kB / 496.1 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/0.155, allocations: 79.91 kB / 496.2 MB, free: 6.781 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 sytem: 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.0002148/0.1552, allocations: 137.8 kB / 496.3 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.1553, allocations: 7.906 kB / 496.3 MB, free: 6.629 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.001712/0.157, allocations: 0.8902 MB / 497.2 MB, free: 5.75 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.