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.001211/0.001211, allocations: 103.7 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.001247/0.001247, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.232/0.232, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.00227/0.00227, allocations: 79.55 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1283, allocations: 62.46 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001865/0.1302, allocations: 0.5065 MB / 480.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005048/0.1307, allocations: 230 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.1308, allocations: 0 / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.1309, allocations: 7.984 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.012e-05/0.131, allocations: 0 / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1313, allocations: 55.77 kB / 481 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.685e-05/0.1313, allocations: 23.97 kB / 481 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.1314, allocations: 0 / 481 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/0.1314, allocations: 7.938 kB / 481 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.1315, allocations: 27.95 kB / 481.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1315, allocations: 0 / 481.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1317, allocations: 51.95 kB / 481.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.1317, allocations: 15.92 kB / 481.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.1317, allocations: 15.88 kB / 481.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1319, allocations: 71.77 kB / 481.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1319, allocations: 4 kB / 481.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1319, allocations: 4 kB / 481.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1319, allocations: 0 / 481.2 MB, free: 4.164 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.0005674/0.1325, allocations: 351.7 kB / 481.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1326, allocations: 15.97 kB / 481.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.1326, allocations: 34.75 kB / 481.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.1326, allocations: 4.938 kB / 481.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1328, allocations: 164.4 kB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1328, allocations: 4.359 kB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1328, allocations: 4.375 kB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1331, allocations: 102.2 kB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1331, allocations: 3.938 kB / 481.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1331, allocations: 0 / 481.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.1331, allocations: 8 kB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1333, allocations: 67.89 kB / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.1336, allocations: 193.5 kB / 482.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.1339, allocations: 126.8 kB / 482.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.134, allocations: 68.95 kB / 482.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/0.1341, allocations: 12.12 kB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.1341, allocations: 38.44 kB / 482.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1341, allocations: 0 / 482.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003677/0.1378, allocations: 2.204 MB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1379, allocations: 55.64 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.138, allocations: 93.8 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.138, allocations: 33.7 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.1381, allocations: 84.83 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.1382, allocations: 98.55 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.1384, allocations: 93.64 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1386, allocations: 322.8 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007249/0.1393, allocations: 0.5739 MB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.14, allocations: 0.5856 MB / 486.5 MB, free: 14.61 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.002959/0.143, allocations: 2.052 MB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.143, allocations: 3.938 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002246/0.1453, allocations: 1.71 MB / 490.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1453, allocations: 8 kB / 490.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002223/0.1475, allocations: 1.523 MB / 491.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007974/0.1483, allocations: 408.5 kB / 492.2 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.1486, allocations: 67.83 kB / 492.3 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.15, allocations: 1.189 MB / 493.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.1501, allocations: 8.031 kB / 493.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.033e-05/0.1502, allocations: 67.97 kB / 493.5 MB, free: 7.539 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.0002865/0.1505, allocations: 149.8 kB / 493.7 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.1506, allocations: 7.906 kB / 493.7 MB, free: 7.375 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.001845/0.1524, allocations: 0.8981 MB / 494.6 MB, free: 6.484 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.