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.001168/0.001168, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 81 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1166, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00182/0.1185, allocations: 0.5074 MB / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005991/0.1191, allocations: 222 kB / 480.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.1192, allocations: 4 kB / 480.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.1194, allocations: 15.91 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.665e-05/0.1194, allocations: 0 / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.1197, allocations: 43.91 kB / 480.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.349e-05/0.1198, allocations: 27.89 kB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.1199, allocations: 4 kB / 480.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.717e-05/0.1199, allocations: 11.94 kB / 480.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.12, allocations: 19.97 kB / 481 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.12, allocations: 4 kB / 481 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1202, allocations: 47.95 kB / 481 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.1202, allocations: 19.91 kB / 481 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.1202, allocations: 19.88 kB / 481.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1204, allocations: 67.83 kB / 481.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1204, allocations: 0 / 481.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1204, allocations: 0 / 481.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1204, allocations: 0 / 481.1 MB, free: 4.199 MB / 350.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.0005297/0.121, allocations: 355.7 kB / 481.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.121, allocations: 8.031 kB / 481.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.1211, allocations: 46.62 kB / 481.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.1211, allocations: 0.9375 kB / 481.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1212, allocations: 172.4 kB / 481.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1212, allocations: 384 / 481.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1213, allocations: 384 / 481.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1214, allocations: 96.61 kB / 481.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1215, allocations: 3.938 kB / 481.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1215, allocations: 0 / 481.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.1215, allocations: 15.94 kB / 481.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1216, allocations: 67.89 kB / 481.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.1219, allocations: 197.5 kB / 482.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.1222, allocations: 130.8 kB / 482.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.504e-05/0.1223, allocations: 60.89 kB / 482.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.1223, allocations: 16.11 kB / 482.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1223, allocations: 46.44 kB / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.1224, allocations: 0 / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003242/0.1256, allocations: 2.2 MB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1257, allocations: 51.64 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.1257, allocations: 101.8 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.1258, allocations: 33.64 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.1258, allocations: 80.7 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1259, allocations: 98.56 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.1261, allocations: 93.64 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1262, allocations: 318.8 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/0.1268, allocations: 0.5817 MB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.1274, allocations: 0.5818 MB / 486.4 MB, free: 14.63 MB / 366.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.002362/0.1298, allocations: 2.052 MB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1298, allocations: 4 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001768/0.1316, allocations: 1.71 MB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1316, allocations: 4 kB / 490.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001785/0.1334, allocations: 1.519 MB / 491.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006677/0.134, allocations: 412.5 kB / 492.1 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.1343, allocations: 63.89 kB / 492.2 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.1354, allocations: 1.189 MB / 493.4 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1355, allocations: 4 kB / 493.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.1356, allocations: 72.06 kB / 493.5 MB, free: 7.57 MB / 366.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.0001855/0.1358, allocations: 147.7 kB / 493.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.1358, allocations: 11.91 kB / 493.6 MB, free: 7.41 MB / 366.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.001584/0.1374, allocations: 0.8942 MB / 494.5 MB, free: 6.523 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.