Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.601/1.601, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07836/0.07874, allocations: 38.78 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.2785/0.3573, allocations: 48.4 MB / 321 MB, free: 6.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02958/0.3869, allocations: 11.31 MB / 332.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01074/0.3977, allocations: 237.7 kB / 332.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008602/0.4063, allocations: 2.43 MB / 335 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02662/0.433, allocations: 6.92 MB / 341.9 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005066/0.4381, allocations: 0.8542 MB / 342.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008343/0.4465, allocations: 3.296 MB / 346.1 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01134/0.4579, allocations: 5.361 MB / 351.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003323/0.4613, allocations: 1.37 MB / 352.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003925/0.4652, allocations: 1.885 MB / 354.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009973/0.4663, allocations: 188 kB / 354.9 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.4695, allocations: 0.9753 MB / 355.9 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003253/0.4727, allocations: 2.053 MB / 357.9 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.4745, allocations: 1.033 MB / 358.9 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.485, allocations: 6.591 MB / 365.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4851, allocations: 0 / 365.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4851, allocations: 0 / 365.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002571/0.4853, allocations: 4 kB / 365.5 MB, free: 15.98 MB / 298.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.01816/0.5035, allocations: 5.36 MB / 370.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.5036, allocations: 12.03 kB / 370.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02076/0.5244, allocations: 3.038 MB / 374 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.5349, allocations: 3.626 MB / 377.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004328/0.5354, allocations: 315.9 kB / 377.9 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003665/0.5391, allocations: 0.6359 MB / 378.5 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06149/0.6006, allocations: 16.4 MB / 394.9 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002211/0.6009, allocations: 51.53 kB / 395 MB, free: 1.461 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00142/0.6023, allocations: 199.8 kB / 395.2 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007432/0.6098, allocations: 2.546 MB / 397.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05687/0.6667, allocations: 14.63 MB / 412.3 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3595/1.026, allocations: 56.42 MB / 468.8 MB, free: 93.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06946/1.096, allocations: 13.97 MB / 482.7 MB, free: 90.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03306/1.129, allocations: 16.22 MB / 499 MB, free: 78.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/1.129, allocations: 59.75 kB / 499 MB, free: 78.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 6.513e-06/1.129, allocations: 0 / 499 MB, free: 78.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=260): time 0.2048/1.334, allocations: 43.09 MB / 0.5294 GB, free: 35.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/1.334, allocations: 166 kB / 0.5296 GB, free: 34.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008439/1.342, allocations: 5.127 MB / 0.5346 GB, free: 29.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000826/1.343, allocations: 65.7 kB / 0.5346 GB, free: 29.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.346, allocations: 3.835 MB / 0.5384 GB, free: 25.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001627/1.347, allocations: 1.009 MB / 0.5394 GB, free: 24.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006766/1.348, allocations: 157.2 kB / 0.5395 GB, free: 24.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004016/1.349, allocations: 0.6368 MB / 0.5401 GB, free: 24.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008027/1.357, allocations: 3.478 MB / 0.5435 GB, free: 20.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.368, allocations: 8.014 MB / 0.5514 GB, free: 10.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.379, allocations: 5.044 MB / 0.5563 GB, free: 5.387 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/1.379, allocations: 44 kB / 0.5563 GB, free: 5.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.04344/1.423, allocations: 13.62 MB / 0.5696 GB, free: 7.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00014/1.423, allocations: 76 kB / 0.5697 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02538/1.448, allocations: 6.801 MB / 0.5763 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2438/1.692, allocations: 3.195 MB / 0.5795 GB, free: 128.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01267/1.705, allocations: 1.975 MB / 0.5814 GB, free: 128.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/1.726, allocations: 13.35 MB / 0.5944 GB, free: 120.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00938/1.735, allocations: 0.5555 MB / 0.595 GB, free: 120 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001925/1.737, allocations: 469.1 kB / 0.5954 GB, free: 119.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * 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 (974): * Single equations (assignments): 959 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * 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: 0 * 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: 3 {3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.006323/1.744, allocations: 2.487 MB / 0.5978 GB, free: 118.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.745, allocations: 441.3 kB / 0.5983 GB, free: 118.8 MB / 378.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.007246/1.752, allocations: 2.811 MB / 0.601 GB, free: 117.6 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.