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.001274/0.001274, allocations: 101.9 kB / 16.27 MB, free: 5.969 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.001893/0.001893, allocations: 186 kB / 17.19 MB, free: 5.605 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.397/1.397, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.1998/0.1998, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001567/0.001567, allocations: 62.03 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/0.09193, allocations: 57.79 MB / 440.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002124/0.0941, allocations: 0.5169 MB / 441.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005695/0.0947, allocations: 230.5 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.09474, allocations: 0 / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.09494, allocations: 7.922 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.78e-05/0.09498, allocations: 4 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.09532, allocations: 51.67 kB / 441.4 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.742e-05/0.0954, allocations: 23.97 kB / 441.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.09546, allocations: 4 kB / 441.4 MB, free: 6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.09549, allocations: 7.984 kB / 441.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.09561, allocations: 23.92 kB / 441.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.09564, allocations: 0 / 441.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.09579, allocations: 51.95 kB / 441.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.09584, allocations: 23.91 kB / 441.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.09589, allocations: 19.86 kB / 441.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.09606, allocations: 59.78 kB / 441.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.09607, allocations: 4 kB / 441.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.09608, allocations: 0 / 441.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.09609, allocations: 4 kB / 441.6 MB, free: 5.809 MB / 318.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.0005205/0.09662, allocations: 355.8 kB / 442 MB, free: 5.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.09667, allocations: 15.89 kB / 442 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.09672, allocations: 38.67 kB / 442 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.09676, allocations: 8.844 kB / 442 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.795e-05/0.09685, allocations: 164.3 kB / 442.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.09687, allocations: 384 / 442.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.0969, allocations: 8.375 kB / 442.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.09709, allocations: 90.22 kB / 442.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.09712, allocations: 7.938 kB / 442.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.09715, allocations: 0 / 442.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.09719, allocations: 19.92 kB / 442.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.09733, allocations: 63.95 kB / 442.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.09752, allocations: 193.5 kB / 442.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.09781, allocations: 130.8 kB / 442.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.09792, allocations: 64.95 kB / 442.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.09797, allocations: 11.98 kB / 442.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.098, allocations: 38.5 kB / 442.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.09801, allocations: 0 / 442.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.003719/0.1017, allocations: 2.203 MB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.1018, allocations: 55.64 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.812e-05/0.1018, allocations: 97.8 kB / 445.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.1019, allocations: 41.62 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.478e-05/0.1019, allocations: 80.83 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.566e-05/0.102, allocations: 98.56 kB / 445.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.1022, allocations: 89.66 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.1022, allocations: 322.8 kB / 445.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.1028, allocations: 0.5817 MB / 446.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.1032, allocations: 0.5783 MB / 446.9 MB, free: 244 kB / 318.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.002532/0.1058, allocations: 2.061 MB / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1058, allocations: 0 / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001884/0.1077, allocations: 1.702 MB / 450.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1077, allocations: 8 kB / 450.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001851/0.1095, allocations: 1.531 MB / 452.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008865/0.1104, allocations: 404.5 kB / 452.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.1108, allocations: 63.89 kB / 452.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.1124, allocations: 1.189 MB / 453.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.1126, allocations: 15.95 kB / 453.9 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.1127, allocations: 67.97 kB / 454 MB, free: 9.164 MB / 334.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.0002481/0.113, allocations: 145.6 kB / 454.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.113, allocations: 15.97 kB / 454.1 MB, free: 8.996 MB / 334.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.0023/0.1153, allocations: 0.8788 MB / 455 MB, free: 8.121 MB / 334.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.