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.001128/0.001128, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001253/0.001254, allocations: 192 kB / 18.56 MB, free: 4.434 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.326/1.326, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2054/0.2054, allocations: 44.17 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 56.66 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.1009, allocations: 60.82 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001944/0.1029, allocations: 0.5152 MB / 469.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004941/0.1034, allocations: 229.8 kB / 470.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.1035, allocations: 0 / 470.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.1036, allocations: 4 kB / 470.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.284e-05/0.1036, allocations: 3.938 kB / 470.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1039, allocations: 51.89 kB / 470.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.152e-05/0.104, allocations: 23.91 kB / 470.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.104, allocations: 0 / 470.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.104, allocations: 15.92 kB / 470.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.1041, allocations: 19.98 kB / 470.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1042, allocations: 0 / 470.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1043, allocations: 47.95 kB / 470.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.1043, allocations: 23.91 kB / 470.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.1044, allocations: 19.86 kB / 470.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1045, allocations: 63.84 kB / 470.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1045, allocations: 0 / 470.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1045, allocations: 4 kB / 470.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1045, allocations: 0 / 470.4 MB, free: 13.25 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.000462/0.105, allocations: 354.4 kB / 470.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.105, allocations: 12.03 kB / 470.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.1051, allocations: 38.73 kB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.1051, allocations: 4.938 kB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1052, allocations: 164.3 kB / 470.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1052, allocations: 384 / 470.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.1053, allocations: 4.375 kB / 470.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1055, allocations: 98.22 kB / 471 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1055, allocations: 11.78 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1055, allocations: 3.984 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.1055, allocations: 11.98 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.1057, allocations: 72.67 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.1059, allocations: 197.6 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.1061, allocations: 126.8 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.1062, allocations: 64.95 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.1063, allocations: 8.141 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1063, allocations: 38.44 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1063, allocations: 0 / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003222/0.1096, allocations: 2.206 MB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1096, allocations: 59.62 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.1097, allocations: 97.7 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.1097, allocations: 33.7 kB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.1098, allocations: 84.83 kB / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.426e-05/0.1099, allocations: 98.56 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.11, allocations: 85.66 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1101, allocations: 326.8 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.1107, allocations: 0.5817 MB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.1113, allocations: 0.5817 MB / 475.7 MB, free: 7.68 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.002426/0.1137, allocations: 2.042 MB / 477.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1137, allocations: 0 / 477.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001875/0.1156, allocations: 1.711 MB / 479.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1156, allocations: 4 kB / 479.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001793/0.1174, allocations: 1.531 MB / 481 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006727/0.1181, allocations: 408.5 kB / 481.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1184, allocations: 55.95 kB / 481.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.1196, allocations: 1.189 MB / 482.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.1197, allocations: 8.031 kB / 482.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.1198, allocations: 71.97 kB / 482.7 MB, free: 0.6289 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.0001897/0.12, allocations: 145.8 kB / 482.8 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.12, allocations: 7.906 kB / 482.8 MB, free: 480 kB / 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.001577/0.1216, allocations: 0.8945 MB / 483.7 MB, free: 15.58 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.