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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005197, allocations: 11.94 kB / 264.6 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 44.5 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.5909, allocations: 126.5 MB / 435.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/0.5914, allocations: 110.4 kB / 435.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.706/2.297, allocations: 353.2 MB / 0.7704 GB, free: 53.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.306e-06/2.297, allocations: 0 / 0.7704 GB, free: 53.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001087/2.298, allocations: 219.6 kB / 0.7706 GB, free: 53.52 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.04938/2.348, allocations: 10.11 MB / 0.7805 GB, free: 50.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/2.348, allocations: 7.344 kB / 0.7805 GB, free: 50.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04209/2.39, allocations: 4.949 MB / 0.7853 GB, free: 49.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02942/2.419, allocations: 8.204 MB / 0.7934 GB, free: 47.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001275/2.421, allocations: 0.7069 MB / 0.7941 GB, free: 46.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005182/2.426, allocations: 0.9201 MB / 0.7949 GB, free: 46.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05511/2.481, allocations: 17.13 MB / 0.8117 GB, free: 34.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005281/2.482, allocations: 10.81 kB / 0.8117 GB, free: 34.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004529/2.486, allocations: 403 kB / 0.8121 GB, free: 34.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001159/2.487, allocations: 0.7071 MB / 0.8128 GB, free: 33.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04689/2.534, allocations: 15.81 MB / 0.8282 GB, free: 19.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5212/3.055, allocations: 55.3 MB / 0.8822 GB, free: 37.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03529/3.091, allocations: 19.31 MB / 0.9011 GB, free: 45.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06501/3.156, allocations: 24.88 MB / 0.9254 GB, free: 39.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.318e-05/3.156, allocations: 102.2 kB / 0.9255 GB, free: 39.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=749): time 1.271e-05/3.156, allocations: 2.844 kB / 0.9255 GB, free: 39.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=754): time 0.18/3.336, allocations: 46.2 MB / 0.9706 GB, free: 17.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/3.336, allocations: 117.2 kB / 0.9707 GB, free: 17.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009272/3.345, allocations: 3.578 MB / 0.9742 GB, free: 16.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001849/3.347, allocations: 119.4 kB / 0.9743 GB, free: 16.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003151/3.351, allocations: 3.608 MB / 0.9778 GB, free: 13.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004133/3.355, allocations: 2.472 MB / 0.9802 GB, free: 11.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/3.357, allocations: 128.5 kB / 0.9804 GB, free: 11.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009978/3.358, allocations: 0.6056 MB / 0.9809 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01449/3.372, allocations: 5.095 MB / 0.9859 GB, free: 9.062 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01742/3.39, allocations: 6.342 MB / 0.9921 GB, free: 4.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02327/3.413, allocations: 6.413 MB / 0.9984 GB, free: 15.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.865e-05/3.413, allocations: 8 kB / 0.9984 GB, free: 15.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.06897/3.482, allocations: 14.64 MB / 1.013 GB, free: 3.082 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/3.482, allocations: 51.83 kB / 1.013 GB, free: 3.027 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/3.482, allocations: 32 kB / 1.013 GB, free: 2.996 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4225/3.905, allocations: 4.117 MB / 1.017 GB, free: 84.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01316/3.918, allocations: 1.182 MB / 1.018 GB, free: 84.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02992/3.948, allocations: 12.58 MB / 1.03 GB, free: 80.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00935/3.957, allocations: 371.8 kB / 1.031 GB, free: 80.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002301/3.96, allocations: 285.6 kB / 1.031 GB, free: 80.12 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.01187/3.972, allocations: 3.863 MB / 1.035 GB, free: 80.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002176/3.974, allocations: 495.1 kB / 1.035 GB, free: 80.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.043/4.017, allocations: 14.34 MB / 1.049 GB, free: 79.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03715/4.054, allocations: 12.84 MB / 1.062 GB, free: 79.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/4.054, allocations: 0 / 1.062 GB, free: 79.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001827/4.054, allocations: 34.17 kB / 1.062 GB, free: 79.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08033/4.135, allocations: 28.2 MB / 1.089 GB, free: 69.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001307/4.135, allocations: 0 / 1.089 GB, free: 69.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008174/4.143, allocations: 0.8905 MB / 1.09 GB, free: 69.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/4.157, allocations: 3.95 MB / 1.094 GB, free: 67.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002031/4.159, allocations: 164.6 kB / 1.094 GB, free: 67.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/4.18, allocations: 12.48 MB / 1.106 GB, free: 59.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/4.18, allocations: 0 / 1.106 GB, free: 59.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05882/4.239, allocations: 21.56 MB / 1.127 GB, free: 48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006696/4.246, allocations: 1.733 MB / 1.129 GB, free: 46.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00313/4.249, allocations: 108 kB / 1.129 GB, free: 46.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007077/4.256, allocations: 305 kB / 1.129 GB, free: 46.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002909/4.259, allocations: 0.5453 MB / 1.13 GB, free: 45.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002099/4.261, allocations: 204.3 kB / 1.13 GB, free: 45.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006495/4.267, allocations: 2.45 MB / 1.133 GB, free: 43.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.32e-07/4.268, allocations: 0 / 1.133 GB, free: 43.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01189/4.279, allocations: 1.819 MB / 1.134 GB, free: 41.8 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.003323/4.283, allocations: 0.688 MB / 1.135 GB, free: 41.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03553/4.318, allocations: 12.5 MB / 1.147 GB, free: 30.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/4.318, allocations: 2.531 kB / 1.147 GB, free: 30.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01989/4.338, allocations: 6.484 MB / 1.154 GB, free: 24.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009186/4.348, allocations: 0.9079 MB / 1.154 GB, free: 24.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4107/4.758, allocations: 26.05 MB / 1.18 GB, free: 76.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01727/4.776, allocations: 6.827 MB / 1.187 GB, free: 75.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01164/4.787, allocations: 1.665 MB / 1.188 GB, free: 75.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00357/4.791, allocations: 352.5 kB / 1.188 GB, free: 75.29 MB / 458.7 MB Notification: Performance of SimCode: time 1.472e-06/4.791, allocations: 0 / 1.188 GB, free: 75.29 MB / 458.7 MB Notification: Performance of Templates: time 0.2858/5.077, allocations: 120 MB / 1.306 GB, free: 28.24 MB / 458.7 MB