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 1.925/1.925, allocations: 194.9 MB / 211.1 MB, free: 8.746 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003389, allocations: 12 kB / 265.4 MB, free: 2.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2823, allocations: 44.51 MB / 309.9 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.05183/0.3342, allocations: 30.18 MB / 340.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02618/0.3604, allocations: 9.353 MB / 349.5 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00718/0.3677, allocations: 207.2 kB / 349.7 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009143/0.3769, allocations: 1.959 MB / 351.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01635/0.3933, allocations: 3.537 MB / 355.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008911/0.4022, allocations: 1.609 MB / 356.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.03417/0.4364, allocations: 14.23 MB / 371 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06654/0.503, allocations: 24.27 MB / 395.3 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0132/0.5163, allocations: 5.853 MB / 401.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01587/0.5322, allocations: 6.6 MB / 407.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004548/0.5368, allocations: 0.9609 MB / 408.7 MB, free: 9.531 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007581/0.5444, allocations: 1.253 MB / 409.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00647/0.5509, allocations: 3.029 MB / 413 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006903/0.5579, allocations: 3.17 MB / 416.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.596/1.154, allocations: 27.88 MB / 444 MB, free: 25.3 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.154, allocations: 0 / 444 MB, free: 25.3 MB / 346.8 MB Notification: Performance of FrontEnd: time 3.286e-06/1.154, allocations: 0 / 444 MB, free: 25.3 MB / 346.8 MB Notification: Performance of Transformations before backend: time 0.0009906/1.155, allocations: 2.75 kB / 444 MB, free: 25.3 MB / 346.8 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.06961/1.225, allocations: 16.16 MB / 460.2 MB, free: 17.44 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.225, allocations: 11.97 kB / 460.2 MB, free: 17.44 MB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009254/1.234, allocations: 2.031 MB / 462.2 MB, free: 16.94 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07983/1.314, allocations: 9.648 MB / 471.9 MB, free: 11.47 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02774/1.342, allocations: 9.306 MB / 481.2 MB, free: 6.062 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001354/1.343, allocations: 1.065 MB / 482.2 MB, free: 5.457 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00693/1.35, allocations: 1.405 MB / 483.6 MB, free: 4.523 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08131/1.431, allocations: 23.36 MB / 0.4951 GB, free: 5.41 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009931/1.432, allocations: 19 kB / 0.4951 GB, free: 5.395 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007161/1.44, allocations: 0.5894 MB / 0.4957 GB, free: 4.824 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001978/1.442, allocations: 0.799 MB / 0.4965 GB, free: 4.023 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08941/1.531, allocations: 22.13 MB / 0.5181 GB, free: 13.89 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4957/2.027, allocations: 75.18 MB / 0.5915 GB, free: 98.59 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04373/2.071, allocations: 38.05 MB / 0.6287 GB, free: 69.91 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04725/2.118, allocations: 17.64 MB / 0.6459 GB, free: 62.01 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.266e-05/2.118, allocations: 98.06 kB / 0.646 GB, free: 61.93 MB / 426.8 MB Notification: Performance of pre-optimization done (n=589): time 1.006e-05/2.118, allocations: 0 / 0.646 GB, free: 61.93 MB / 426.8 MB Notification: Performance of matching and sorting (n=597): time 0.1566/2.275, allocations: 36.59 MB / 0.6817 GB, free: 27.38 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/2.275, allocations: 146.5 kB / 0.6819 GB, free: 27.21 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01363/2.288, allocations: 5.954 MB / 0.6877 GB, free: 21.24 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001289/2.29, allocations: 121.7 kB / 0.6878 GB, free: 21.11 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004628/2.294, allocations: 6.111 MB / 0.6938 GB, free: 14.96 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002741/2.297, allocations: 2.022 MB / 0.6957 GB, free: 12.96 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/2.298, allocations: 172 kB / 0.6959 GB, free: 12.79 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0006383/2.299, allocations: 0.6373 MB / 0.6965 GB, free: 12.15 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01129/2.31, allocations: 4.248 MB / 0.7007 GB, free: 7.891 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01428/2.325, allocations: 7.137 MB / 0.7077 GB, free: 15.42 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01671/2.341, allocations: 5.692 MB / 0.7132 GB, free: 9.719 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/2.342, allocations: 28 kB / 0.7132 GB, free: 9.691 MB / 442.8 MB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.04756/2.389, allocations: 14.3 MB / 0.7272 GB, free: 11.33 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/2.389, allocations: 53.67 kB / 0.7273 GB, free: 11.28 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/2.39, allocations: 92.91 kB / 0.7273 GB, free: 11.19 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01372/2.403, allocations: 2.781 MB / 0.7301 GB, free: 8.387 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01332/2.417, allocations: 1.7 MB / 0.7317 GB, free: 6.688 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3822/2.799, allocations: 30.28 MB / 0.7613 GB, free: 136.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/2.809, allocations: 443.8 kB / 0.7617 GB, free: 136.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002172/2.811, allocations: 394.1 kB / 0.7621 GB, free: 136.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (887): * Single equations (assignments): 880 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * 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: 6 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(24,33.0%) 96} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01557/2.827, allocations: 5.426 MB / 0.7674 GB, free: 134 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002569/2.83, allocations: 0.6428 MB / 0.768 GB, free: 134 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03719/2.867, allocations: 11.67 MB / 0.7794 GB, free: 129.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.363e-05/2.867, allocations: 70.23 kB / 0.7795 GB, free: 129.2 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.11e-05/2.867, allocations: 27.5 kB / 0.7795 GB, free: 129.2 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001519/2.867, allocations: 30.75 kB / 0.7795 GB, free: 129.2 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07182/2.939, allocations: 24.55 MB / 0.8035 GB, free: 112.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.1e-05/2.939, allocations: 10 kB / 0.8035 GB, free: 112.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008013/2.947, allocations: 0.8835 MB / 0.8044 GB, free: 111.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01304/2.96, allocations: 2.807 MB / 0.8071 GB, free: 108.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001613/2.962, allocations: 133.5 kB / 0.8073 GB, free: 108.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06089/3.023, allocations: 32.87 MB / 0.8394 GB, free: 75.21 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/3.023, allocations: 15.89 kB / 0.8394 GB, free: 75.19 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04443/3.067, allocations: 17.02 MB / 0.856 GB, free: 57.96 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006036/3.073, allocations: 1.589 MB / 0.8575 GB, free: 56.35 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003011/3.076, allocations: 124 kB / 0.8577 GB, free: 56.23 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007997/3.084, allocations: 315.7 kB / 0.858 GB, free: 55.92 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002661/3.087, allocations: 0.501 MB / 0.8584 GB, free: 55.42 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001539/3.089, allocations: 176 kB / 0.8586 GB, free: 55.25 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01036/3.099, allocations: 4.006 MB / 0.8625 GB, free: 51.24 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.072e-06/3.099, allocations: 0 / 0.8625 GB, free: 51.24 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01479/3.114, allocations: 2.598 MB / 0.8651 GB, free: 48.64 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (454): * Single equations (assignments): 446 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 8 {(1,100.0%) 1,(24,33.0%) 96,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04529/3.159, allocations: 17.81 MB / 0.8825 GB, free: 30.51 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02972/3.189, allocations: 12.01 MB / 0.8942 GB, free: 18.4 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/3.189, allocations: 0 / 0.8942 GB, free: 18.4 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01895/3.208, allocations: 7.065 MB / 0.9011 GB, free: 11.24 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3121/3.52, allocations: 1.566 MB / 0.9026 GB, free: 164.4 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2552/3.776, allocations: 81.51 MB / 0.9822 GB, free: 108.1 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0189/3.795, allocations: 9.373 MB / 0.9914 GB, free: 98.93 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01373/3.808, allocations: 2.633 MB / 0.9939 GB, free: 96.29 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01124/3.82, allocations: 5.186 MB / 0.999 GB, free: 91.11 MB / 458.8 MB Notification: Performance of SimCode: time 1.382e-06/3.82, allocations: 4 kB / 0.999 GB, free: 91.1 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7398/4.559, allocations: 201.2 MB / 1.196 GB, free: 41.46 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/4.56, allocations: 249.1 kB / 1.196 GB, free: 41.13 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.668/14.23, allocations: 0 / 1.196 GB, free: 41.13 MB / 458.8 MB