Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.000447, allocations: 12 kB / 314.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.35, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.5095, allocations: 84.77 MB / 454.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.5098, allocations: 67.91 kB / 454.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04318/0.553, allocations: 8.914 MB / 463.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.553, allocations: 0 / 463.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.5531, allocations: 8 kB / 463.1 MB, free: 12.79 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001881/0.555, allocations: 0.6946 MB / 463.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.555, allocations: 8.031 kB / 463.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.5552, allocations: 86.52 kB / 463.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.5554, allocations: 47.44 kB / 463.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.556, allocations: 308.2 kB / 464.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.5561, allocations: 40.98 kB / 464.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.5562, allocations: 40 kB / 464.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.5576, allocations: 470.9 kB / 464.8 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.5576, allocations: 0 / 464.8 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/0.5577, allocations: 23.95 kB / 464.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.5577, allocations: 12 kB / 464.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.559, allocations: 327.8 kB / 465.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/0.5631, allocations: 1.705 MB / 466.8 MB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/0.5641, allocations: 252.9 kB / 467.1 MB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.5642, allocations: 7.984 kB / 467.1 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.5642, allocations: 34.52 kB / 467.1 MB, free: 8.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 3.246e-06/0.5642, allocations: 3.938 kB / 467.1 MB, free: 8.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.004694/0.5689, allocations: 1.243 MB / 468.4 MB, free: 7.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.5691, allocations: 81.11 kB / 468.5 MB, free: 7.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.5695, allocations: 237.6 kB / 468.7 MB, free: 6.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.5695, allocations: 33.7 kB / 468.7 MB, free: 6.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.5698, allocations: 310 kB / 469 MB, free: 6.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.5699, allocations: 114.3 kB / 469.1 MB, free: 6.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.57, allocations: 12 kB / 469.2 MB, free: 6.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5701, allocations: 326.8 kB / 469.5 MB, free: 6.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/0.5707, allocations: 112.8 kB / 469.6 MB, free: 5.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.5712, allocations: 203.5 kB / 469.8 MB, free: 5.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.5718, allocations: 131.9 kB / 469.9 MB, free: 5.559 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5718, allocations: 0 / 469.9 MB, free: 5.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001378/0.5732, allocations: 401.9 kB / 470.3 MB, free: 5.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.5733, allocations: 4 kB / 470.3 MB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.5733, allocations: 4 kB / 470.3 MB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.5735, allocations: 41.08 kB / 470.4 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/0.5744, allocations: 119.9 kB / 470.5 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.5758, allocations: 1.328 MB / 471.8 MB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.5763, allocations: 23.98 kB / 471.8 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.5764, allocations: 16 kB / 471.8 MB, free: 3.484 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003258/0.5767, allocations: 166.5 kB / 472 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5768, allocations: 31.62 kB / 472 MB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.577, allocations: 38.12 kB / 472.1 MB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.577, allocations: 8.062 kB / 472.1 MB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.577, allocations: 0 / 472.1 MB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.577, allocations: 7.984 kB / 472.1 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.5778, allocations: 417.4 kB / 472.5 MB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5779, allocations: 0 / 472.5 MB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008598/0.5787, allocations: 95.88 kB / 472.6 MB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001552/0.5789, allocations: 24.84 kB / 472.6 MB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.5789, allocations: 12 kB / 472.6 MB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.5803, allocations: 1.328 MB / 473.9 MB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5803, allocations: 7.969 kB / 474 MB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.5821, allocations: 0.61 MB / 474.6 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.5823, allocations: 120.8 kB / 474.7 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.5824, allocations: 15.92 kB / 474.7 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.5829, allocations: 19.98 kB / 474.7 MB, free: 372 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.583, allocations: 19.97 kB / 474.7 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.583, allocations: 12 kB / 474.7 MB, free: 340 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002773/0.5833, allocations: 182 kB / 474.9 MB, free: 156 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5833, allocations: 0 / 474.9 MB, free: 156 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006545/0.584, allocations: 95.98 kB / 475 MB, free: 60 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3218/0.9058, allocations: 1.217 MB / 476.2 MB, free: 94.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.9074, allocations: 407.2 kB / 476.6 MB, free: 94.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.9074, allocations: 0.7188 kB / 476.6 MB, free: 94.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.9081, allocations: 252.8 kB / 476.9 MB, free: 94.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.9087, allocations: 31.67 kB / 476.9 MB, free: 94.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.9143, allocations: 4.064 MB / 481 MB, free: 91.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.9147, allocations: 0.8164 MB / 481.8 MB, free: 91.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.9151, allocations: 142 kB / 481.9 MB, free: 91.08 MB / 394.7 MB Notification: Performance of SimCode: time 1.213e-06/0.9151, allocations: 0 / 481.9 MB, free: 91.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.776/3.691, allocations: 7.467 MB / 489.4 MB, free: 90.19 MB / 394.7 MB