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.00156/0.00156, allocations: 102.8 kB / 16.27 MB, free: 6.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.001329/0.001329, allocations: 189.8 kB / 17.2 MB, free: 5.945 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.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2366/0.2366, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001596/0.001597, allocations: 62.38 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 57.79 MB / 440.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002028/0.1041, allocations: 0.513 MB / 441.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005327/0.1047, allocations: 230.5 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.1047, allocations: 0 / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1049, allocations: 4 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.502e-05/0.1049, allocations: 3.938 kB / 441.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1052, allocations: 55.72 kB / 441.4 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.639e-05/0.1053, allocations: 15.98 kB / 441.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.1054, allocations: 7.938 kB / 441.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.1054, allocations: 7.984 kB / 441.4 MB, free: 6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1055, allocations: 23.92 kB / 441.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1055, allocations: 3.984 kB / 441.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1056, allocations: 51.95 kB / 441.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.1057, allocations: 19.92 kB / 441.5 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.1057, allocations: 19.86 kB / 441.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1059, allocations: 63.78 kB / 441.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1059, allocations: 0 / 441.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1059, allocations: 0 / 441.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1059, allocations: 0 / 441.6 MB, free: 5.82 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.0004259/0.1063, allocations: 359.8 kB / 442 MB, free: 5.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1064, allocations: 15.89 kB / 442 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.1064, allocations: 38.72 kB / 442 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.1064, allocations: 8.844 kB / 442 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.841e-05/0.1065, allocations: 172.3 kB / 442.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1065, allocations: 4.375 kB / 442.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.1066, allocations: 384 / 442.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1067, allocations: 98.2 kB / 442.3 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1067, allocations: 7.938 kB / 442.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1068, allocations: 0 / 442.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.1068, allocations: 11.98 kB / 442.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.934e-05/0.1069, allocations: 71.89 kB / 442.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.1071, allocations: 189.5 kB / 442.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.1073, allocations: 130.8 kB / 442.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.952e-05/0.1074, allocations: 60.97 kB / 442.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.1075, allocations: 11.98 kB / 442.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1075, allocations: 38.5 kB / 442.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1075, allocations: 0 / 442.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002726/0.1102, allocations: 2.206 MB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1103, allocations: 55.64 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.1103, allocations: 97.78 kB / 445.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.1104, allocations: 37.64 kB / 445.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.1104, allocations: 80.7 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.851e-05/0.1105, allocations: 102.7 kB / 445.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1106, allocations: 89.66 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.1107, allocations: 322.8 kB / 445.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.1112, allocations: 0.5817 MB / 446.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.1116, allocations: 0.5783 MB / 447 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.00264/0.1143, allocations: 2.057 MB / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1143, allocations: 0 / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002345/0.1166, allocations: 1.706 MB / 450.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.1167, allocations: 4 kB / 450.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003112/0.1198, allocations: 1.535 MB / 452.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.1209, allocations: 404.5 kB / 452.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.1214, allocations: 59.95 kB / 452.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.1232, allocations: 1.189 MB / 453.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1234, allocations: 11.97 kB / 453.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.1235, allocations: 71.97 kB / 454 MB, free: 9.168 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.0003057/0.1239, allocations: 149.6 kB / 454.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/0.124, allocations: 11.94 kB / 454.1 MB, free: 9 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.002458/0.1264, allocations: 0.8828 MB / 455 MB, free: 8.121 MB / 334.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.