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: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 102.3 kB / 16.52 MB, free: 6.66 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.001455/0.001455, allocations: 199.7 kB / 17.44 MB, free: 6.059 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.979/1.979, allocations: 205.1 MB / 223.3 MB, free: 12.51 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.2688/0.2688, allocations: 43.51 MB / 314.1 MB, free: 0.7617 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.001655/0.001656, allocations: 70.23 kB / 382.7 MB, free: 56.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1437, allocations: 57.78 MB / 440.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001904/0.1457, allocations: 0.5836 MB / 441 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005864/0.1463, allocations: 233.3 kB / 441.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.734e-05/0.1464, allocations: 0 / 441.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.1465, allocations: 11.98 kB / 441.3 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.773e-05/0.1466, allocations: 15.88 kB / 441.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1468, allocations: 27.97 kB / 441.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.354e-05/0.1469, allocations: 15.92 kB / 441.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.1469, allocations: 7.984 kB / 441.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.147, allocations: 11.98 kB / 441.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1471, allocations: 19.92 kB / 441.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.1471, allocations: 4 kB / 441.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1473, allocations: 47.95 kB / 441.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.1473, allocations: 11.98 kB / 441.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.1474, allocations: 27.84 kB / 441.5 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.1475, allocations: 35.94 kB / 441.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1475, allocations: 0 / 441.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1475, allocations: 0 / 441.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1475, allocations: 0 / 441.5 MB, free: 6.309 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.0005349/0.148, allocations: 359.8 kB / 441.9 MB, free: 5.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1481, allocations: 8.031 kB / 441.9 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.1482, allocations: 8.844 kB / 441.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1483, allocations: 168.3 kB / 442 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1483, allocations: 4.375 kB / 442 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1483, allocations: 4.375 kB / 442 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1485, allocations: 98.16 kB / 442.1 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1485, allocations: 192 / 442.1 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1486, allocations: 3.938 kB / 442.1 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.1486, allocations: 11.98 kB / 442.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1487, allocations: 67.89 kB / 442.2 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.1489, allocations: 193.5 kB / 442.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.1492, allocations: 134.8 kB / 442.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/0.1493, allocations: 64.95 kB / 442.6 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/0.1494, allocations: 11.94 kB / 442.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1495, allocations: 30.56 kB / 442.6 MB, free: 5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1495, allocations: 4 kB / 442.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.003143/0.1526, allocations: 2.201 MB / 444.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.1527, allocations: 55.64 kB / 444.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.815e-05/0.1527, allocations: 97.84 kB / 445 MB, free: 2.594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.1528, allocations: 33.7 kB / 445 MB, free: 2.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.1528, allocations: 80.7 kB / 445.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.1529, allocations: 106.5 kB / 445.2 MB, free: 2.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.153, allocations: 86.06 kB / 445.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.1531, allocations: 326.8 kB / 445.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.1535, allocations: 0.5856 MB / 446.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.1539, allocations: 0.5817 MB / 446.8 MB, free: 0.7773 MB / 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.002494/0.1564, allocations: 2.052 MB / 448.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1564, allocations: 0 / 448.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001984/0.1584, allocations: 1.706 MB / 450.5 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.1585, allocations: 10.03 kB / 450.6 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002044/0.1605, allocations: 1.531 MB / 452.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007532/0.1613, allocations: 412.5 kB / 452.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.1615, allocations: 63.89 kB / 452.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.1628, allocations: 1.189 MB / 453.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.163, allocations: 8.031 kB / 453.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.1631, allocations: 71.97 kB / 453.8 MB, free: 9.699 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.0002447/0.1633, allocations: 141.7 kB / 454 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.1634, allocations: 7.906 kB / 454 MB, free: 9.543 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.001807/0.1652, allocations: 0.8866 MB / 454.9 MB, free: 8.664 MB / 334.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.