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.001474/0.001474, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 79.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001688/0.3439, allocations: 0.5135 MB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005691/0.3445, allocations: 216.6 kB / 0.5313 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.3445, allocations: 0 / 0.5313 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.3447, allocations: 10.28 kB / 0.5313 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.329e-05/0.3447, allocations: 1.469 kB / 0.5313 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.345, allocations: 49.58 kB / 0.5314 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.018e-05/0.3451, allocations: 21.53 kB / 0.5314 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.3451, allocations: 1.781 kB / 0.5314 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.3452, allocations: 16.33 kB / 0.5314 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3453, allocations: 25.11 kB / 0.5314 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3453, allocations: 2.781 kB / 0.5314 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3454, allocations: 52.22 kB / 0.5315 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.3455, allocations: 17.52 kB / 0.5315 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.3455, allocations: 27.17 kB / 0.5315 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.3457, allocations: 66.94 kB / 0.5316 GB, free: 12.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3457, allocations: 0 / 0.5316 GB, free: 12.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3457, allocations: 3.938 kB / 0.5316 GB, free: 12.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3457, allocations: 1.25 kB / 0.5316 GB, free: 12.61 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.0005048/0.3462, allocations: 362.2 kB / 0.5319 GB, free: 12.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3463, allocations: 9.312 kB / 0.532 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.3463, allocations: 33.44 kB / 0.532 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.3463, allocations: 6.234 kB / 0.532 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.3465, allocations: 162.9 kB / 0.5321 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3465, allocations: 1.562 kB / 0.5321 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3465, allocations: 9.484 kB / 0.5322 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3467, allocations: 90.02 kB / 0.5322 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3467, allocations: 3.938 kB / 0.5322 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3467, allocations: 1.219 kB / 0.5322 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.3468, allocations: 24.94 kB / 0.5323 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3469, allocations: 64.55 kB / 0.5323 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.3471, allocations: 197.2 kB / 0.5325 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.3474, allocations: 125.8 kB / 0.5326 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.3475, allocations: 67.33 kB / 0.5327 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.3476, allocations: 8.312 kB / 0.5327 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.3476, allocations: 39.91 kB / 0.5328 GB, free: 11.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.3476, allocations: 0 / 0.5328 GB, free: 11.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003545/0.3512, allocations: 2.212 MB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3512, allocations: 54.95 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.3513, allocations: 99.08 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.3514, allocations: 30.98 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.3514, allocations: 80.7 kB / 0.5352 GB, free: 10.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.3515, allocations: 99.59 kB / 0.5353 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.3517, allocations: 99.3 kB / 0.5354 GB, free: 10.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3518, allocations: 322.2 kB / 0.5357 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/0.3525, allocations: 0.5782 MB / 0.5362 GB, free: 9.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.3531, allocations: 0.5816 MB / 0.5368 GB, free: 9.527 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.002617/0.3557, allocations: 2.053 MB / 0.5388 GB, free: 8.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3557, allocations: 0 / 0.5388 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002046/0.3578, allocations: 1.714 MB / 0.5405 GB, free: 7.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3578, allocations: 8 kB / 0.5405 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00197/0.3598, allocations: 1.52 MB / 0.542 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/0.3606, allocations: 408.5 kB / 0.5424 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.3608, allocations: 59.89 kB / 0.5424 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.3621, allocations: 1.189 MB / 0.5436 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3622, allocations: 12.03 kB / 0.5436 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.3623, allocations: 75.97 kB / 0.5437 GB, free: 4.051 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.0003235/0.3627, allocations: 141.6 kB / 0.5438 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.3627, allocations: 7.953 kB / 0.5438 GB, free: 3.895 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.001513/0.3642, allocations: 0.8866 MB / 0.5447 GB, free: 3.004 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.