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.IMS_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.IMS_Characteristics,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003479, allocations: 15.94 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2893, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03887/0.3283, allocations: 22.46 MB / 331 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02149/0.3498, allocations: 7.554 MB / 338.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005311/0.3552, allocations: 159.5 kB / 338.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007866/0.3631, allocations: 1.652 MB / 340.4 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01317/0.3763, allocations: 2.844 MB / 343.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006812/0.3831, allocations: 1.27 MB / 344.5 MB, free: 8.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02692/0.4101, allocations: 11.15 MB / 355.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05528/0.4654, allocations: 19.63 MB / 375.3 MB, free: 9.715 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.4755, allocations: 4.443 MB / 379.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/0.4874, allocations: 4.977 MB / 384.7 MB, free: 268 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003441/0.4909, allocations: 0.7188 MB / 385.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0062/0.4971, allocations: 0.9995 MB / 386.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004781/0.502, allocations: 2.192 MB / 388.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005062/0.5071, allocations: 2.34 MB / 391 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03248/0.5396, allocations: 20.87 MB / 411.8 MB, free: 5.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5396, allocations: 0 / 411.8 MB, free: 5.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.5397, allocations: 4 kB / 411.8 MB, free: 5.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006548/0.5403, allocations: 0 / 411.8 MB, free: 5.059 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.56/1.1, allocations: 12.32 MB / 424.2 MB, free: 73.89 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.1, allocations: 7.812 kB / 424.2 MB, free: 73.89 MB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00784/1.108, allocations: 1.818 MB / 426 MB, free: 72.75 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07608/1.184, allocations: 9.253 MB / 435.2 MB, free: 66.18 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0194/1.204, allocations: 6.818 MB / 442.1 MB, free: 59.33 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009758/1.205, allocations: 0.8214 MB / 442.9 MB, free: 58.52 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005133/1.21, allocations: 1.075 MB / 444 MB, free: 57.46 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05662/1.267, allocations: 18.59 MB / 462.5 MB, free: 38.84 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006569/1.267, allocations: 7.906 kB / 462.6 MB, free: 38.83 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00448/1.272, allocations: 458.4 kB / 463 MB, free: 38.4 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00103/1.273, allocations: 0.7081 MB / 463.7 MB, free: 37.7 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05091/1.324, allocations: 18.14 MB / 481.9 MB, free: 19.54 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1496/1.474, allocations: 60.12 MB / 0.5293 GB, free: 6.324 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3675/1.841, allocations: 46.67 MB / 0.5749 GB, free: 96.4 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0361/1.877, allocations: 12.55 MB / 0.5871 GB, free: 92.25 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/1.877, allocations: 80.08 kB / 0.5872 GB, free: 92.18 MB / 426.8 MB Notification: Performance of pre-optimization done (n=395): time 7.735e-06/1.877, allocations: 0 / 0.5872 GB, free: 92.18 MB / 426.8 MB Notification: Performance of matching and sorting (n=401): time 0.07401/1.951, allocations: 19.76 MB / 0.6065 GB, free: 84.32 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/1.952, allocations: 95.81 kB / 0.6066 GB, free: 84.25 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008746/1.96, allocations: 4.268 MB / 0.6107 GB, free: 82.64 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007946/1.961, allocations: 92.83 kB / 0.6108 GB, free: 82.55 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003334/1.965, allocations: 4.8 MB / 0.6155 GB, free: 78.95 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001827/1.966, allocations: 1.387 MB / 0.6169 GB, free: 77.89 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007161/1.967, allocations: 129.5 kB / 0.617 GB, free: 77.79 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004659/1.968, allocations: 0.5694 MB / 0.6176 GB, free: 77.32 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007598/1.975, allocations: 3.158 MB / 0.6206 GB, free: 74.67 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009374/1.985, allocations: 5.767 MB / 0.6263 GB, free: 68 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00999/1.995, allocations: 4.44 MB / 0.6306 GB, free: 63.55 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.802e-05/1.995, allocations: 31.98 kB / 0.6306 GB, free: 63.52 MB / 426.8 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02748/2.022, allocations: 10.35 MB / 0.6407 GB, free: 53.14 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.026e-05/2.022, allocations: 44 kB / 0.6408 GB, free: 53.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/2.023, allocations: 87.94 kB / 0.6409 GB, free: 53.02 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005932/2.029, allocations: 1.404 MB / 0.6422 GB, free: 51.61 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009946/2.039, allocations: 1.474 MB / 0.6437 GB, free: 50.13 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02425/2.063, allocations: 10.86 MB / 0.6543 GB, free: 39.15 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007542/2.07, allocations: 407.3 kB / 0.6547 GB, free: 38.75 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/2.072, allocations: 328 kB / 0.655 GB, free: 38.43 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (759): * Single equations (assignments): 754 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009561/2.082, allocations: 4.177 MB / 0.6591 GB, free: 34.24 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/2.083, allocations: 454.5 kB / 0.6595 GB, free: 33.79 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/2.104, allocations: 7.47 MB / 0.6668 GB, free: 26.28 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01609/2.12, allocations: 6.126 MB / 0.6728 GB, free: 20.13 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/2.121, allocations: 12 kB / 0.6728 GB, free: 20.12 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.151e-05/2.121, allocations: 19.92 kB / 0.6728 GB, free: 20.1 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04466/2.165, allocations: 16.54 MB / 0.689 GB, free: 3.539 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-05/2.165, allocations: 0 / 0.689 GB, free: 3.539 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006319/2.172, allocations: 0.7412 MB / 0.6897 GB, free: 2.797 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005761/2.178, allocations: 1.238 MB / 0.6909 GB, free: 1.559 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008458/2.178, allocations: 83.98 kB / 0.691 GB, free: 1.477 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0248/2.203, allocations: 9.628 MB / 0.7004 GB, free: 7.723 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/2.203, allocations: 0 / 0.7004 GB, free: 7.723 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03087/2.234, allocations: 10.72 MB / 0.7109 GB, free: 12.94 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003991/2.238, allocations: 1.065 MB / 0.7119 GB, free: 11.85 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/2.24, allocations: 72 kB / 0.712 GB, free: 11.78 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005194/2.245, allocations: 259.8 kB / 0.7122 GB, free: 11.53 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/2.246, allocations: 271.6 kB / 0.7125 GB, free: 11.26 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005759/2.247, allocations: 116 kB / 0.7126 GB, free: 11.15 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.007644/2.255, allocations: 2.846 MB / 0.7154 GB, free: 8.293 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.61e-07/2.255, allocations: 0 / 0.7154 GB, free: 8.293 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01033/2.265, allocations: 1.845 MB / 0.7172 GB, free: 6.453 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (367): * Single equations (assignments): 362 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03217/2.297, allocations: 11.46 MB / 0.7283 GB, free: 10.94 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02355/2.321, allocations: 8.019 MB / 0.7362 GB, free: 2.906 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/2.321, allocations: 2 kB / 0.7362 GB, free: 2.906 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2915/2.613, allocations: 3.706 MB / 0.7398 GB, free: 185.9 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007893/2.62, allocations: 0.98 MB / 0.7408 GB, free: 185.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1563/2.777, allocations: 54.25 MB / 0.7937 GB, free: 148 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01314/2.79, allocations: 7.204 MB / 0.8008 GB, free: 140.8 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01098/2.801, allocations: 2.256 MB / 0.803 GB, free: 138.5 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00823/2.809, allocations: 3.862 MB / 0.8067 GB, free: 134.6 MB / 474.8 MB Notification: Performance of SimCode: time 1.433e-06/2.809, allocations: 3.938 kB / 0.8068 GB, free: 134.6 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5662/3.376, allocations: 135.8 MB / 0.9393 GB, free: 155 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/3.376, allocations: 272.2 kB / 0.9396 GB, free: 154.6 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/10.32, allocations: 0 / 0.9396 GB, free: 154.6 MB / 474.8 MB