Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.FundamentalWave.Examples.BasicMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 194.8 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004748, allocations: 8 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3031, allocations: 44.51 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.0196/0.3227, allocations: 11.17 MB / 319.7 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.3339, allocations: 4.234 MB / 324 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.3364, allocations: 67.69 kB / 324 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.3401, allocations: 0.7968 MB / 324.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.3455, allocations: 1.195 MB / 326 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.3485, allocations: 0.6184 MB / 326.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008039/0.3566, allocations: 3.218 MB / 329.9 MB, free: 7.281 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00568/0.3623, allocations: 2.553 MB / 332.4 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.3656, allocations: 1.448 MB / 333.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/0.3699, allocations: 1.735 MB / 335.6 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.3712, allocations: 236 kB / 335.8 MB, free: 1.254 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.3734, allocations: 395.8 kB / 336.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.3752, allocations: 0.8683 MB / 337.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.3771, allocations: 0.8473 MB / 337.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.3875, allocations: 6.287 MB / 344.2 MB, free: 8.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3875, allocations: 0 / 344.2 MB, free: 8.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.3876, allocations: 0 / 344.2 MB, free: 8.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002243/0.3878, allocations: 4 kB / 344.2 MB, free: 8.832 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01738/0.4052, allocations: 4.28 MB / 348.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.4053, allocations: 8.031 kB / 348.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001974/0.4072, allocations: 0.5022 MB / 349 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007403/0.4147, allocations: 0.8849 MB / 349.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00798/0.4227, allocations: 2.534 MB / 352.4 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004287/0.4232, allocations: 275.2 kB / 352.7 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/0.4247, allocations: 359.9 kB / 353.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.4417, allocations: 4.986 MB / 358 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.4419, allocations: 7.844 kB / 358.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006993/0.4426, allocations: 148 kB / 358.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/0.4429, allocations: 159.2 kB / 358.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.4578, allocations: 4.377 MB / 362.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04316/0.501, allocations: 15.95 MB / 378.7 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/0.5141, allocations: 7.776 MB / 386.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.5257, allocations: 4.039 MB / 390.5 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/0.5258, allocations: 52.56 kB / 390.5 MB, free: 8.953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=167): time 5.16e-06/0.5258, allocations: 0 / 390.5 MB, free: 8.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.03097/0.5568, allocations: 8.332 MB / 398.9 MB, free: 420 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.5569, allocations: 69.41 kB / 398.9 MB, free: 340 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004917/0.5618, allocations: 2.092 MB / 401 MB, free: 14.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003582/0.5622, allocations: 57.7 kB / 401.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.564, allocations: 1.608 MB / 402.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009264/0.5649, allocations: 0.5737 MB / 403.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.5651, allocations: 40 kB / 403.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.5654, allocations: 381.8 kB / 403.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/0.5682, allocations: 0.9759 MB / 404.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/0.5717, allocations: 1.467 MB / 406.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.5752, allocations: 1.189 MB / 407.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/0.5752, allocations: 7.938 kB / 407.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.0102/0.5855, allocations: 3.394 MB / 410.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.5855, allocations: 12 kB / 410.7 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/0.5856, allocations: 16 kB / 410.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003244/0.5888, allocations: 0.7279 MB / 411.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/0.592, allocations: 391.3 kB / 411.9 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.271/0.863, allocations: 10.61 MB / 422.5 MB, free: 83.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.8655, allocations: 97.64 kB / 422.6 MB, free: 83.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.8658, allocations: 78.66 kB / 422.6 MB, free: 83.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 (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 initialization (199): * Single equations (assignments): 194 * 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: 4 * 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: 4 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002883/0.8687, allocations: 1.217 MB / 423.8 MB, free: 82.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000669/0.8694, allocations: 229.4 kB / 424.1 MB, free: 82.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009106/0.8785, allocations: 3.248 MB / 427.3 MB, free: 81.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.8786, allocations: 19 kB / 427.3 MB, free: 81.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.897e-05/0.8786, allocations: 11.62 kB / 427.4 MB, free: 81.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.029e-05/0.8787, allocations: 7.406 kB / 427.4 MB, free: 81.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.8947, allocations: 6.661 MB / 434 MB, free: 78.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.8947, allocations: 3.938 kB / 434 MB, free: 78.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.8965, allocations: 195.8 kB / 434.2 MB, free: 78.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/0.9003, allocations: 0.9018 MB / 435.1 MB, free: 77.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002881/0.9006, allocations: 43.05 kB / 435.2 MB, free: 77.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/0.9216, allocations: 15.05 MB / 450.2 MB, free: 62.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.9217, allocations: 8.094 kB / 450.2 MB, free: 62.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/0.9326, allocations: 4.631 MB / 454.8 MB, free: 57.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.9342, allocations: 0.5255 MB / 455.4 MB, free: 57.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005176/0.9348, allocations: 39.98 kB / 455.4 MB, free: 57.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/0.9367, allocations: 91.89 kB / 455.5 MB, free: 57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005562/0.9373, allocations: 157.1 kB / 455.7 MB, free: 56.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.9374, allocations: 51.98 kB / 455.7 MB, free: 56.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002828/0.9403, allocations: 1.434 MB / 457.1 MB, free: 55.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.9403, allocations: 0 / 457.1 MB, free: 55.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003679/0.944, allocations: 0.707 MB / 457.8 MB, free: 54.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (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 (100): * Single equations (assignments): 94 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(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.01155/0.9556, allocations: 5.254 MB / 463.1 MB, free: 49.28 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007164/0.9628, allocations: 3.195 MB / 466.3 MB, free: 46.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.9629, allocations: 4 kB / 466.3 MB, free: 46.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005336/0.9682, allocations: 2.295 MB / 468.6 MB, free: 43.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/0.9724, allocations: 0.5855 MB / 469.2 MB, free: 43.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06014/1.033, allocations: 20.48 MB / 489.7 MB, free: 21.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/1.036, allocations: 2.75 MB / 492.4 MB, free: 18.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002682/1.038, allocations: 483.4 kB / 492.9 MB, free: 18.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002673/1.041, allocations: 1.323 MB / 494.2 MB, free: 16.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/1.041, allocations: 0 / 494.2 MB, free: 16.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1578/1.199, allocations: 60.62 MB / 0.5418 GB, free: 4.031 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/1.199, allocations: 217.4 kB / 0.542 GB, free: 3.789 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.475/5.674, allocations: 0 / 0.542 GB, free: 3.789 MB / 394.7 MB