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.001326/0.001326, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 46.1 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 73.44 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1368, allocations: 62.45 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001753/0.1386, allocations: 0.576 MB / 480 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005466/0.1391, allocations: 226.1 kB / 480.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.1391, allocations: 3.938 kB / 480.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.1393, allocations: 8 kB / 480.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.776e-05/0.1393, allocations: 3.984 kB / 480.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1396, allocations: 39.89 kB / 480.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.492e-05/0.1396, allocations: 23.92 kB / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.1397, allocations: 3.984 kB / 480.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.162e-05/0.1397, allocations: 8 kB / 480.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.1398, allocations: 31.89 kB / 480.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.1398, allocations: 0 / 480.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.14, allocations: 47.95 kB / 480.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.14, allocations: 11.98 kB / 480.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.14, allocations: 15.88 kB / 480.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1402, allocations: 75.77 kB / 480.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1402, allocations: 0 / 480.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1402, allocations: 0 / 480.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1402, allocations: 0 / 480.4 MB, free: 4.566 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.0005071/0.1407, allocations: 355.7 kB / 480.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1408, allocations: 8.875 kB / 480.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.1408, allocations: 42.69 kB / 480.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.1408, allocations: 0.9375 kB / 480.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.141, allocations: 168.4 kB / 481 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.141, allocations: 4.359 kB / 481 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.141, allocations: 4.359 kB / 481 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1412, allocations: 93.33 kB / 481.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1412, allocations: 3.938 kB / 481.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1412, allocations: 4 kB / 481.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.1413, allocations: 15.92 kB / 481.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1414, allocations: 67.89 kB / 481.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.1416, allocations: 193.5 kB / 481.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1418, allocations: 126.8 kB / 481.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.142, allocations: 64.89 kB / 481.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.142, allocations: 8.141 kB / 481.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.142, allocations: 46.44 kB / 481.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.142, allocations: 0 / 481.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003318/0.1454, allocations: 2.203 MB / 483.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1454, allocations: 51.64 kB / 483.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.1455, allocations: 101.8 kB / 484 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.1456, allocations: 29.7 kB / 484 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.1456, allocations: 80.7 kB / 484.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1457, allocations: 98.55 kB / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.1458, allocations: 97.64 kB / 484.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.146, allocations: 318.8 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/0.1466, allocations: 0.5778 MB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/0.1472, allocations: 0.5858 MB / 485.7 MB, free: 15.01 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.002464/0.1497, allocations: 2.065 MB / 487.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1497, allocations: 0 / 487.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001866/0.1516, allocations: 1.706 MB / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1516, allocations: 4 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001916/0.1535, allocations: 1.523 MB / 491 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007244/0.1543, allocations: 408.5 kB / 491.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.1545, allocations: 67.89 kB / 491.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.1557, allocations: 1.185 MB / 492.7 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.1558, allocations: 4 kB / 492.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.1559, allocations: 72 kB / 492.8 MB, free: 7.941 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.0002003/0.1561, allocations: 141.3 kB / 492.9 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.1561, allocations: 19.95 kB / 492.9 MB, free: 7.777 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.001618/0.1578, allocations: 0.8903 MB / 493.8 MB, free: 6.898 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.