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.001107/0.001107, allocations: 110.9 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 209.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 75.88 kB / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4249, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001872/0.4268, allocations: 0.512 MB / 0.531 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005633/0.4274, allocations: 220.5 kB / 0.5312 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.4275, allocations: 0 / 0.5312 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.4277, allocations: 2.25 kB / 0.5312 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.172e-05/0.4277, allocations: 11.89 kB / 0.5312 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.428, allocations: 44.08 kB / 0.5313 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.767e-05/0.4281, allocations: 20.41 kB / 0.5313 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.4282, allocations: 1.969 kB / 0.5313 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/0.4282, allocations: 12.33 kB / 0.5313 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.4283, allocations: 22.22 kB / 0.5313 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.4284, allocations: 10.12 kB / 0.5313 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.4285, allocations: 56.14 kB / 0.5314 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.4286, allocations: 14.36 kB / 0.5314 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.4286, allocations: 23.03 kB / 0.5314 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.4288, allocations: 67.94 kB / 0.5315 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4288, allocations: 3.938 kB / 0.5315 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.4288, allocations: 0 / 0.5315 GB, free: 12.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.4288, 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.0005761/0.4294, allocations: 351.9 kB / 0.5318 GB, free: 12.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4295, allocations: 14.38 kB / 0.5318 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.4295, allocations: 37.41 kB / 0.5319 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.4296, allocations: 6.359 kB / 0.5319 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.4297, allocations: 169.5 kB / 0.532 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.4297, allocations: 1.969 kB / 0.532 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.4297, allocations: 7.062 kB / 0.532 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.4299, allocations: 92.97 kB / 0.5321 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.43, allocations: 3.938 kB / 0.5321 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.43, allocations: 1.062 kB / 0.5321 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.43, allocations: 8.406 kB / 0.5321 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.4302, allocations: 72.97 kB / 0.5322 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.4304, allocations: 194.7 kB / 0.5324 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.4307, allocations: 120.7 kB / 0.5325 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.9e-05/0.4308, allocations: 67.64 kB / 0.5326 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.4308, allocations: 18.36 kB / 0.5326 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.4309, allocations: 40.94 kB / 0.5326 GB, free: 11.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.4309, allocations: 0 / 0.5326 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.00349/0.4344, allocations: 2.215 MB / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.4344, allocations: 54.52 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.4345, allocations: 94.95 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.4346, allocations: 31.61 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.4346, allocations: 84.69 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4347, allocations: 95.34 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.4349, allocations: 90.97 kB / 0.5352 GB, free: 10.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.435, allocations: 326.6 kB / 0.5355 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.4358, allocations: 0.5782 MB / 0.5361 GB, free: 9.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007189/0.4365, allocations: 0.5776 MB / 0.5367 GB, free: 9.605 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.002832/0.4393, allocations: 2.053 MB / 0.5387 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4393, allocations: 4 kB / 0.5387 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001899/0.4413, allocations: 1.71 MB / 0.5404 GB, free: 7.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4413, allocations: 7.938 kB / 0.5404 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001935/0.4432, allocations: 1.516 MB / 0.5418 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000745/0.444, allocations: 412.5 kB / 0.5422 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.4442, allocations: 59.95 kB / 0.5423 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.4454, allocations: 1.193 MB / 0.5435 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.4456, allocations: 4 kB / 0.5435 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.4457, allocations: 67.97 kB / 0.5435 GB, free: 4.184 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.0002412/0.4459, allocations: 157.3 kB / 0.5437 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.446, allocations: 11.89 kB / 0.5437 GB, free: 4.012 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.001484/0.4475, allocations: 0.8904 MB / 0.5446 GB, free: 3.117 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.