Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009659/0.0009658, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 226.5 MB / 243.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007492/0.0007492, allocations: 95.53 kB / 295.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2934/0.2934, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002623, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.284, allocations: 62.96 MB / 0.516 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0007155/0.2848, allocations: 242.9 kB / 0.5162 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005191/0.2853, allocations: 211.4 kB / 0.5164 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.2854, allocations: 0 / 0.5164 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.2855, allocations: 2.781 kB / 0.5164 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.98e-05/0.2856, allocations: 10.27 kB / 0.5164 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.2859, allocations: 28.14 kB / 0.5164 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.23e-05/0.2859, allocations: 24.44 kB / 0.5164 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.255e-05/0.286, allocations: 2.906 kB / 0.5165 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.286, allocations: 14.23 kB / 0.5165 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.072e-05/0.2861, allocations: 22.16 kB / 0.5165 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.2862, allocations: 2.938 kB / 0.5165 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.2863, allocations: 45.48 kB / 0.5165 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.2863, allocations: 12.72 kB / 0.5165 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.2864, allocations: 47.59 kB / 0.5166 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2865, allocations: 42 kB / 0.5166 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2865, allocations: 0 / 0.5166 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2865, allocations: 6.625 kB / 0.5166 GB, free: 36.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.2866, allocations: 0 / 0.5166 GB, free: 36.7 MB / 378.7 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.0005198/0.2871, allocations: 342 kB / 0.517 GB, free: 36.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.2871, allocations: 7.75 kB / 0.517 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.2872, allocations: 37.75 kB / 0.517 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.2872, allocations: 7.719 kB / 0.517 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.967e-05/0.2873, allocations: 175.5 kB / 0.5172 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.2874, allocations: 7.312 kB / 0.5172 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.2874, allocations: 384 / 0.5172 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.2876, allocations: 99.48 kB / 0.5173 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2876, allocations: 3.938 kB / 0.5173 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2877, allocations: 3.984 kB / 0.5173 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.2877, allocations: 12.16 kB / 0.5173 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.2878, allocations: 66.33 kB / 0.5174 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.288, allocations: 194.8 kB / 0.5175 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.2883, allocations: 131.4 kB / 0.5177 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.2884, allocations: 62.33 kB / 0.5177 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.306e-05/0.2885, allocations: 8.594 kB / 0.5177 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2885, allocations: 45.19 kB / 0.5178 GB, free: 35.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.2885, allocations: 0 / 0.5178 GB, free: 35.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.003039/0.2916, allocations: 2.2 MB / 0.5199 GB, free: 35.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.2916, allocations: 63.36 kB / 0.52 GB, free: 35.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.2917, allocations: 93.8 kB / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.2917, allocations: 33.64 kB / 0.5201 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.2918, allocations: 80.7 kB / 0.5202 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.2918, allocations: 102.2 kB / 0.5203 GB, free: 34.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.2919, allocations: 6.625 kB / 0.5203 GB, free: 34.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.292, allocations: 321 kB / 0.5206 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/0.2925, allocations: 0.5845 MB / 0.5212 GB, free: 34.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.293, allocations: 0.5775 MB / 0.5217 GB, free: 34.19 MB / 378.7 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.002843/0.2958, allocations: 3.106 MB / 0.5248 GB, free: 33.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2958, allocations: 2.969 kB / 0.5248 GB, free: 33.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00113/0.297, allocations: 1.278 MB / 0.526 GB, free: 32.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.297, allocations: 3.156 kB / 0.526 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001138/0.2981, allocations: 1.258 MB / 0.5273 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2982, allocations: 0 / 0.5273 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009176/0.2991, allocations: 136.8 kB / 0.5274 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007799/0.2999, allocations: 1.114 MB / 0.5285 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.3, allocations: 6.625 kB / 0.5285 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.3001, allocations: 71.97 kB / 0.5285 GB, free: 32 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: taby[6] = tabx[6] ^ 2.0. 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.3003, allocations: 134.2 kB / 0.5287 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.3003, allocations: 16.52 kB / 0.5287 GB, free: 31.86 MB / 378.7 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.001455/0.3018, allocations: 0.8883 MB / 0.5296 GB, free: 31.54 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.