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.01/2.01, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 8 kB / 264.1 MB, free: 3.453 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03512/0.3229, allocations: 20.72 MB / 329.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01948/0.3424, allocations: 7.203 MB / 336.5 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004644/0.3471, allocations: 147.5 kB / 336.7 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006965/0.3541, allocations: 1.512 MB / 338.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.3655, allocations: 2.563 MB / 340.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006098/0.3716, allocations: 1.204 MB / 341.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02464/0.3963, allocations: 10.4 MB / 352.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05861/0.455, allocations: 19.14 MB / 371.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009274/0.4643, allocations: 4.058 MB / 375.5 MB, free: 9.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01082/0.4752, allocations: 4.495 MB / 380 MB, free: 5.059 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003469/0.4787, allocations: 0.6602 MB / 380.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006756/0.4855, allocations: 0.9722 MB / 381.7 MB, free: 3.426 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005404/0.491, allocations: 2.083 MB / 383.7 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005657/0.4967, allocations: 2.157 MB / 385.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03966/0.5364, allocations: 19.54 MB / 405.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5364, allocations: 0 / 405.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5365, allocations: 0 / 405.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005568/0.537, allocations: 0 / 405.4 MB, free: 11.58 MB / 346.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.05417/0.5912, allocations: 11.42 MB / 416.9 MB, free: 56 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5913, allocations: 8.031 kB / 416.9 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.5264/1.118, allocations: 1.64 MB / 418.5 MB, free: 75.39 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0659/1.184, allocations: 7.159 MB / 425.7 MB, free: 73.79 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02579/1.21, allocations: 6.413 MB / 432.1 MB, free: 69.54 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001076/1.211, allocations: 0.7317 MB / 432.8 MB, free: 69.21 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005533/1.216, allocations: 0.9692 MB / 433.8 MB, free: 68.89 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05653/1.273, allocations: 16.48 MB / 450.3 MB, free: 52.52 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005096/1.273, allocations: 15.89 kB / 450.3 MB, free: 52.51 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003533/1.277, allocations: 409.5 kB / 450.7 MB, free: 52.12 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008254/1.278, allocations: 0.5941 MB / 451.3 MB, free: 51.53 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04439/1.322, allocations: 15.74 MB / 467 MB, free: 35.77 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1225/1.445, allocations: 54.04 MB / 0.5088 GB, free: 12.98 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03788/1.483, allocations: 22.66 MB / 0.531 GB, free: 4.082 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03652/1.519, allocations: 11.84 MB / 0.5425 GB, free: 8.172 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.601e-05/1.519, allocations: 69.41 kB / 0.5426 GB, free: 8.094 MB / 410.8 MB Notification: Performance of pre-optimization done (n=365): time 9.147e-06/1.519, allocations: 3.984 kB / 0.5426 GB, free: 8.09 MB / 410.8 MB Notification: Performance of matching and sorting (n=370): time 0.07788/1.597, allocations: 18.58 MB / 0.5607 GB, free: 5.293 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.598, allocations: 98.28 kB / 0.5608 GB, free: 5.184 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.609, allocations: 4.678 MB / 0.5654 GB, free: 488 kB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007698/1.61, allocations: 89.64 kB / 0.5655 GB, free: 392 kB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2823/1.892, allocations: 4.473 MB / 0.5698 GB, free: 140.1 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001915/1.894, allocations: 1.279 MB / 0.5711 GB, free: 139.3 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/1.895, allocations: 115.6 kB / 0.5712 GB, free: 139.2 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004451/1.895, allocations: 0.5489 MB / 0.5717 GB, free: 138.8 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007533/1.903, allocations: 2.917 MB / 0.5746 GB, free: 137.7 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009471/1.912, allocations: 5.253 MB / 0.5797 GB, free: 133.5 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009806/1.922, allocations: 4.133 MB / 0.5838 GB, free: 131.7 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.76e-05/1.922, allocations: 23.34 kB / 0.5838 GB, free: 131.7 MB / 426.8 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.02777/1.95, allocations: 9.658 MB / 0.5932 GB, free: 127.8 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.95, allocations: 64.58 kB / 0.5933 GB, free: 127.7 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/1.951, allocations: 77.97 kB / 0.5933 GB, free: 127.7 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006517/1.957, allocations: 1.419 MB / 0.5947 GB, free: 127.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00945/1.967, allocations: 1.333 MB / 0.596 GB, free: 127.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02599/1.993, allocations: 11.95 MB / 0.6077 GB, free: 117.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007146/2, allocations: 365.1 kB / 0.6081 GB, free: 117.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/2.001, allocations: 304.9 kB / 0.6083 GB, free: 117.1 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * 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 (693): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009105/2.01, allocations: 3.919 MB / 0.6122 GB, free: 113.7 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/2.012, allocations: 453.6 kB / 0.6126 GB, free: 113.2 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02078/2.032, allocations: 6.841 MB / 0.6193 GB, free: 106.4 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01596/2.048, allocations: 5.633 MB / 0.6248 GB, free: 100.7 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.627e-05/2.049, allocations: 12 kB / 0.6248 GB, free: 100.7 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.496e-05/2.049, allocations: 19.92 kB / 0.6248 GB, free: 100.7 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0406/2.089, allocations: 15.5 MB / 0.6399 GB, free: 85.12 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.969e-05/2.089, allocations: 4 kB / 0.64 GB, free: 85.12 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005853/2.095, allocations: 0.6631 MB / 0.6406 GB, free: 84.46 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005712/2.101, allocations: 1.264 MB / 0.6418 GB, free: 83.19 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008059/2.102, allocations: 87.97 kB / 0.6419 GB, free: 83.11 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02292/2.125, allocations: 10.85 MB / 0.6525 GB, free: 72 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/2.125, allocations: 4 kB / 0.6525 GB, free: 72 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02657/2.151, allocations: 10.06 MB / 0.6623 GB, free: 61.81 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003501/2.155, allocations: 1.042 MB / 0.6634 GB, free: 60.75 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/2.157, allocations: 75.98 kB / 0.6634 GB, free: 60.67 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004933/2.162, allocations: 219.7 kB / 0.6636 GB, free: 60.46 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/2.163, allocations: 271.2 kB / 0.6639 GB, free: 60.19 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005767/2.163, allocations: 112 kB / 0.664 GB, free: 60.08 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00693/2.17, allocations: 3.166 MB / 0.6671 GB, free: 56.91 MB / 426.8 MB Notification: Performance of sort global known variables: time 7.01e-07/2.17, allocations: 0 / 0.6671 GB, free: 56.91 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.009398/2.18, allocations: 1.699 MB / 0.6688 GB, free: 55.21 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 6,(14,45.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02754/2.207, allocations: 10.93 MB / 0.6794 GB, free: 44.22 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02055/2.228, allocations: 7.624 MB / 0.6869 GB, free: 36.56 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/2.228, allocations: 4 kB / 0.6869 GB, free: 36.55 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01063/2.239, allocations: 3.624 MB / 0.6904 GB, free: 32.91 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007282/2.246, allocations: 0.9112 MB / 0.6913 GB, free: 32 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05858/2.305, allocations: 29.61 MB / 0.7202 GB, free: 0.7266 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.316/2.621, allocations: 6.725 MB / 0.7268 GB, free: 149 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.01092/2.632, allocations: 2.101 MB / 0.7288 GB, free: 148.9 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008424/2.64, allocations: 3.54 MB / 0.7323 GB, free: 147.9 MB / 442.8 MB Notification: Performance of SimCode: time 1.673e-06/2.64, allocations: 0 / 0.7323 GB, free: 147.9 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2555/2.896, allocations: 128.5 MB / 0.8578 GB, free: 32.45 MB / 442.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/2.896, allocations: 307.2 kB / 0.8581 GB, free: 32.08 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.656/9.552, allocations: 0 / 0.8581 GB, free: 32.08 MB / 442.8 MB