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.001533/0.001533, allocations: 105 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002009/0.002009, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.4 MB, free: 9.078 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2431/0.2431, allocations: 46.11 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 72.84 kB / 417.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1513, allocations: 62.45 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002165/0.1535, allocations: 0.5786 MB / 480.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005871/0.1541, allocations: 219.5 kB / 480.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.1542, allocations: 0 / 480.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.1544, allocations: 7.938 kB / 480.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.743e-05/0.1544, allocations: 4 kB / 480.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1548, allocations: 43.95 kB / 480.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.062e-05/0.1549, allocations: 19.92 kB / 480.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.1549, allocations: 7.984 kB / 480.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.847e-05/0.155, allocations: 15.92 kB / 480.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1551, allocations: 19.97 kB / 480.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.1551, allocations: 4 kB / 480.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1552, allocations: 47.95 kB / 480.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.1553, allocations: 11.94 kB / 480.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.1553, allocations: 15.86 kB / 480.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.1555, allocations: 75.83 kB / 480.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1555, allocations: 0 / 480.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1555, allocations: 0 / 480.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1556, allocations: 0 / 480.6 MB, free: 4.422 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.0006193/0.1562, allocations: 359.6 kB / 481 MB, free: 4.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1562, allocations: 12.03 kB / 481 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.1563, allocations: 34.75 kB / 481 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.1563, allocations: 4.938 kB / 481.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1565, allocations: 164.3 kB / 481.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1565, allocations: 8.375 kB / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1565, allocations: 384 / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.1567, allocations: 94.22 kB / 481.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1568, allocations: 3.938 kB / 481.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1568, allocations: 0 / 481.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.1568, allocations: 11.98 kB / 481.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1569, allocations: 75.83 kB / 481.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.1572, allocations: 197.5 kB / 481.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.1575, allocations: 129.4 kB / 481.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1576, allocations: 69.02 kB / 481.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.1577, allocations: 8.141 kB / 481.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1577, allocations: 38.44 kB / 481.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.1577, allocations: 4 kB / 481.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.00361/0.1613, allocations: 2.196 MB / 484 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1614, allocations: 55.64 kB / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.1615, allocations: 97.8 kB / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.1615, allocations: 37.64 kB / 484.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.1616, allocations: 80.7 kB / 484.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.1617, allocations: 98.55 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.1618, allocations: 93.64 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.162, allocations: 322.8 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006229/0.1626, allocations: 0.574 MB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.1632, allocations: 0.5856 MB / 486 MB, free: 14.86 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.002552/0.1658, allocations: 2.065 MB / 488 MB, free: 12.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1658, allocations: 0 / 488 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00198/0.1678, allocations: 1.71 MB / 489.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.1678, allocations: 4 kB / 489.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00215/0.17, allocations: 1.519 MB / 491.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000814/0.1708, allocations: 412.5 kB / 491.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.1711, allocations: 67.89 kB / 491.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.1724, allocations: 1.189 MB / 492.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.1725, allocations: 4 kB / 492.9 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/0.1726, allocations: 67.97 kB / 493 MB, free: 7.785 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.0002445/0.1729, allocations: 145.8 kB / 493.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.1729, allocations: 7.906 kB / 493.1 MB, free: 7.625 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.001669/0.1746, allocations: 0.8903 MB / 494 MB, free: 6.746 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.