Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 234.9 MB / 250.4 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004409, allocations: 16 kB / 314.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3692, allocations: 54.86 MB / 369.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002638/0.3719, allocations: 1.429 MB / 370.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004095/0.3723, allocations: 155.6 kB / 370.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.3724, allocations: 4 kB / 370.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.3725, allocations: 11.86 kB / 370.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.3727, allocations: 55.81 kB / 370.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.3728, allocations: 31.91 kB / 370.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.3731, allocations: 131.7 kB / 371.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.3733, allocations: 45.84 kB / 371.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.96e-05/0.3734, allocations: 51.86 kB / 371.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.3735, allocations: 67.69 kB / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.3736, allocations: 8 kB / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.3736, allocations: 12 kB / 371.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.3737, allocations: 19.92 kB / 371.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.3737, allocations: 57.58 kB / 371.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.374, allocations: 132.6 kB / 371.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.374, allocations: 0 / 371.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.374, allocations: 0 / 371.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.374, allocations: 0 / 371.5 MB, free: 10.57 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006608/0.3747, allocations: 427.2 kB / 371.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3747, allocations: 8.031 kB / 371.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/0.3748, allocations: 50.55 kB / 371.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.3749, allocations: 27.75 kB / 372 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3751, allocations: 202.8 kB / 372.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.3752, allocations: 16.27 kB / 372.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.3752, allocations: 20 kB / 372.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.3756, allocations: 169.6 kB / 372.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.3757, allocations: 3.906 kB / 372.4 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.3757, allocations: 4 kB / 372.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3757, allocations: 7.953 kB / 372.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.376, allocations: 91.89 kB / 372.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3771, allocations: 0.6034 MB / 373.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.3774, allocations: 137.1 kB / 373.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3775, allocations: 4 kB / 373.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.3775, allocations: 38.64 kB / 373.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 3.927e-06/0.3775, allocations: 3.984 kB / 373.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.001127/0.3787, allocations: 377.6 kB / 373.6 MB, free: 8.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.3787, allocations: 85.2 kB / 373.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3789, allocations: 130 kB / 373.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3789, allocations: 33.7 kB / 373.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3791, allocations: 190.4 kB / 374 MB, free: 7.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.3791, allocations: 59.25 kB / 374.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.3792, allocations: 4 kB / 374.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3793, allocations: 322.8 kB / 374.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3794, allocations: 31.98 kB / 374.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3796, allocations: 108.4 kB / 374.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3797, allocations: 56 kB / 374.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3798, allocations: 0 / 374.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000564/0.3803, allocations: 218.9 kB / 374.8 MB, free: 6.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3804, allocations: 7.953 kB / 374.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3804, allocations: 4 kB / 374.8 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.3807, allocations: 49.69 kB / 374.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.3809, allocations: 36.17 kB / 374.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/0.3837, allocations: 2.732 MB / 377.7 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.3839, allocations: 11.88 kB / 377.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.3839, allocations: 16.25 kB / 377.7 MB, free: 3.734 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.3841, allocations: 133.8 kB / 377.8 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.3842, allocations: 15.84 kB / 377.8 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.3842, allocations: 12.72 kB / 377.8 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3842, allocations: 8 kB / 377.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3842, allocations: 0 / 377.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3843, allocations: 0 / 377.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.3847, allocations: 237.4 kB / 378.1 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3847, allocations: 4 kB / 378.1 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.385, allocations: 27.98 kB / 378.1 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.3852, allocations: 45.7 kB / 378.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3853, allocations: 3.938 kB / 378.2 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.3878, allocations: 2.732 MB / 380.9 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3879, allocations: 7.891 kB / 380.9 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.3885, allocations: 369.2 kB / 381.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.3886, allocations: 97 kB / 381.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.3886, allocations: 4 kB / 381.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3888, allocations: 8.062 kB / 381.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.3889, allocations: 7.984 kB / 381.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3889, allocations: 8 kB / 381.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.422e-05/0.389, allocations: 101.2 kB / 381.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.389, allocations: 0 / 381.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006083/0.3896, allocations: 55.84 kB / 381.5 MB, free: 15.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009107/0.3905, allocations: 0.9007 MB / 382.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007465/0.3913, allocations: 345.1 kB / 382.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3913, allocations: 4 kB / 382.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.3918, allocations: 277.9 kB / 383.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.3923, allocations: 31.03 kB / 383.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.3952, allocations: 1.387 MB / 384.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.3955, allocations: 0.7242 MB / 385.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.3956, allocations: 43.42 kB / 385.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of SimCode: time 2.795e-06/0.3957, allocations: 96 / 385.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.679/3.075, allocations: 3.733 MB / 389 MB, free: 7.879 MB / 314.7 MB