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.001047/0.001047, allocations: 113.4 kB / 17.78 MB, free: 5.281 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.001007/0.001007, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2119/0.2119, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3976, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002111/0.3998, allocations: 0.5105 MB / 0.5189 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006921/0.4006, allocations: 223.5 kB / 0.5191 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.4006, allocations: 1.125 kB / 0.5191 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.4008, allocations: 6.547 kB / 0.5191 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.4009, allocations: 7.406 kB / 0.5191 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.4012, allocations: 52.83 kB / 0.5192 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.4013, allocations: 14.16 kB / 0.5192 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.4014, allocations: 11.08 kB / 0.5192 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.4014, allocations: 13.44 kB / 0.5192 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.4016, allocations: 20.53 kB / 0.5192 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.4016, allocations: 2.219 kB / 0.5193 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.4018, allocations: 54.77 kB / 0.5193 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.4018, allocations: 20.02 kB / 0.5193 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.4019, allocations: 22.06 kB / 0.5193 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.4021, allocations: 60.22 kB / 0.5194 GB, free: 2.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.4021, allocations: 1.375 kB / 0.5194 GB, free: 2.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4021, allocations: 0 / 0.5194 GB, free: 2.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.4021, allocations: 0 / 0.5194 GB, free: 2.719 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.0006453/0.4028, allocations: 366.8 kB / 0.5198 GB, free: 2.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.4029, allocations: 8.688 kB / 0.5198 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.4029, allocations: 39.31 kB / 0.5198 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.403, allocations: 7.688 kB / 0.5198 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.4031, allocations: 174.8 kB / 0.52 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4031, allocations: 1.812 kB / 0.52 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.4031, allocations: 2.281 kB / 0.52 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.4033, allocations: 88.2 kB / 0.5201 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4034, allocations: 5.094 kB / 0.5201 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4034, allocations: 8.703 kB / 0.5201 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.4034, allocations: 11.8 kB / 0.5201 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.4036, allocations: 65.48 kB / 0.5201 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.4038, allocations: 192.2 kB / 0.5203 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.4041, allocations: 130.7 kB / 0.5205 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.4042, allocations: 62.83 kB / 0.5205 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.4043, allocations: 12.67 kB / 0.5205 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.4043, allocations: 39.66 kB / 0.5206 GB, free: 1.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.4043, allocations: 0 / 0.5206 GB, free: 1.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.00438/0.4087, allocations: 2.215 MB / 0.5227 GB, free: 1.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4088, allocations: 55.95 kB / 0.5228 GB, free: 1.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.4088, allocations: 96.3 kB / 0.5229 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.4089, allocations: 29.7 kB / 0.5229 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.4089, allocations: 82.95 kB / 0.523 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.409, allocations: 99.02 kB / 0.5231 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.4092, allocations: 97.02 kB / 0.5232 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.4093, allocations: 321.4 kB / 0.5235 GB, free: 392 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.41, allocations: 0.5777 MB / 0.524 GB, free: 280 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000736/0.4107, allocations: 0.5838 MB / 0.5246 GB, free: 164 kB / 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.003381/0.4141, allocations: 2.05 MB / 0.5266 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4141, allocations: 0 / 0.5266 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002291/0.4164, allocations: 1.706 MB / 0.5283 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.4164, allocations: 9.297 kB / 0.5283 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002137/0.4186, allocations: 1.52 MB / 0.5298 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007698/0.4194, allocations: 411.2 kB / 0.5302 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.4196, allocations: 63 kB / 0.5302 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.4209, allocations: 1.193 MB / 0.5314 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.421, allocations: 13.09 kB / 0.5314 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.4211, allocations: 68.47 kB / 0.5315 GB, free: 13.94 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.0002314/0.4214, allocations: 141.1 kB / 0.5316 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.4214, allocations: 9.953 kB / 0.5316 GB, free: 13.8 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.001504/0.4229, allocations: 0.8871 MB / 0.5325 GB, free: 13.36 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.