Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007249/0.0007248, allocations: 93 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3332/0.3332, allocations: 43.56 MB / 363.1 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 19.98 kB / 432.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0006427/0.1227, allocations: 256.3 kB / 491.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005597/0.1232, allocations: 222 kB / 491.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.1233, allocations: 0 / 491.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1235, allocations: 11.92 kB / 491.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.895e-05/0.1235, allocations: 4 kB / 491.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.1238, allocations: 35.91 kB / 491.4 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.1238, allocations: 15.98 kB / 491.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.1239, allocations: 3.984 kB / 491.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.624e-05/0.1239, allocations: 11.98 kB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.124, allocations: 23.92 kB / 491.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.124, allocations: 0 / 491.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1242, allocations: 43.95 kB / 491.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.1242, allocations: 15.92 kB / 491.5 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.1242, allocations: 41.62 kB / 491.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.1244, allocations: 51.92 kB / 491.6 MB, free: 9.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1244, allocations: 0 / 491.6 MB, free: 9.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1244, allocations: 3.938 kB / 491.6 MB, free: 9.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1244, allocations: 0 / 491.6 MB, free: 9.84 MB / 378.7 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.0005151/0.1249, allocations: 347.7 kB / 492 MB, free: 9.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.125, allocations: 12.03 kB / 492 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.125, allocations: 34.73 kB / 492 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.1251, allocations: 8.844 kB / 492 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1252, allocations: 164.4 kB / 492.2 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1252, allocations: 4.375 kB / 492.2 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1253, allocations: 4.375 kB / 492.2 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1255, allocations: 98 kB / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1255, allocations: 7.875 kB / 492.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1255, allocations: 4 kB / 492.3 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.1255, allocations: 11.98 kB / 492.3 MB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1256, allocations: 63.95 kB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.1259, allocations: 193.5 kB / 492.6 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.1262, allocations: 130.8 kB / 492.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.1262, allocations: 64.89 kB / 492.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.1263, allocations: 8 kB / 492.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1263, allocations: 38.64 kB / 492.8 MB, free: 8.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/0.1263, allocations: 8 kB / 492.8 MB, free: 8.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.003264/0.1296, allocations: 2.205 MB / 495 MB, free: 6.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1297, allocations: 63.62 kB / 495.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.6e-05/0.1297, allocations: 93.8 kB / 495.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.1298, allocations: 33.7 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.1298, allocations: 80.7 kB / 495.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.1299, allocations: 98.55 kB / 495.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.13, allocations: 4 kB / 495.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1301, allocations: 322.8 kB / 495.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.1306, allocations: 0.5739 MB / 496.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.1312, allocations: 0.5858 MB / 496.9 MB, free: 4.371 MB / 378.7 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.003327/0.1345, allocations: 3.107 MB / 500 MB, free: 1.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1346, allocations: 4 kB / 500 MB, free: 1.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.2041/0.3387, allocations: 1.267 MB / 0.4895 GB, free: 43.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.3387, allocations: 9.656 kB / 0.4895 GB, free: 43.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001644/0.3404, allocations: 1.26 MB / 0.4907 GB, free: 43.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3404, allocations: 1.719 kB / 0.4907 GB, free: 43.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.3414, allocations: 131.6 kB / 0.4909 GB, free: 43.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.3425, allocations: 1.113 MB / 0.4919 GB, free: 42.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3426, allocations: 11.66 kB / 0.492 GB, free: 42.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.787e-05/0.3427, allocations: 70.02 kB / 0.492 GB, free: 42.94 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: taby[6] = tabx[6] ^ 2.0. 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.3429, allocations: 137.5 kB / 0.4922 GB, free: 42.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.3429, allocations: 11.34 kB / 0.4922 GB, free: 42.83 MB / 378.7 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.001724/0.3447, allocations: 0.8855 MB / 0.493 GB, free: 42.77 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.