Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_3_2_3_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.001278/0.001278, allocations: 105.3 kB / 16.4 MB, free: 6.465 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.001323/0.001323, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2137/0.2137, allocations: 43.54 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 73.45 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1385, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001943/0.1405, allocations: 0.5182 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006049/0.1411, allocations: 235 kB / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.1411, allocations: 0 / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.1413, allocations: 11.98 kB / 499.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.219e-05/0.1414, allocations: 3.938 kB / 499.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1418, allocations: 47.88 kB / 499.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.453e-05/0.1419, allocations: 15.92 kB / 499.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.1419, allocations: 4 kB / 499.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.751e-05/0.142, allocations: 11.98 kB / 499.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1421, allocations: 19.92 kB / 499.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.1422, allocations: 8 kB / 500 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.1424, allocations: 59.92 kB / 0.4883 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.1424, allocations: 11.94 kB / 0.4883 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.1425, allocations: 15.92 kB / 0.4883 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1427, allocations: 71.7 kB / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1427, allocations: 0 / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1427, allocations: 0 / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.1428, allocations: 0 / 0.4884 GB, free: 11.27 MB / 382.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.000867/0.1436, allocations: 359.3 kB / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/0.1437, allocations: 11.89 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.1438, allocations: 38.75 kB / 0.4888 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.1438, allocations: 8.891 kB / 0.4888 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.144, allocations: 172.3 kB / 0.489 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1441, allocations: 384 / 0.489 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.1441, allocations: 4.359 kB / 0.489 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.1444, allocations: 90.22 kB / 0.489 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1444, allocations: 3.938 kB / 0.489 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1444, allocations: 4 kB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.1445, allocations: 19.92 kB / 0.4891 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.1446, allocations: 71.89 kB / 0.4891 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.145, allocations: 193.5 kB / 0.4893 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.1454, allocations: 126.9 kB / 0.4894 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1456, allocations: 60.83 kB / 0.4895 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/0.1457, allocations: 15.91 kB / 0.4895 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.1457, allocations: 42.44 kB / 0.4896 GB, free: 9.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.1457, allocations: 4 kB / 0.4896 GB, free: 9.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.00393/0.1496, allocations: 2.225 MB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1497, allocations: 55.64 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.1498, allocations: 93.8 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.1498, allocations: 29.7 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.1499, allocations: 80.7 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.15, allocations: 107.1 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.1502, allocations: 97.64 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1503, allocations: 327 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000653/0.151, allocations: 0.5739 MB / 0.4931 GB, free: 6.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.1517, allocations: 0.5829 MB / 0.4936 GB, free: 5.664 MB / 382.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.002844/0.1546, allocations: 2.052 MB / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1546, allocations: 0 / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001854/0.1564, allocations: 1.706 MB / 0.4973 GB, free: 1.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1565, allocations: 4 kB / 0.4973 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0019/0.1584, allocations: 1.524 MB / 0.4988 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007446/0.1591, allocations: 408.6 kB / 0.4992 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.1594, allocations: 63.89 kB / 0.4992 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.1607, allocations: 1.185 MB / 0.5004 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1608, allocations: 8.031 kB / 0.5004 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.763e-05/0.1609, allocations: 63.97 kB / 0.5005 GB, free: 14.62 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.0002779/0.1612, allocations: 153.6 kB / 0.5006 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.1613, allocations: 15.91 kB / 0.5006 GB, free: 14.44 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.001537/0.1628, allocations: 0.8787 MB / 0.5015 GB, free: 13.55 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.