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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09401, allocations: 44.51 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5252/0.6193, allocations: 125.9 MB / 435 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003752/0.6197, allocations: 104.6 kB / 435.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.802/2.422, allocations: 381.5 MB / 0.7975 GB, free: 47.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.896e-06/2.422, allocations: 1.5 kB / 0.7975 GB, free: 47.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008997/2.423, allocations: 236.7 kB / 0.7977 GB, free: 47.88 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.05274/2.475, allocations: 10.78 MB / 0.8082 GB, free: 40.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/2.475, allocations: 8.031 kB / 0.8082 GB, free: 40.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05311/2.528, allocations: 6.323 MB / 0.8144 GB, free: 33.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03028/2.559, allocations: 8.784 MB / 0.823 GB, free: 25.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001465/2.56, allocations: 0.7983 MB / 0.8238 GB, free: 24.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00584/2.566, allocations: 1.026 MB / 0.8248 GB, free: 23.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06613/2.632, allocations: 19.24 MB / 0.8435 GB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006074/2.633, allocations: 15.91 kB / 0.8436 GB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005071/2.638, allocations: 455.9 kB / 0.844 GB, free: 3.258 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001608/2.64, allocations: 0.815 MB / 0.8448 GB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4453/3.085, allocations: 18.11 MB / 0.8625 GB, free: 43.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1694/3.255, allocations: 61.29 MB / 0.9223 GB, free: 29.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0578/3.312, allocations: 25.08 MB / 0.9468 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1158/3.428, allocations: 26.77 MB / 0.973 GB, free: 0 / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/3.429, allocations: 111.9 kB / 0.9731 GB, free: 15.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=834): time 2.234e-05/3.429, allocations: 0 / 0.9731 GB, free: 15.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=840): time 0.6896/4.118, allocations: 49.74 MB / 1.022 GB, free: 71.28 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/4.118, allocations: 122.8 kB / 1.022 GB, free: 71.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008353/4.127, allocations: 3.045 MB / 1.025 GB, free: 70.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002001/4.129, allocations: 141.4 kB / 1.025 GB, free: 70.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003447/4.132, allocations: 3.851 MB / 1.029 GB, free: 70.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004865/4.137, allocations: 2.762 MB / 1.031 GB, free: 68.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00213/4.139, allocations: 141.9 kB / 1.031 GB, free: 68.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001178/4.141, allocations: 0.6367 MB / 1.032 GB, free: 68.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01642/4.157, allocations: 5.593 MB / 1.038 GB, free: 68.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01846/4.176, allocations: 7.062 MB / 1.044 GB, free: 66.67 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/4.193, allocations: 6.736 MB / 1.051 GB, free: 66.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.931e-05/4.194, allocations: 10.81 kB / 1.051 GB, free: 66.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.04811/4.242, allocations: 16.24 MB / 1.067 GB, free: 66.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/4.242, allocations: 23.72 kB / 1.067 GB, free: 66.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/4.242, allocations: 35.25 kB / 1.067 GB, free: 66.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01588/4.258, allocations: 5.025 MB / 1.072 GB, free: 65.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/4.269, allocations: 1.343 MB / 1.073 GB, free: 65.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0221/4.291, allocations: 12.36 MB / 1.085 GB, free: 62.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008418/4.299, allocations: 432.8 kB / 1.086 GB, free: 62.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/4.302, allocations: 316.3 kB / 1.086 GB, free: 62.71 MB / 458.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.01221/4.314, allocations: 4.139 MB / 1.09 GB, free: 61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002462/4.317, allocations: 0.4995 MB / 1.09 GB, free: 60.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04868/4.365, allocations: 16.04 MB / 1.106 GB, free: 53.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03803/4.403, allocations: 14.45 MB / 1.12 GB, free: 47.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/4.404, allocations: 0 / 1.12 GB, free: 47.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001595/4.404, allocations: 39.23 kB / 1.12 GB, free: 47.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08052/4.484, allocations: 30.88 MB / 1.15 GB, free: 27.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.735e-05/4.484, allocations: 0 / 1.15 GB, free: 27.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0089/4.493, allocations: 1.02 MB / 1.151 GB, free: 26.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0148/4.508, allocations: 4.836 MB / 1.156 GB, free: 22.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002002/4.51, allocations: 182.2 kB / 1.156 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02064/4.531, allocations: 12.18 MB / 1.168 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/4.531, allocations: 4 kB / 1.168 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4119/4.943, allocations: 24.04 MB / 1.192 GB, free: 81.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007251/4.95, allocations: 1.805 MB / 1.193 GB, free: 81.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00364/4.954, allocations: 118.5 kB / 1.194 GB, free: 81.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007848/4.962, allocations: 374.1 kB / 1.194 GB, free: 81.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003376/4.965, allocations: 0.6032 MB / 1.195 GB, free: 81.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002305/4.967, allocations: 223 kB / 1.195 GB, free: 81.78 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006117/4.974, allocations: 2.047 MB / 1.197 GB, free: 81.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.02e-07/4.974, allocations: 0 / 1.197 GB, free: 81.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01252/4.986, allocations: 1.99 MB / 1.199 GB, free: 81.63 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.003234/4.989, allocations: 0.5756 MB / 1.199 GB, free: 81.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03898/5.028, allocations: 13.62 MB / 1.213 GB, free: 81.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/5.028, allocations: 3.344 kB / 1.213 GB, free: 81.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02228/5.051, allocations: 7.098 MB / 1.219 GB, free: 81.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009821/5.061, allocations: 0.9833 MB / 1.22 GB, free: 81.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0704/5.131, allocations: 27.95 MB / 1.248 GB, free: 71.99 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01701/5.148, allocations: 7.382 MB / 1.255 GB, free: 70.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0117/5.16, allocations: 1.848 MB / 1.257 GB, free: 70.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003376/5.163, allocations: 378.9 kB / 1.257 GB, free: 70.73 MB / 474.7 MB Notification: Performance of SimCode: time 1.293e-06/5.163, allocations: 0 / 1.257 GB, free: 70.73 MB / 474.7 MB Notification: Performance of Templates: time 0.6648/5.828, allocations: 130.7 MB / 1.385 GB, free: 76.73 MB / 474.7 MB