Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09464, allocations: 44.5 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.07557/0.1703, allocations: 48.42 MB / 357.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03148/0.2018, allocations: 11.33 MB / 368.7 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009777/0.2116, allocations: 243.4 kB / 369 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00867/0.2204, allocations: 2.426 MB / 371.4 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3258/0.5463, allocations: 6.904 MB / 378.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.5514, allocations: 0.8509 MB / 379.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008531/0.56, allocations: 3.295 MB / 382.4 MB, free: 9.398 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01131/0.5713, allocations: 5.358 MB / 387.8 MB, free: 8.902 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003936/0.5753, allocations: 1.379 MB / 389.2 MB, free: 8.902 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004259/0.5796, allocations: 1.883 MB / 391.1 MB, free: 8.895 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001295/0.581, allocations: 187.2 kB / 391.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.5847, allocations: 0.9974 MB / 392.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003544/0.5883, allocations: 2.052 MB / 394.3 MB, free: 8.535 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.5904, allocations: 1.036 MB / 395.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.6007, allocations: 6.598 MB / 401.9 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6007, allocations: 4 kB / 401.9 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6007, allocations: 0 / 401.9 MB, free: 4.969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000352/0.6011, allocations: 0 / 401.9 MB, free: 4.969 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.01848/0.6196, allocations: 5.374 MB / 407.3 MB, free: 1.777 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.6197, allocations: 8.312 kB / 407.3 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02147/0.6411, allocations: 3.1 MB / 410.4 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.6517, allocations: 3.648 MB / 414.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004634/0.6522, allocations: 319.1 kB / 414.4 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004265/0.6565, allocations: 0.6247 MB / 415 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06043/0.717, allocations: 16.44 MB / 431.4 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002657/0.7173, allocations: 59.95 kB / 431.5 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001869/0.7192, allocations: 195.7 kB / 431.7 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00777/0.727, allocations: 2.54 MB / 434.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05822/0.7852, allocations: 14.62 MB / 448.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1588/0.9441, allocations: 56.43 MB / 0.4934 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1063/1.05, allocations: 13.94 MB / 0.5071 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3213/1.372, allocations: 16.27 MB / 0.5229 GB, free: 157 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.26e-05/1.372, allocations: 67.38 kB / 0.523 GB, free: 156.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=246): time 8.496e-06/1.372, allocations: 0.6875 kB / 0.523 GB, free: 156.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=260): time 0.2139/1.586, allocations: 43.1 MB / 0.5651 GB, free: 136.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/1.586, allocations: 154.5 kB / 0.5652 GB, free: 135.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00984/1.596, allocations: 5.137 MB / 0.5703 GB, free: 130.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001051/1.597, allocations: 65.7 kB / 0.5703 GB, free: 130.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002818/1.6, allocations: 3.727 MB / 0.574 GB, free: 127 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001818/1.602, allocations: 1.009 MB / 0.5749 GB, free: 126 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008816/1.603, allocations: 157.6 kB / 0.5751 GB, free: 125.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004481/1.603, allocations: 0.6415 MB / 0.5757 GB, free: 125.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008804/1.612, allocations: 3.556 MB / 0.5792 GB, free: 121.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.623, allocations: 8.112 MB / 0.5871 GB, free: 111.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/1.636, allocations: 5.118 MB / 0.5921 GB, free: 106.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/1.636, allocations: 48 kB / 0.5922 GB, free: 106.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.07286/1.709, allocations: 16.19 MB / 0.608 GB, free: 89.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.709, allocations: 72 kB / 0.608 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05335/1.762, allocations: 9.548 MB / 0.6174 GB, free: 80.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05477/1.817, allocations: 6.16 MB / 0.6234 GB, free: 73.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01188/1.829, allocations: 1.977 MB / 0.6253 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04037/1.869, allocations: 18.56 MB / 0.6434 GB, free: 52.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009937/1.879, allocations: 0.5694 MB / 0.644 GB, free: 52.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/1.881, allocations: 465.9 kB / 0.6444 GB, free: 51.64 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.006234/1.887, allocations: 2.494 MB / 0.6469 GB, free: 49.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.889, allocations: 434.4 kB / 0.6473 GB, free: 48.7 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.006683/1.895, allocations: 2.809 MB / 0.65 GB, free: 45.89 MB / 426.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.