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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 2.212/2.212, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004805, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09745, allocations: 44.48 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5093/0.6068, allocations: 141.1 MB / 450.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004131/0.6073, allocations: 105.6 kB / 450.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.816/2.423, allocations: 352 MB / 0.7834 GB, free: 51.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.549e-06/2.423, allocations: 0 / 0.7834 GB, free: 51.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001625/2.425, allocations: 248.7 kB / 0.7836 GB, free: 51.21 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.05527/2.48, allocations: 10.94 MB / 0.7943 GB, free: 47.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/2.48, allocations: 9.906 kB / 0.7943 GB, free: 47.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04633/2.527, allocations: 5.409 MB / 0.7996 GB, free: 46.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03243/2.559, allocations: 9.43 MB / 0.8088 GB, free: 38.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001248/2.561, allocations: 0.7944 MB / 0.8096 GB, free: 37.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005425/2.566, allocations: 1.035 MB / 0.8106 GB, free: 36.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05977/2.626, allocations: 17.93 MB / 0.8281 GB, free: 20.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006474/2.627, allocations: 27.73 kB / 0.8281 GB, free: 20.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004898/2.631, allocations: 455.6 kB / 0.8286 GB, free: 19.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001123/2.633, allocations: 0.7327 MB / 0.8293 GB, free: 19.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05629/2.689, allocations: 16.73 MB / 0.8456 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5044/3.193, allocations: 58.32 MB / 0.9026 GB, free: 36.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03665/3.23, allocations: 23.49 MB / 0.9255 GB, free: 18.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06193/3.292, allocations: 21.62 MB / 0.9466 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/3.292, allocations: 99.25 kB / 0.9467 GB, free: 7.441 MB / 426.7 MB Notification: Performance of pre-optimization done (n=672): time 1.142e-05/3.292, allocations: 1.875 kB / 0.9467 GB, free: 7.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=697): time 0.1621/3.454, allocations: 39.11 MB / 0.9849 GB, free: 3.887 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/3.455, allocations: 143 kB / 0.9851 GB, free: 3.781 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/3.466, allocations: 4.045 MB / 0.989 GB, free: 2.258 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001691/3.468, allocations: 128.8 kB / 0.9891 GB, free: 2.145 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005801/3.473, allocations: 4.208 MB / 0.9932 GB, free: 14.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004798/3.478, allocations: 2.315 MB / 0.9955 GB, free: 13.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001884/3.48, allocations: 134.4 kB / 0.9956 GB, free: 13.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001039/3.481, allocations: 0.5931 MB / 0.9962 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01362/3.495, allocations: 4.575 MB / 1.001 GB, free: 9.527 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01655/3.512, allocations: 6.121 MB / 1.007 GB, free: 3.547 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3797/3.891, allocations: 5.899 MB / 1.012 GB, free: 78.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.329e-05/3.891, allocations: 9.812 kB / 1.012 GB, free: 78.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.04614/3.938, allocations: 14.02 MB / 1.026 GB, free: 78.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/3.938, allocations: 23.62 kB / 1.026 GB, free: 78.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/3.938, allocations: 43.66 kB / 1.026 GB, free: 78.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/3.953, allocations: 4.03 MB / 1.03 GB, free: 78.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0107/3.963, allocations: 1.317 MB / 1.031 GB, free: 78.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02819/3.992, allocations: 16.97 MB / 1.048 GB, free: 71.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008631/4, allocations: 357.3 kB / 1.048 GB, free: 71.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/4.003, allocations: 297.5 kB / 1.049 GB, free: 71.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 197 * 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 (675): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(7,59.2%) 28,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.01139/4.014, allocations: 3.924 MB / 1.052 GB, free: 71.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/4.016, allocations: 0.5311 MB / 1.053 GB, free: 71.58 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03766/4.054, allocations: 13.41 MB / 1.066 GB, free: 70.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002316/4.054, allocations: 155.3 kB / 1.066 GB, free: 70.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.626e-05/4.054, allocations: 10.27 kB / 1.066 GB, free: 70.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001523/4.054, allocations: 29.02 kB / 1.066 GB, free: 70.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07429/4.129, allocations: 26.92 MB / 1.093 GB, free: 58.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001247/4.129, allocations: 7.781 kB / 1.093 GB, free: 58.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007909/4.137, allocations: 0.8797 MB / 1.093 GB, free: 58.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01389/4.151, allocations: 3.912 MB / 1.097 GB, free: 56.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001783/4.152, allocations: 154 kB / 1.097 GB, free: 56.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02977/4.182, allocations: 20.91 MB / 1.118 GB, free: 41.51 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/4.182, allocations: 5.25 kB / 1.118 GB, free: 41.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05346/4.236, allocations: 19.85 MB / 1.137 GB, free: 28.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006419/4.242, allocations: 1.666 MB / 1.139 GB, free: 27.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00338/4.246, allocations: 112 kB / 1.139 GB, free: 27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007555/4.253, allocations: 312.4 kB / 1.139 GB, free: 26.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00277/4.256, allocations: 0.511 MB / 1.14 GB, free: 26.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001843/4.258, allocations: 187.1 kB / 1.14 GB, free: 26.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007924/4.266, allocations: 2.731 MB / 1.143 GB, free: 24 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.41e-07/4.266, allocations: 0.5625 kB / 1.143 GB, free: 24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01278/4.279, allocations: 1.991 MB / 1.144 GB, free: 22.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,imc.stator.zeroInductor.i0,loadInertia.w) * 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 (455): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002853/4.282, allocations: 0.562 MB / 1.145 GB, free: 21.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03276/4.314, allocations: 11.83 MB / 1.157 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/4.315, allocations: 0 / 1.157 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01913/4.334, allocations: 6.694 MB / 1.163 GB, free: 5.359 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01056/4.344, allocations: 1.184 MB / 1.164 GB, free: 4.441 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4464/4.791, allocations: 27.26 MB / 1.191 GB, free: 83.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01948/4.81, allocations: 7.123 MB / 1.198 GB, free: 82.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01172/4.822, allocations: 1.668 MB / 1.199 GB, free: 82.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003099/4.825, allocations: 384.2 kB / 1.2 GB, free: 82.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.794e-06/4.825, allocations: 0 / 1.2 GB, free: 82.62 MB / 474.7 MB Notification: Performance of Templates: time 0.2946/5.12, allocations: 121.3 MB / 1.318 GB, free: 28.87 MB / 474.7 MB