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.001651/0.00165, allocations: 114.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 71.89 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3431, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001612/0.3447, allocations: 0.5103 MB / 0.531 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004937/0.3452, allocations: 222.7 kB / 0.5312 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.3453, allocations: 0 / 0.5312 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.3454, allocations: 1.219 kB / 0.5312 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.411e-05/0.3455, allocations: 10.45 kB / 0.5312 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.3457, allocations: 50.55 kB / 0.5313 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.3458, allocations: 21.16 kB / 0.5313 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.3459, allocations: 6.641 kB / 0.5313 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.3459, allocations: 6.438 kB / 0.5313 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.346, allocations: 27.03 kB / 0.5313 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.346, allocations: 7.094 kB / 0.5313 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3461, allocations: 47.7 kB / 0.5314 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.3462, allocations: 19.64 kB / 0.5314 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.3462, allocations: 19.84 kB / 0.5314 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.3464, allocations: 72.02 kB / 0.5315 GB, free: 12.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3464, allocations: 3.938 kB / 0.5315 GB, free: 12.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3464, allocations: 0 / 0.5315 GB, free: 12.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3464, allocations: 3.938 kB / 0.5315 GB, free: 12.68 MB / 398.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.0005025/0.3469, allocations: 355.4 kB / 0.5318 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.347, allocations: 8.781 kB / 0.5318 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.347, allocations: 39.98 kB / 0.5319 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.3471, allocations: 6.891 kB / 0.5319 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.3472, allocations: 162.4 kB / 0.532 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3472, allocations: 5.438 kB / 0.532 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3472, allocations: 2.5 kB / 0.532 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3474, allocations: 97.09 kB / 0.5321 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3474, allocations: 5.219 kB / 0.5321 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3474, allocations: 0 / 0.5321 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.3475, allocations: 13.23 kB / 0.5322 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3476, allocations: 64.08 kB / 0.5322 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.3478, allocations: 198.9 kB / 0.5324 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.3481, allocations: 133.6 kB / 0.5325 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.311e-05/0.3482, allocations: 59.84 kB / 0.5326 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.3482, allocations: 11.86 kB / 0.5326 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3482, allocations: 34.5 kB / 0.5326 GB, free: 11.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.3483, allocations: 4 kB / 0.5326 GB, free: 11.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003357/0.3516, allocations: 2.214 MB / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.3517, allocations: 55.7 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.3518, allocations: 101.8 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.3518, allocations: 32.08 kB / 0.535 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.3519, allocations: 84.7 kB / 0.5351 GB, free: 10.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.352, allocations: 99.25 kB / 0.5352 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.3521, allocations: 91.5 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3523, allocations: 322.1 kB / 0.5356 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/0.3529, allocations: 0.583 MB / 0.5361 GB, free: 9.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.3536, allocations: 0.5762 MB / 0.5367 GB, free: 9.594 MB / 398.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.002831/0.3564, allocations: 2.054 MB / 0.5387 GB, free: 8.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3564, allocations: 4 kB / 0.5387 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001899/0.3584, allocations: 1.712 MB / 0.5404 GB, free: 7.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3584, allocations: 10.44 kB / 0.5404 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001843/0.3602, allocations: 1.524 MB / 0.5419 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006972/0.3609, allocations: 408.5 kB / 0.5423 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.3612, allocations: 63.89 kB / 0.5423 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.3623, allocations: 1.185 MB / 0.5435 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.3624, allocations: 4 kB / 0.5435 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.3625, allocations: 72 kB / 0.5435 GB, free: 4.16 MB / 398.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.0001983/0.3627, allocations: 150.7 kB / 0.5437 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.3628, allocations: 16.02 kB / 0.5437 GB, free: 3.988 MB / 398.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.001393/0.3642, allocations: 0.8788 MB / 0.5446 GB, free: 3.105 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.