Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09131, allocations: 44.52 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.075/0.1664, allocations: 48.42 MB / 357.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03092/0.1973, allocations: 11.33 MB / 368.8 MB, free: 4.449 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008936/0.2063, allocations: 243.3 kB / 369.1 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008475/0.2149, allocations: 2.419 MB / 371.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2935/0.5084, allocations: 6.913 MB / 378.4 MB, free: 10 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004371/0.5128, allocations: 0.8468 MB / 379.2 MB, free: 9.992 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007492/0.5204, allocations: 3.285 MB / 382.5 MB, free: 9.965 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01023/0.5307, allocations: 5.354 MB / 387.9 MB, free: 9.461 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.5339, allocations: 1.375 MB / 389.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003401/0.5373, allocations: 1.881 MB / 391.1 MB, free: 9.453 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009542/0.5383, allocations: 187.2 kB / 391.3 MB, free: 9.453 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.5411, allocations: 0.9938 MB / 392.3 MB, free: 9.312 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002666/0.5438, allocations: 2.052 MB / 394.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.5456, allocations: 1.034 MB / 395.4 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009343/0.555, allocations: 6.599 MB / 402 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.555, allocations: 0 / 402 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.555, allocations: 6.375 kB / 402 MB, free: 5.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003297/0.5554, allocations: 0 / 402 MB, free: 5.312 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1913 * Number of variables: 1913 Notification: Performance of Generate backend data structure: time 0.01711/0.5725, allocations: 5.375 MB / 407.4 MB, free: 2.117 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.5726, allocations: 8.281 kB / 407.4 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0203/0.5929, allocations: 3.101 MB / 410.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.6032, allocations: 3.652 MB / 414.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/0.6036, allocations: 313.8 kB / 414.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003251/0.6069, allocations: 0.6305 MB / 415.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05474/0.6617, allocations: 16.4 MB / 431.5 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002091/0.6619, allocations: 61.7 kB / 431.5 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009512/0.6629, allocations: 199.8 kB / 431.7 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006928/0.6698, allocations: 2.536 MB / 434.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05553/0.7254, allocations: 14.62 MB / 448.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.108/0.8334, allocations: 56.43 MB / 0.4935 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07399/0.9075, allocations: 13.96 MB / 0.5071 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2933/1.201, allocations: 16.28 MB / 0.523 GB, free: 156.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.513e-05/1.201, allocations: 63.22 kB / 0.523 GB, free: 156.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=246): time 8.086e-06/1.201, allocations: 2.844 kB / 0.523 GB, free: 156.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=260): time 0.2144/1.415, allocations: 43.09 MB / 0.5651 GB, free: 135.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/1.415, allocations: 158.5 kB / 0.5653 GB, free: 135.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009368/1.425, allocations: 5.141 MB / 0.5703 GB, free: 130.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009926/1.426, allocations: 65.7 kB / 0.5704 GB, free: 130.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002964/1.429, allocations: 3.83 MB / 0.5741 GB, free: 126.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001756/1.431, allocations: 1.016 MB / 0.5751 GB, free: 125.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008951/1.432, allocations: 156 kB / 0.5752 GB, free: 125.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004452/1.432, allocations: 0.6368 MB / 0.5759 GB, free: 124.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008748/1.441, allocations: 3.552 MB / 0.5793 GB, free: 121.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01172/1.453, allocations: 8.085 MB / 0.5872 GB, free: 111 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/1.465, allocations: 5.116 MB / 0.5922 GB, free: 105.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/1.465, allocations: 48 kB / 0.5923 GB, free: 105.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.07197/1.537, allocations: 16.34 MB / 0.6082 GB, free: 89.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.537, allocations: 72 kB / 0.6083 GB, free: 89.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05282/1.59, allocations: 9.546 MB / 0.6176 GB, free: 79.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05284/1.643, allocations: 6.161 MB / 0.6236 GB, free: 73.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/1.654, allocations: 1.973 MB / 0.6256 GB, free: 71.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03977/1.694, allocations: 18.55 MB / 0.6437 GB, free: 52.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009513/1.704, allocations: 0.5655 MB / 0.6442 GB, free: 51.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00178/1.705, allocations: 469.2 kB / 0.6447 GB, free: 51.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 730 * Number of states: 0 () * Number of discrete variables: 48 (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],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],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.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 (973): * Single equations (assignments): 958 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006387/1.712, allocations: 2.493 MB / 0.6471 GB, free: 48.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.713, allocations: 434.4 kB / 0.6475 GB, free: 48.25 MB / 426.7 MB 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 210 equation(s) and 199 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007392/1.72, allocations: 2.811 MB / 0.6503 GB, free: 45.44 MB / 426.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.