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.974/1.974, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005207/0.0005207, allocations: 8 kB / 264.1 MB, free: 3.445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3082, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5244/0.8326, allocations: 125.9 MB / 434.5 MB, free: 50.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.833, allocations: 107.2 kB / 434.6 MB, free: 50.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.808/2.641, allocations: 381.5 MB / 0.797 GB, free: 46.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.426e-06/2.641, allocations: 0 / 0.797 GB, free: 46.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008297/2.642, allocations: 241.7 kB / 0.7972 GB, free: 46.11 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05209/2.694, allocations: 10.8 MB / 0.8078 GB, free: 42.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/2.694, allocations: 11.41 kB / 0.8078 GB, free: 42.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009519/2.704, allocations: 1.823 MB / 0.8096 GB, free: 42.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05232/2.756, allocations: 6.322 MB / 0.8157 GB, free: 41.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03104/2.787, allocations: 8.783 MB / 0.8243 GB, free: 40.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001398/2.789, allocations: 0.797 MB / 0.8251 GB, free: 40.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006078/2.795, allocations: 1.028 MB / 0.8261 GB, free: 40.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06459/2.859, allocations: 19.24 MB / 0.8449 GB, free: 30.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000606/2.86, allocations: 15.81 kB / 0.8449 GB, free: 30.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005889/2.866, allocations: 453.4 kB / 0.8453 GB, free: 30.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001454/2.868, allocations: 0.8239 MB / 0.8461 GB, free: 29.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05579/2.923, allocations: 18.12 MB / 0.8638 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5301/3.454, allocations: 61.28 MB / 0.9237 GB, free: 29.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04028/3.494, allocations: 25.09 MB / 0.9482 GB, free: 32.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07591/3.57, allocations: 26.53 MB / 0.9741 GB, free: 24.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/3.57, allocations: 106.3 kB / 0.9742 GB, free: 24.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=834): time 1.358e-05/3.57, allocations: 0 / 0.9742 GB, free: 24.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=840): time 0.1797/3.75, allocations: 48.53 MB / 1.022 GB, free: 1.941 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/3.75, allocations: 130.3 kB / 1.022 GB, free: 1.867 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00762/3.757, allocations: 2.696 MB / 1.024 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002033/3.76, allocations: 137.7 kB / 1.024 GB, free: 444 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005621/3.765, allocations: 3.935 MB / 1.028 GB, free: 13.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00557/3.771, allocations: 2.766 MB / 1.031 GB, free: 10.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002093/3.773, allocations: 144 kB / 1.031 GB, free: 10.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001136/3.774, allocations: 0.6417 MB / 1.032 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01686/3.791, allocations: 5.587 MB / 1.037 GB, free: 5.355 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01935/3.81, allocations: 7.07 MB / 1.044 GB, free: 14.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02044/3.831, allocations: 6.737 MB / 1.051 GB, free: 8.727 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.38e-05/3.831, allocations: 12 kB / 1.051 GB, free: 8.715 MB / 474.7 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.4633/4.294, allocations: 17.29 MB / 1.068 GB, free: 88.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/4.294, allocations: 22.66 kB / 1.068 GB, free: 88.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/4.295, allocations: 37 kB / 1.068 GB, free: 88.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/4.311, allocations: 5.016 MB / 1.073 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/4.323, allocations: 1.345 MB / 1.074 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03439/4.357, allocations: 12.37 MB / 1.086 GB, free: 85.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01305/4.37, allocations: 426.8 kB / 1.086 GB, free: 85.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003516/4.374, allocations: 316.9 kB / 1.087 GB, free: 85.37 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * 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 (706): * Single equations (assignments): 640 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * 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,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.01835/4.392, allocations: 4.139 MB / 1.091 GB, free: 85.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004271/4.397, allocations: 0.493 MB / 1.091 GB, free: 85.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0742/4.471, allocations: 16.06 MB / 1.107 GB, free: 84.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05883/4.53, allocations: 14.45 MB / 1.121 GB, free: 84.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/4.53, allocations: 1.062 kB / 1.121 GB, free: 84.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001878/4.53, allocations: 34.88 kB / 1.121 GB, free: 84.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08294/4.613, allocations: 30.88 MB / 1.151 GB, free: 70.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-05/4.613, allocations: 0 / 1.151 GB, free: 70.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008941/4.622, allocations: 1.025 MB / 1.152 GB, free: 70.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01545/4.638, allocations: 4.825 MB / 1.157 GB, free: 69.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002192/4.64, allocations: 182.1 kB / 1.157 GB, free: 69.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/4.661, allocations: 12.19 MB / 1.169 GB, free: 62.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/4.661, allocations: 0 / 1.169 GB, free: 62.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0649/4.726, allocations: 23.95 MB / 1.192 GB, free: 44.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007256/4.733, allocations: 1.806 MB / 1.194 GB, free: 42.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003435/4.737, allocations: 116 kB / 1.194 GB, free: 42.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007768/4.745, allocations: 373.3 kB / 1.195 GB, free: 42.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00321/4.748, allocations: 0.5981 MB / 1.195 GB, free: 41.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002107/4.75, allocations: 221.1 kB / 1.195 GB, free: 41.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005236/4.755, allocations: 2.044 MB / 1.197 GB, free: 39.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.11e-07/4.755, allocations: 0 / 1.197 GB, free: 39.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01252/4.768, allocations: 1.995 MB / 1.199 GB, free: 37.85 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * 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 (540): * Single equations (assignments): 474 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * 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,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.06919/4.837, allocations: 25.06 MB / 1.224 GB, free: 15.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3915/5.229, allocations: 13.69 MB / 1.237 GB, free: 92.61 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/5.229, allocations: 3.25 kB / 1.237 GB, free: 92.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02206/5.251, allocations: 7.097 MB / 1.244 GB, free: 92.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009684/5.26, allocations: 0.9718 MB / 1.245 GB, free: 92.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1889/5.449, allocations: 94.05 MB / 1.337 GB, free: 46.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0164/5.466, allocations: 7.377 MB / 1.344 GB, free: 43.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01174/5.478, allocations: 1.853 MB / 1.346 GB, free: 43.19 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01097/5.489, allocations: 3.893 MB / 1.35 GB, free: 39.89 MB / 474.7 MB Notification: Performance of SimCode: time 2.314e-06/5.489, allocations: 0 / 1.35 GB, free: 39.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7767/6.265, allocations: 203 MB / 1.548 GB, free: 31.69 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/6.266, allocations: 281.6 kB / 1.548 GB, free: 31.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.366/15.63, allocations: 3.906 kB / 1.548 GB, free: 31.32 MB / 474.7 MB