Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2307/0.2307, allocations: 46.11 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 83.86 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3688, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002156/0.371, allocations: 0.5127 MB / 0.5311 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005966/0.3716, allocations: 225.5 kB / 0.5313 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.3717, allocations: 1.531 kB / 0.5313 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.3718, allocations: 9.484 kB / 0.5313 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.178e-05/0.3719, allocations: 1.594 kB / 0.5313 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.3721, allocations: 49.77 kB / 0.5314 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.3722, allocations: 21.19 kB / 0.5314 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.3723, allocations: 1.5 kB / 0.5314 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.3723, allocations: 12.3 kB / 0.5314 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3724, allocations: 22.64 kB / 0.5314 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3724, allocations: 1.656 kB / 0.5314 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3726, allocations: 57.25 kB / 0.5315 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.904e-05/0.3726, allocations: 17.41 kB / 0.5315 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.3726, allocations: 19.44 kB / 0.5315 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.3728, allocations: 75.05 kB / 0.5316 GB, free: 12.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3728, allocations: 0 / 0.5316 GB, free: 12.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3728, allocations: 3.938 kB / 0.5316 GB, free: 12.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.3728, allocations: 0 / 0.5316 GB, free: 12.62 MB / 398.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.0005532/0.3734, allocations: 353.2 kB / 0.5319 GB, free: 12.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.3735, allocations: 10.25 kB / 0.5319 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.3735, allocations: 36.97 kB / 0.532 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.3735, allocations: 7.047 kB / 0.532 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.3737, allocations: 170.5 kB / 0.5321 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3737, allocations: 384 / 0.5321 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.3738, allocations: 5.188 kB / 0.5321 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.374, allocations: 100.5 kB / 0.5322 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.374, allocations: 3.938 kB / 0.5322 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.374, allocations: 3.984 kB / 0.5322 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.3741, allocations: 9.094 kB / 0.5323 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3742, allocations: 69.28 kB / 0.5323 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.3744, allocations: 196.9 kB / 0.5325 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.3747, allocations: 124.7 kB / 0.5326 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.3748, allocations: 67.67 kB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.3749, allocations: 7.031 kB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3749, allocations: 43.8 kB / 0.5327 GB, free: 11.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.375, allocations: 1.25 kB / 0.5327 GB, free: 11.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003606/0.3786, allocations: 2.206 MB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3786, allocations: 57.86 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.3787, allocations: 96.05 kB / 0.535 GB, free: 10.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.3788, allocations: 30.83 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.3788, allocations: 80.7 kB / 0.5351 GB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.3789, allocations: 99.25 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.3791, allocations: 95.42 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3793, allocations: 326.5 kB / 0.5356 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/0.38, allocations: 0.5788 MB / 0.5362 GB, free: 9.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.3807, allocations: 0.5842 MB / 0.5368 GB, free: 9.535 MB / 398.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.002738/0.3835, allocations: 2.053 MB / 0.5388 GB, free: 8.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3835, allocations: 1.094 kB / 0.5388 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002056/0.3855, allocations: 1.712 MB / 0.5405 GB, free: 7.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3856, allocations: 8 kB / 0.5405 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002017/0.3876, allocations: 1.52 MB / 0.542 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007548/0.3884, allocations: 408.5 kB / 0.5423 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.3886, allocations: 67.89 kB / 0.5424 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.3899, allocations: 1.185 MB / 0.5436 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.39, allocations: 8 kB / 0.5436 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.622e-05/0.3901, allocations: 68 kB / 0.5436 GB, free: 4.074 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.000227/0.3903, allocations: 145.8 kB / 0.5438 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.3904, allocations: 11.95 kB / 0.5438 GB, free: 3.91 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.001531/0.3919, allocations: 0.8866 MB / 0.5447 GB, free: 3.02 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.