Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.711/1.711, allocations: 171.1 MB / 187.3 MB, free: 1.051 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003406, allocations: 11.98 kB / 233.8 MB, free: 3.066 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08404/0.08441, allocations: 38.78 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.333/0.4174, allocations: 48.4 MB / 321 MB, free: 6.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.03036/0.4478, allocations: 11.31 MB / 332.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01159/0.4595, allocations: 236.6 kB / 332.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009227/0.4688, allocations: 2.426 MB / 334.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02854/0.4974, allocations: 6.919 MB / 341.9 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005041/0.5025, allocations: 0.8504 MB / 342.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008587/0.5111, allocations: 3.312 MB / 346 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/0.5229, allocations: 5.351 MB / 351.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.5267, allocations: 1.39 MB / 352.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004308/0.5311, allocations: 1.873 MB / 354.6 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001342/0.5325, allocations: 184 kB / 354.8 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.5362, allocations: 0.983 MB / 355.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003848/0.5401, allocations: 2.057 MB / 357.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.5423, allocations: 1.03 MB / 358.9 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.5538, allocations: 6.598 MB / 365.5 MB, free: 388 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5538, allocations: 0 / 365.5 MB, free: 388 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.5539, allocations: 0 / 365.5 MB, free: 388 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002983/0.5542, allocations: 0 / 365.5 MB, free: 388 kB / 282.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.01884/0.573, allocations: 5.364 MB / 370.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.5731, allocations: 12.02 kB / 370.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02082/0.5939, allocations: 3.035 MB / 373.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.6043, allocations: 3.622 MB / 377.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004312/0.6047, allocations: 319.8 kB / 377.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003621/0.6084, allocations: 0.632 MB / 378.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05657/0.665, allocations: 16.44 MB / 394.9 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002166/0.6653, allocations: 59.45 kB / 395 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/0.6664, allocations: 203.8 kB / 395.2 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007329/0.6738, allocations: 2.542 MB / 397.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05685/0.7307, allocations: 14.62 MB / 412.3 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3449/1.076, allocations: 56.43 MB / 468.7 MB, free: 94.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0715/1.147, allocations: 13.96 MB / 482.7 MB, free: 90.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0361/1.183, allocations: 16.21 MB / 498.9 MB, free: 78.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.393e-05/1.183, allocations: 68.02 kB / 499 MB, free: 78.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 7.303e-06/1.183, allocations: 3.938 kB / 499 MB, free: 78.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=260): time 0.2102/1.394, allocations: 43.09 MB / 0.5294 GB, free: 35.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/1.394, allocations: 162 kB / 0.5295 GB, free: 35.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009212/1.403, allocations: 5.131 MB / 0.5345 GB, free: 29.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009313/1.404, allocations: 65.7 kB / 0.5346 GB, free: 29.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002637/1.407, allocations: 3.722 MB / 0.5382 GB, free: 26.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.408, allocations: 1.011 MB / 0.5392 GB, free: 25.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007603/1.409, allocations: 157.4 kB / 0.5394 GB, free: 25.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000431/1.41, allocations: 0.6532 MB / 0.54 GB, free: 24.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008491/1.418, allocations: 3.47 MB / 0.5434 GB, free: 20.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/1.43, allocations: 8.049 MB / 0.5513 GB, free: 10.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/1.442, allocations: 5.053 MB / 0.5562 GB, free: 5.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.442, allocations: 44 kB / 0.5562 GB, free: 5.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.04387/1.486, allocations: 13.47 MB / 0.5694 GB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/1.486, allocations: 75.95 kB / 0.5695 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02521/1.511, allocations: 6.801 MB / 0.5761 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2723/1.784, allocations: 3.192 MB / 0.5792 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01636/1.8, allocations: 1.971 MB / 0.5811 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02979/1.83, allocations: 13.35 MB / 0.5942 GB, free: 120.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01404/1.844, allocations: 0.5537 MB / 0.5947 GB, free: 120.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002156/1.846, allocations: 466.4 kB / 0.5952 GB, free: 120 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.00835/1.854, allocations: 2.494 MB / 0.5976 GB, free: 118.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/1.856, allocations: 444.2 kB / 0.598 GB, free: 118.9 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.009438/1.865, allocations: 2.815 MB / 0.6008 GB, free: 117.7 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.