Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001674/0.001674, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, 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 4.1.0-beta.om/package.mo): time 0.2393/0.2393, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 79.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.378, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001599/0.3796, allocations: 0.5157 MB / 0.5311 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005086/0.3801, allocations: 223 kB / 0.5313 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.3802, allocations: 0 / 0.5313 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.3803, allocations: 7.422 kB / 0.5313 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.216e-05/0.3803, allocations: 0 / 0.5313 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3806, allocations: 52.33 kB / 0.5314 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.3807, allocations: 25.47 kB / 0.5314 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.3808, allocations: 0 / 0.5314 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.3808, allocations: 11.67 kB / 0.5314 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.861e-05/0.3809, allocations: 26.5 kB / 0.5314 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3809, allocations: 3.5 kB / 0.5314 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.381, allocations: 51.17 kB / 0.5315 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.3811, allocations: 16.03 kB / 0.5315 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.3811, allocations: 22.05 kB / 0.5315 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.3813, allocations: 68.39 kB / 0.5316 GB, free: 12.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3813, allocations: 0 / 0.5316 GB, free: 12.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3813, allocations: 3.938 kB / 0.5316 GB, free: 12.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3813, allocations: 6.844 kB / 0.5316 GB, free: 12.64 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.0005726/0.3819, allocations: 351.8 kB / 0.5319 GB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.382, allocations: 9.906 kB / 0.5319 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.382, allocations: 40.95 kB / 0.532 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.382, allocations: 7.703 kB / 0.532 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3822, allocations: 161.7 kB / 0.5321 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3822, allocations: 1.312 kB / 0.5321 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.3822, allocations: 2.812 kB / 0.5321 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3824, allocations: 100.4 kB / 0.5322 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3825, allocations: 5.188 kB / 0.5322 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3825, allocations: 0 / 0.5322 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.3825, allocations: 16.77 kB / 0.5323 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3826, allocations: 64.61 kB / 0.5323 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.3829, allocations: 198.7 kB / 0.5325 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.3832, allocations: 130.2 kB / 0.5326 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.574e-05/0.3833, allocations: 63.34 kB / 0.5327 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.3833, allocations: 11.55 kB / 0.5327 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3834, allocations: 34.5 kB / 0.5327 GB, free: 11.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.512e-06/0.3834, allocations: 0 / 0.5327 GB, free: 11.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003411/0.3868, allocations: 2.213 MB / 0.5349 GB, free: 10.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.3868, allocations: 54.89 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.3869, allocations: 99 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.387, allocations: 31.73 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.387, allocations: 84.83 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.3871, allocations: 99.97 kB / 0.5352 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.3873, allocations: 91.28 kB / 0.5353 GB, free: 10.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3874, allocations: 322.1 kB / 0.5356 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/0.3881, allocations: 0.5796 MB / 0.5362 GB, free: 9.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.3887, allocations: 0.5799 MB / 0.5368 GB, free: 9.566 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.003184/0.3919, allocations: 2.057 MB / 0.5388 GB, free: 8.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.392, allocations: 4 kB / 0.5388 GB, free: 8.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002238/0.3942, allocations: 1.71 MB / 0.5405 GB, free: 7.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.3942, allocations: 10.19 kB / 0.5405 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002201/0.3965, allocations: 1.52 MB / 0.542 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008169/0.3973, allocations: 412.5 kB / 0.5423 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.3975, allocations: 63.89 kB / 0.5424 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.3988, allocations: 1.185 MB / 0.5436 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3989, allocations: 8.031 kB / 0.5436 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.582e-05/0.3991, allocations: 67.97 kB / 0.5436 GB, free: 4.105 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.0002349/0.3993, allocations: 149.7 kB / 0.5438 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.3993, allocations: 7.953 kB / 0.5438 GB, free: 3.941 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.001575/0.4009, allocations: 0.8828 MB / 0.5446 GB, free: 3.055 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.