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.00141/0.00141, allocations: 117.8 kB / 17.79 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.001708/0.001708, allocations: 212.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 75.88 kB / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4124, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00169/0.4141, allocations: 0.5058 MB / 0.531 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005307/0.4147, allocations: 218.1 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.4147, allocations: 0 / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.4149, allocations: 6.25 kB / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.518e-05/0.4149, allocations: 13.08 kB / 0.5312 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.4152, allocations: 47.08 kB / 0.5313 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.4153, allocations: 16.83 kB / 0.5313 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.4154, allocations: 10.11 kB / 0.5313 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.207e-05/0.4154, allocations: 7.312 kB / 0.5313 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.4155, allocations: 29.67 kB / 0.5313 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.4156, allocations: 6.625 kB / 0.5313 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.4157, allocations: 48.73 kB / 0.5314 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.4157, allocations: 17.95 kB / 0.5314 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.4158, allocations: 18.3 kB / 0.5314 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.4159, allocations: 68.34 kB / 0.5315 GB, free: 12.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4159, allocations: 0 / 0.5315 GB, free: 12.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4159, allocations: 3.938 kB / 0.5315 GB, free: 12.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.4159, allocations: 1.781 kB / 0.5315 GB, free: 12.7 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.0005034/0.4165, allocations: 354.8 kB / 0.5318 GB, free: 12.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4165, allocations: 9.812 kB / 0.5318 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.4165, allocations: 36.77 kB / 0.5319 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.4166, allocations: 2.781 kB / 0.5319 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4167, allocations: 174.2 kB / 0.532 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.4167, allocations: 6 kB / 0.532 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.4168, allocations: 5.938 kB / 0.532 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4169, allocations: 93.64 kB / 0.5321 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.417, allocations: 3.938 kB / 0.5321 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.417, allocations: 5.406 kB / 0.5321 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.417, allocations: 12.86 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.4171, allocations: 66.25 kB / 0.5322 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.4174, allocations: 189.7 kB / 0.5324 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.4177, allocations: 131 kB / 0.5325 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.829e-05/0.4178, allocations: 66.14 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.4178, allocations: 8.344 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.4178, allocations: 38.5 kB / 0.5326 GB, free: 11.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.4179, allocations: 4 kB / 0.5326 GB, free: 11.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003607/0.4215, allocations: 2.218 MB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.4215, allocations: 58.5 kB / 0.5349 GB, free: 10.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.4216, allocations: 99.36 kB / 0.535 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.4217, allocations: 31.89 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.4217, allocations: 80.7 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.4218, allocations: 98.3 kB / 0.5352 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.422, allocations: 92 kB / 0.5352 GB, free: 10.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4221, allocations: 321.6 kB / 0.5356 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006767/0.4228, allocations: 0.5788 MB / 0.5361 GB, free: 9.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/0.4234, allocations: 0.5811 MB / 0.5367 GB, free: 9.617 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.002777/0.4262, allocations: 2.053 MB / 0.5387 GB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4262, allocations: 0 / 0.5387 GB, free: 8.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001816/0.428, allocations: 1.716 MB / 0.5404 GB, free: 7.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.4281, allocations: 4 kB / 0.5404 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001782/0.4299, allocations: 1.528 MB / 0.5419 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008278/0.4307, allocations: 404.5 kB / 0.5422 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.431, allocations: 63.95 kB / 0.5423 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.4325, allocations: 1.189 MB / 0.5435 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.4327, allocations: 7.984 kB / 0.5435 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.4329, allocations: 68 kB / 0.5435 GB, free: 4.191 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.0002671/0.4332, allocations: 145.7 kB / 0.5437 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.4332, allocations: 15.97 kB / 0.5437 GB, free: 4.023 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.001979/0.4352, allocations: 0.8826 MB / 0.5446 GB, free: 3.137 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.