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_YD.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.IMC_YD,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 8 kB / 265.4 MB, free: 2.125 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.298, allocations: 44.5 MB / 309.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5473/0.8454, allocations: 147.8 MB / 457.7 MB, free: 43.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/0.8458, allocations: 106.7 kB / 457.8 MB, free: 43.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.66/3.506, allocations: 468.3 MB / 0.9044 GB, free: 27.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.666e-06/3.506, allocations: 0 / 0.9044 GB, free: 27.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001213/3.507, allocations: 329.6 kB / 0.9047 GB, free: 27.82 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.07302/3.58, allocations: 14.42 MB / 0.9188 GB, free: 23.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/3.58, allocations: 7.781 kB / 0.9188 GB, free: 23.34 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01111/3.592, allocations: 2.031 MB / 0.9208 GB, free: 23.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05519/3.647, allocations: 6.747 MB / 0.9274 GB, free: 22.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04277/3.69, allocations: 11.51 MB / 0.9386 GB, free: 21.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002054/3.692, allocations: 1.045 MB / 0.9397 GB, free: 21.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008216/3.7, allocations: 1.357 MB / 0.941 GB, free: 21.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08439/3.784, allocations: 24.1 MB / 0.9645 GB, free: 19.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009265/3.785, allocations: 21.47 kB / 0.9645 GB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00675/3.792, allocations: 0.5851 MB / 0.9651 GB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00154/3.794, allocations: 0.9364 MB / 0.966 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06881/3.863, allocations: 22.05 MB / 0.9876 GB, free: 17.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6316/4.494, allocations: 77.45 MB / 1.063 GB, free: 49.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04833/4.543, allocations: 30.76 MB / 1.093 GB, free: 33.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09486/4.638, allocations: 32.67 MB / 1.125 GB, free: 32.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/4.638, allocations: 124.7 kB / 1.125 GB, free: 32.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1021): time 1.718e-05/4.638, allocations: 1.469 kB / 1.125 GB, free: 32.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=1029): time 0.5689/5.207, allocations: 94.38 MB / 1.217 GB, free: 11.67 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/5.207, allocations: 168.7 kB / 1.218 GB, free: 11.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/5.219, allocations: 4.326 MB / 1.222 GB, free: 7.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002592/5.221, allocations: 169.7 kB / 1.222 GB, free: 7.668 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004626/5.226, allocations: 5.175 MB / 1.227 GB, free: 3.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00577/5.232, allocations: 3.381 MB / 1.23 GB, free: 36 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003247/5.235, allocations: 211.4 kB / 1.231 GB, free: 0 / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001499/5.237, allocations: 0.7048 MB / 1.231 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02112/5.258, allocations: 6.835 MB / 1.238 GB, free: 9.547 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02388/5.282, allocations: 8.547 MB / 1.246 GB, free: 1.516 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4579/5.74, allocations: 9.183 MB / 1.255 GB, free: 68.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.65e-05/5.74, allocations: 14.5 kB / 1.255 GB, free: 68.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.06856/5.809, allocations: 21.29 MB / 1.276 GB, free: 67.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.881e-05/5.809, allocations: 28.91 kB / 1.276 GB, free: 67.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/5.809, allocations: 42.41 kB / 1.276 GB, free: 67.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04241/5.851, allocations: 8.516 MB / 1.284 GB, free: 67.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01213/5.864, allocations: 1.409 MB / 1.286 GB, free: 67.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05446/5.918, allocations: 28.15 MB / 1.313 GB, free: 59.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/5.929, allocations: 429.5 kB / 1.314 GB, free: 59.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003391/5.933, allocations: 375.1 kB / 1.314 GB, free: 59.48 MB / 490.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: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.01816/5.951, allocations: 5.36 MB / 1.319 GB, free: 59.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004308/5.955, allocations: 0.6938 MB / 1.32 GB, free: 59.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06639/6.022, allocations: 21.43 MB / 1.341 GB, free: 53.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004071/6.022, allocations: 251 kB / 1.341 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.89e-05/6.022, allocations: 9.25 kB / 1.341 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002244/6.023, allocations: 43.83 kB / 1.341 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1478/6.17, allocations: 40.45 MB / 1.381 GB, free: 35.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002194/6.171, allocations: 3.625 kB / 1.381 GB, free: 35.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0116/6.182, allocations: 0.9849 MB / 1.382 GB, free: 35.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03101/6.213, allocations: 8.607 MB / 1.39 GB, free: 29.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002642/6.216, allocations: 224.4 kB / 1.39 GB, free: 29.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0588/6.275, allocations: 32.53 MB / 1.422 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/6.275, allocations: 5.781 kB / 1.422 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5073/6.782, allocations: 32.09 MB / 1.453 GB, free: 74.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009694/6.792, allocations: 2.365 MB / 1.456 GB, free: 74.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004382/6.796, allocations: 160.4 kB / 1.456 GB, free: 74.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0101/6.807, allocations: 395.4 kB / 1.456 GB, free: 74.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004419/6.811, allocations: 0.7959 MB / 1.457 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00324/6.814, allocations: 271 kB / 1.457 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009891/6.824, allocations: 3.309 MB / 1.46 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.42e-07/6.824, allocations: 0 / 1.46 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0168/6.841, allocations: 2.659 MB / 1.463 GB, free: 74.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (520): * Single equations (assignments): 490 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.09352/6.935, allocations: 33.71 MB / 1.496 GB, free: 71.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.05017/6.985, allocations: 17.8 MB / 1.513 GB, free: 69.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/6.985, allocations: 0 / 1.513 GB, free: 69.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.03124/7.016, allocations: 10.35 MB / 1.523 GB, free: 65.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01529/7.032, allocations: 1.569 MB / 1.525 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7471/7.779, allocations: 127.1 MB / 1.649 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02385/7.803, allocations: 9.514 MB / 1.658 GB, free: 86.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01362/7.816, allocations: 2.001 MB / 1.66 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01777/7.834, allocations: 5.181 MB / 1.665 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of SimCode: time 2.255e-06/7.834, allocations: 0 / 1.665 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.012/8.846, allocations: 285.4 MB / 1.944 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/8.846, allocations: 261.1 kB / 1.944 GB, free: 33.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/21.07, allocations: 0 / 1.944 GB, free: 33.92 MB / 0.5105 GB