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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.41/2.41, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.975e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3846, allocations: 54.85 MB / 358.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.5971, allocations: 84.02 MB / 442.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5974, allocations: 63.97 kB / 442.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04028/0.6377, allocations: 8.845 MB / 451 MB, free: 1.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6378, allocations: 0 / 451 MB, free: 1.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.148e-05/0.6378, allocations: 8 kB / 451.1 MB, free: 1.793 MB / 378.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.001719/0.6395, allocations: 0.6553 MB / 451.7 MB, free: 1.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.6396, allocations: 11.97 kB / 451.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.6398, allocations: 55.44 kB / 451.8 MB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.6405, allocations: 312.5 kB / 452.1 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.6405, allocations: 12 kB / 452.1 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.08e-05/0.6406, allocations: 28 kB / 452.1 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008434/0.6415, allocations: 254.6 kB / 452.4 MB, free: 396 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.6424, allocations: 368.5 kB / 452.7 MB, free: 12 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.6425, allocations: 3.953 kB / 452.7 MB, free: 8 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.6426, allocations: 0 / 452.7 MB, free: 8 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.6426, allocations: 16.05 kB / 452.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00399/0.6466, allocations: 1.614 MB / 454.4 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.6472, allocations: 201.1 kB / 454.6 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.6476, allocations: 117.6 kB / 454.7 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.6476, allocations: 4 kB / 454.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.6477, allocations: 34.56 kB / 454.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 2.776e-06/0.6477, allocations: 4 kB / 454.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.003074/0.6508, allocations: 1.03 MB / 455.7 MB, free: 12.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.6509, allocations: 81.11 kB / 455.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.6512, allocations: 218 kB / 456 MB, free: 12.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.6513, allocations: 25.7 kB / 456.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.6515, allocations: 313.9 kB / 456.4 MB, free: 12.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.6516, allocations: 114.3 kB / 456.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.6517, allocations: 4 kB / 456.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6518, allocations: 334.7 kB / 456.8 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.6521, allocations: 84.86 kB / 456.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.6524, allocations: 170.8 kB / 457.1 MB, free: 11.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.6527, allocations: 112 kB / 457.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6527, allocations: 4 kB / 457.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009056/0.6537, allocations: 318.7 kB / 457.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.6537, allocations: 8 kB / 457.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6537, allocations: 0 / 457.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.6539, allocations: 41.12 kB / 457.5 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009031/0.6549, allocations: 119.9 kB / 457.6 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.6562, allocations: 1.288 MB / 458.9 MB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.6568, allocations: 15.98 kB / 458.9 MB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.6568, allocations: 19.94 kB / 459 MB, free: 9.324 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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.0001566/0.657, allocations: 104.9 kB / 459.1 MB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007299/0.6577, allocations: 251.1 kB / 459.3 MB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.6579, allocations: 31.66 kB / 459.3 MB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.658, allocations: 29.97 kB / 459.4 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.658, allocations: 4 kB / 459.4 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.658, allocations: 3.938 kB / 459.4 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.658, allocations: 7.922 kB / 459.4 MB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.6596, allocations: 0.6263 MB / 460 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.6596, allocations: 0 / 460 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.6605, allocations: 95.88 kB / 460.1 MB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.6607, allocations: 28.83 kB / 460.1 MB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.6607, allocations: 8.062 kB / 460.1 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.6622, allocations: 1.268 MB / 461.4 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.6623, allocations: 7.922 kB / 461.4 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.6633, allocations: 0.5605 MB / 462 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.6636, allocations: 124.8 kB / 462.1 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.6636, allocations: 0 / 462.1 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.6641, allocations: 15.98 kB / 462.1 MB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.6642, allocations: 27.91 kB / 462.1 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.6643, allocations: 8 kB / 462.2 MB, free: 5.883 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002393/0.6645, allocations: 170 kB / 462.3 MB, free: 5.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6645, allocations: 0 / 462.3 MB, free: 5.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006918/0.6652, allocations: 80 kB / 462.4 MB, free: 5.645 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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.001517/0.6668, allocations: 1.312 MB / 463.7 MB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000881/0.6677, allocations: 338.2 kB / 464 MB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6677, allocations: 0 / 464 MB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.6682, allocations: 221.7 kB / 464.3 MB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.6687, allocations: 30.05 kB / 464.3 MB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.6711, allocations: 0.7471 MB / 465 MB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.6717, allocations: 0.823 MB / 465.9 MB, free: 2.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.672, allocations: 143.3 kB / 466 MB, free: 1.895 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.672, allocations: 0 / 466 MB, free: 1.895 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.198/3.87, allocations: 7.416 MB / 473.4 MB, free: 97.48 MB / 394.7 MB