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_withLosses.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_withLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.316/2.316, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003752, allocations: 8 kB / 264.1 MB, free: 3.457 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5084/0.8605, allocations: 126.5 MB / 435.1 MB, free: 51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.8609, allocations: 107.5 kB / 435.2 MB, free: 51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686/2.546, allocations: 353.2 MB / 0.7699 GB, free: 48.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.467e-06/2.547, allocations: 0 / 0.7699 GB, free: 48.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000767/2.547, allocations: 224.9 kB / 0.7702 GB, free: 48.3 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04937/2.597, allocations: 10.11 MB / 0.78 GB, free: 45.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/2.597, allocations: 7.531 kB / 0.78 GB, free: 45.11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008709/2.606, allocations: 1.651 MB / 0.7816 GB, free: 44.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04013/2.646, allocations: 4.952 MB / 0.7865 GB, free: 44.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02848/2.674, allocations: 8.202 MB / 0.7945 GB, free: 43.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001363/2.676, allocations: 0.7147 MB / 0.7952 GB, free: 43.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005514/2.681, allocations: 0.9244 MB / 0.7961 GB, free: 43.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06151/2.743, allocations: 17.16 MB / 0.8129 GB, free: 42.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006015/2.743, allocations: 14.66 kB / 0.8129 GB, free: 42.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004673/2.748, allocations: 405.8 kB / 0.8133 GB, free: 42.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/2.749, allocations: 0.7064 MB / 0.8139 GB, free: 42.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04972/2.799, allocations: 15.83 MB / 0.8294 GB, free: 35.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5121/3.311, allocations: 55.68 MB / 0.8838 GB, free: 36.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03376/3.345, allocations: 19.32 MB / 0.9026 GB, free: 28.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07069/3.416, allocations: 24.88 MB / 0.9269 GB, free: 27.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/3.416, allocations: 102.8 kB / 0.927 GB, free: 27.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=749): time 1.267e-05/3.416, allocations: 0 / 0.927 GB, free: 27.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=754): time 0.1782/3.594, allocations: 46.21 MB / 0.9722 GB, free: 16.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/3.594, allocations: 114.8 kB / 0.9723 GB, free: 16.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008419/3.603, allocations: 3.202 MB / 0.9754 GB, free: 14.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001864/3.605, allocations: 125.3 kB / 0.9755 GB, free: 14.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004665/3.609, allocations: 3.617 MB / 0.9791 GB, free: 12.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005972/3.616, allocations: 2.478 MB / 0.9815 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002423/3.618, allocations: 129.3 kB / 0.9816 GB, free: 10.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001362/3.619, allocations: 0.6058 MB / 0.9822 GB, free: 9.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02019/3.64, allocations: 5.097 MB / 0.9872 GB, free: 7.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01668/3.656, allocations: 6.34 MB / 0.9934 GB, free: 4.102 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01643/3.673, allocations: 6.156 MB / 0.9994 GB, free: 1.246 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.182e-05/3.673, allocations: 11.19 kB / 0.9994 GB, free: 1.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.05279/3.726, allocations: 14.91 MB / 1.014 GB, free: 8.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.444e-05/3.726, allocations: 49.83 kB / 1.014 GB, free: 8.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/3.726, allocations: 28 kB / 1.014 GB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01736/3.743, allocations: 4.039 MB / 1.018 GB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/3.757, allocations: 1.184 MB / 1.019 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03226/3.79, allocations: 12.58 MB / 1.031 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/3.8, allocations: 370 kB / 1.032 GB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002825/3.803, allocations: 277.5 kB / 1.032 GB, free: 7.582 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * 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 (637): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.01668/3.82, allocations: 3.878 MB / 1.036 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003607/3.823, allocations: 493.5 kB / 1.036 GB, free: 3.848 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4233/4.247, allocations: 14.86 MB / 1.051 GB, free: 73.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03698/4.284, allocations: 12.84 MB / 1.063 GB, free: 72.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/4.284, allocations: 6.672 kB / 1.063 GB, free: 72.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001603/4.284, allocations: 33.42 kB / 1.063 GB, free: 72.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07596/4.36, allocations: 28.21 MB / 1.091 GB, free: 72.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.57e-05/4.36, allocations: 6.906 kB / 1.091 GB, free: 72.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0079/4.368, allocations: 0.8817 MB / 1.092 GB, free: 72.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01294/4.381, allocations: 3.961 MB / 1.096 GB, free: 71.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0018/4.383, allocations: 162.6 kB / 1.096 GB, free: 71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/4.402, allocations: 12.47 MB / 1.108 GB, free: 63.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/4.402, allocations: 4.359 kB / 1.108 GB, free: 63.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05622/4.458, allocations: 21.68 MB / 1.129 GB, free: 53.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006339/4.465, allocations: 1.733 MB / 1.131 GB, free: 52.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002402/4.467, allocations: 110.3 kB / 1.131 GB, free: 52.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006464/4.474, allocations: 298.8 kB / 1.131 GB, free: 52.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002622/4.476, allocations: 0.5477 MB / 1.132 GB, free: 52.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001223/4.478, allocations: 202.8 kB / 1.132 GB, free: 52.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005652/4.483, allocations: 2.444 MB / 1.134 GB, free: 51.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.022e-06/4.483, allocations: 2.25 kB / 1.134 GB, free: 51.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01064/4.494, allocations: 1.828 MB / 1.136 GB, free: 51.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (480): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.06112/4.555, allocations: 23.14 MB / 1.159 GB, free: 39.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03499/4.59, allocations: 12.51 MB / 1.171 GB, free: 28.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/4.59, allocations: 2.938 kB / 1.171 GB, free: 28.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0194/4.61, allocations: 6.485 MB / 1.177 GB, free: 23.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008821/4.619, allocations: 0.9022 MB / 1.178 GB, free: 22.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4508/5.069, allocations: 53.76 MB / 1.231 GB, free: 63.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0162/5.086, allocations: 6.838 MB / 1.237 GB, free: 62.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009344/5.095, allocations: 1.659 MB / 1.239 GB, free: 62.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009838/5.105, allocations: 3.573 MB / 1.242 GB, free: 62.88 MB / 474.7 MB Notification: Performance of SimCode: time 1.974e-06/5.105, allocations: 0 / 1.242 GB, free: 62.88 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7503/5.855, allocations: 187.5 MB / 1.426 GB, free: 82.26 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/5.856, allocations: 308.7 kB / 1.426 GB, free: 81.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/14.4, allocations: 3.938 kB / 1.426 GB, free: 81.9 MB / 474.7 MB