Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001479, allocations: 107 kB / 17.33 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.226/0.226, allocations: 44.17 MB / 336.2 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 61.22 kB / 408 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1399, allocations: 60.82 MB / 468.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002129/0.1421, allocations: 0.5792 MB / 469.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005648/0.1427, allocations: 229.8 kB / 469.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.1427, allocations: 0 / 469.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1429, allocations: 7.984 kB / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.321e-05/0.143, allocations: 0 / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1433, allocations: 43.91 kB / 469.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.1434, allocations: 19.97 kB / 469.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.1434, allocations: 8 kB / 469.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.093e-05/0.1435, allocations: 11.92 kB / 469.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1436, allocations: 15.98 kB / 469.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1436, allocations: 4 kB / 469.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.1438, allocations: 47.95 kB / 469.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.1438, allocations: 19.91 kB / 469.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1439, allocations: 19.86 kB / 469.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.144, allocations: 67.78 kB / 469.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.144, allocations: 0 / 469.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.144, allocations: 0 / 469.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1441, allocations: 0 / 469.9 MB, free: 13.62 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.0005683/0.1446, allocations: 363.7 kB / 470.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1447, allocations: 8.031 kB / 470.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.1447, allocations: 38.73 kB / 470.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.1448, allocations: 0.9375 kB / 470.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1449, allocations: 164.4 kB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1449, allocations: 384 / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.145, allocations: 16.2 kB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.1452, allocations: 94.16 kB / 470.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1452, allocations: 3.938 kB / 470.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1452, allocations: 15.92 kB / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.1453, allocations: 15.98 kB / 470.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1454, allocations: 67.89 kB / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.1456, allocations: 181.7 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.1459, allocations: 134.8 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.24e-05/0.146, allocations: 56.91 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.146, allocations: 12.12 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1461, allocations: 46.44 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.1461, allocations: 0 / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003433/0.1495, allocations: 2.198 MB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1496, allocations: 51.64 kB / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.1497, allocations: 105.8 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.1497, allocations: 29.7 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.1498, allocations: 80.7 kB / 473.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.1499, allocations: 98.69 kB / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.1501, allocations: 93.66 kB / 473.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1502, allocations: 322.8 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/0.1508, allocations: 0.5856 MB / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.1514, allocations: 0.5756 MB / 475.2 MB, free: 8.043 MB / 350.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.002502/0.1539, allocations: 2.053 MB / 477.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1539, allocations: 0 / 477.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001894/0.1558, allocations: 1.706 MB / 478.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1559, allocations: 4 kB / 479 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001914/0.1578, allocations: 1.531 MB / 480.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007398/0.1585, allocations: 408.5 kB / 480.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.1588, allocations: 63.89 kB / 480.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.16, allocations: 1.193 MB / 482.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.1601, allocations: 4 kB / 482.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.1602, allocations: 68 kB / 482.2 MB, free: 0.9805 MB / 350.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.0002237/0.1604, allocations: 141.7 kB / 482.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.1605, allocations: 15.84 kB / 482.4 MB, free: 0.8164 MB / 350.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.001672/0.1622, allocations: 0.8985 MB / 483.3 MB, free: 15.93 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.