Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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) 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.|body3.frame_a.r_0.1.|body3.frame_a.r_0.2.|body3.frame_a.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body3.w_a.1.|body3.w_a.2.|body3.w_a.3.|springDamperSeries.s_damper",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.|body3.frame_a.r_0.1.|body3.frame_a.r_0.2.|body3.frame_a.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body3.w_a.1.|body3.w_a.2.|body3.w_a.3.|springDamperSeries.s_damper",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001542/0.001542, allocations: 121.2 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.206, allocations: 50.54 MB / 410 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01484/0.2209, allocations: 15.1 MB / 425.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00835/0.2292, allocations: 4.741 MB / 429.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.2308, allocations: 91.75 kB / 429.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006108/0.237, allocations: 3.449 MB / 433.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004822/0.2418, allocations: 2.415 MB / 435.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.2438, allocations: 0.9983 MB / 436.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007178/0.251, allocations: 6.195 MB / 442.9 MB, free: 464 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005075/0.2561, allocations: 4.578 MB / 447.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.2588, allocations: 2.145 MB / 449.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003872/0.2627, allocations: 2.979 MB / 452.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.2638, allocations: 444 kB / 453.1 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.2663, allocations: 1.342 MB / 454.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00231/0.2686, allocations: 2.719 MB / 457.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002848/0.2715, allocations: 3.087 MB / 460.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009031/0.2805, allocations: 9.348 MB / 469.6 MB, free: 5.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2806, allocations: 0 / 469.6 MB, free: 5.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2806, allocations: 0 / 469.6 MB, free: 5.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002004/0.2808, allocations: 4 kB / 469.6 MB, free: 5.66 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: 2151 * Number of variables: 2151 Notification: Performance of Generate backend data structure: time 0.01199/0.2928, allocations: 7.003 MB / 476.6 MB, free: 14.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2928, allocations: 8.031 kB / 476.6 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.3033, allocations: 2.836 MB / 479.4 MB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004994/0.3083, allocations: 3.176 MB / 482.6 MB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.3085, allocations: 356.8 kB / 483 MB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.3101, allocations: 0.6789 MB / 483.6 MB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02979/0.3399, allocations: 17.47 MB / 0.4894 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/0.34, allocations: 63.5 kB / 0.4894 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005389/0.3406, allocations: 227.7 kB / 0.4896 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003974/0.3446, allocations: 2.84 MB / 0.4924 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03124/0.3758, allocations: 15.34 MB / 0.5074 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2431/0.619, allocations: 58.77 MB / 0.5648 GB, free: 85.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01536/0.6344, allocations: 7.203 MB / 0.5718 GB, free: 83.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.6376, allocations: 3.242 MB / 0.575 GB, free: 81.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01562/0.6533, allocations: 14.56 MB / 0.5892 GB, free: 72.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.6533, allocations: 70.34 kB / 0.5893 GB, free: 72.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=289): time 4.799e-06/0.6533, allocations: 0 / 0.5893 GB, free: 72.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=303): time 0.05353/0.7069, allocations: 25.34 MB / 0.614 GB, free: 46.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.7069, allocations: 166.5 kB / 0.6142 GB, free: 46.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005342/0.7123, allocations: 5.106 MB / 0.6192 GB, free: 41.64 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005295/0.7128, allocations: 69.7 kB / 0.6192 GB, free: 41.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001724/0.7146, allocations: 4.344 MB / 0.6235 GB, free: 37.47 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009854/0.7155, allocations: 1.214 MB / 0.6246 GB, free: 36.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001823/0.7174, allocations: 1.743 MB / 0.6263 GB, free: 34.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.324e-05/0.7174, allocations: 312.7 kB / 0.6266 GB, free: 34.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004098/0.7215, allocations: 3.382 MB / 0.63 GB, free: 30.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005456/0.727, allocations: 8.353 MB / 0.6381 GB, free: 20.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.7372, allocations: 12.57 MB / 0.6504 GB, free: 5.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.565e-05/0.7372, allocations: 52 kB / 0.6504 GB, free: 5.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=1145) (initialization): time 0.03926/0.7765, allocations: 16.68 MB / 0.6667 GB, free: 4.297 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.244e-05/0.7766, allocations: 80 kB / 0.6668 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02838/0.805, allocations: 9.33 MB / 0.6759 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02781/0.8328, allocations: 6.433 MB / 0.6822 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006573/0.8394, allocations: 2.031 MB / 0.6842 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02552/0.865, allocations: 19.37 MB / 0.7031 GB, free: 14.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006046/0.8711, allocations: 0.5501 MB / 0.7036 GB, free: 13.54 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007351/0.8718, allocations: 0.4922 MB / 0.7041 GB, free: 13.04 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 66 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],springDamperSeries.color[3],springDamperSeries.color[2],springDamperSeries.color[1],springDamperSeries.color_b[3],springDamperSeries.color_b[2],springDamperSeries.color_b[1],springDamperSeries.color_a[3],springDamperSeries.color_a[2],springDamperSeries.color_a[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1076 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003719/0.8755, allocations: 2.719 MB / 0.7068 GB, free: 10.31 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007285/0.8763, allocations: 0.4889 MB / 0.7072 GB, free: 9.816 MB / 0.5138 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 255 equation(s) and 244 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/0.8803, allocations: 2.616 MB / 0.7098 GB, free: 7.18 MB / 0.5138 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses could not be translated