Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.27/2.27, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005432/0.0005432, allocations: 8 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3232, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5029/0.8262, allocations: 121.3 MB / 429.9 MB, free: 50.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/0.8266, allocations: 104.5 kB / 430 MB, free: 50.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.688/2.515, allocations: 339.8 MB / 0.7518 GB, free: 47.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.027e-06/2.515, allocations: 0 / 0.7518 GB, free: 47.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008481/2.515, allocations: 209.4 kB / 0.752 GB, free: 47.44 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.0465/2.562, allocations: 9.49 MB / 0.7612 GB, free: 44.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/2.562, allocations: 10.22 kB / 0.7612 GB, free: 44.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00846/2.571, allocations: 1.585 MB / 0.7628 GB, free: 44.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03993/2.611, allocations: 4.892 MB / 0.7676 GB, free: 43.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02705/2.638, allocations: 7.895 MB / 0.7753 GB, free: 42.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001152/2.639, allocations: 0.6965 MB / 0.776 GB, free: 42.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004764/2.644, allocations: 0.8983 MB / 0.7768 GB, free: 42.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05486/2.699, allocations: 16.71 MB / 0.7932 GB, free: 41.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005943/2.699, allocations: 10.88 kB / 0.7932 GB, free: 41.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004474/2.704, allocations: 393.3 kB / 0.7935 GB, free: 41.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001143/2.705, allocations: 0.6962 MB / 0.7942 GB, free: 41.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04567/2.751, allocations: 15.44 MB / 0.8093 GB, free: 40.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1411/2.892, allocations: 53.87 MB / 0.8619 GB, free: 6.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04227/2.934, allocations: 19.15 MB / 0.8806 GB, free: 5.039 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4498/3.384, allocations: 23.32 MB / 0.9034 GB, free: 60.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/3.384, allocations: 93.95 kB / 0.9035 GB, free: 60.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=686): time 1.267e-05/3.384, allocations: 1.562 kB / 0.9035 GB, free: 60.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=692): time 0.1359/3.52, allocations: 39.99 MB / 0.9425 GB, free: 51.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/3.52, allocations: 111.3 kB / 0.9426 GB, free: 51.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006465/3.527, allocations: 2.464 MB / 0.9451 GB, free: 51.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001796/3.529, allocations: 116.2 kB / 0.9452 GB, free: 51.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002912/3.531, allocations: 3.416 MB / 0.9485 GB, free: 49.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003912/3.535, allocations: 2.282 MB / 0.9507 GB, free: 48.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/3.537, allocations: 120.2 kB / 0.9508 GB, free: 48.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008378/3.538, allocations: 0.5804 MB / 0.9514 GB, free: 47.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01289/3.551, allocations: 4.734 MB / 0.956 GB, free: 47.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01476/3.566, allocations: 6.056 MB / 0.9619 GB, free: 45.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.016/3.582, allocations: 5.717 MB / 0.9675 GB, free: 42.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-05/3.582, allocations: 11.72 kB / 0.9675 GB, free: 42.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=885) (initialization): time 0.05395/3.636, allocations: 13.66 MB / 0.9809 GB, free: 37.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.493e-05/3.636, allocations: 19.31 kB / 0.9809 GB, free: 37.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/3.636, allocations: 35.86 kB / 0.9809 GB, free: 37.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01781/3.654, allocations: 3.875 MB / 0.9847 GB, free: 36.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01182/3.666, allocations: 1.132 MB / 0.9858 GB, free: 36.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/3.685, allocations: 10.7 MB / 0.9963 GB, free: 29.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007633/3.692, allocations: 345.9 kB / 0.9966 GB, free: 29.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002155/3.695, allocations: 276 kB / 0.9969 GB, free: 29.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * 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 (603): * Single equations (assignments): 535 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.01185/3.706, allocations: 3.69 MB / 1 GB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002907/3.709, allocations: 439.6 kB / 1.001 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04297/3.752, allocations: 13.24 MB / 1.014 GB, free: 18.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03408/3.787, allocations: 11.89 MB / 1.025 GB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-05/3.787, allocations: 3.562 kB / 1.025 GB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001537/3.787, allocations: 30 kB / 1.025 GB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08329/3.87, allocations: 26.65 MB / 1.051 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.25e-05/3.87, allocations: 4 kB / 1.051 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007689/3.878, allocations: 0.8109 MB / 1.052 GB, free: 1.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3851/4.263, allocations: 3.901 MB / 1.056 GB, free: 75.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002051/4.265, allocations: 148.4 kB / 1.056 GB, free: 75.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/4.284, allocations: 10.58 MB / 1.067 GB, free: 72.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-06/4.284, allocations: 5.219 kB / 1.067 GB, free: 72.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05366/4.338, allocations: 20 MB / 1.086 GB, free: 71.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00609/4.344, allocations: 1.542 MB / 1.088 GB, free: 71.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002794/4.347, allocations: 96.72 kB / 1.088 GB, free: 71.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006562/4.353, allocations: 290.2 kB / 1.088 GB, free: 71.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002698/4.356, allocations: 0.4995 MB / 1.088 GB, free: 71.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001794/4.358, allocations: 181.3 kB / 1.089 GB, free: 71.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004874/4.363, allocations: 1.87 MB / 1.09 GB, free: 71.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.254e-06/4.363, allocations: 3.938 kB / 1.09 GB, free: 71.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01074/4.374, allocations: 1.682 MB / 1.092 GB, free: 71.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (438): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.05529/4.429, allocations: 21.02 MB / 1.113 GB, free: 69.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03249/4.461, allocations: 11.53 MB / 1.124 GB, free: 65.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/4.462, allocations: 0 / 1.124 GB, free: 65.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01838/4.48, allocations: 5.952 MB / 1.13 GB, free: 62.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008739/4.489, allocations: 0.8378 MB / 1.131 GB, free: 62.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1685/4.657, allocations: 81.91 MB / 1.211 GB, free: 12.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01748/4.675, allocations: 6.519 MB / 1.217 GB, free: 7.645 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01035/4.685, allocations: 1.511 MB / 1.218 GB, free: 6.605 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01039/4.696, allocations: 3.271 MB / 1.222 GB, free: 3.574 MB / 474.7 MB Notification: Performance of SimCode: time 3.717e-06/4.696, allocations: 0 / 1.222 GB, free: 3.574 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.082/5.778, allocations: 173.8 MB / 1.391 GB, free: 45.05 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/5.779, allocations: 268.2 kB / 1.392 GB, free: 44.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/13.57, allocations: 1.75 kB / 1.392 GB, free: 44.7 MB / 474.7 MB