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.SMEE_DOL.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.SMEE_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004843, allocations: 8 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2906, allocations: 44.51 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02402/0.3146, allocations: 13.5 MB / 322.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.328, allocations: 5.143 MB / 327.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.331, allocations: 83.69 kB / 327.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004181/0.3353, allocations: 0.9328 MB / 328.2 MB, free: 8.918 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Magnetic/FundamentalWave.mo:4083:9-4083:107:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006573/0.3419, allocations: 1.437 MB / 329.7 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.3456, allocations: 0.7134 MB / 330.4 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008694/0.3543, allocations: 3.413 MB / 333.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005664/0.36, allocations: 2.672 MB / 336.5 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.3637, allocations: 1.533 MB / 338 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004591/0.3683, allocations: 1.891 MB / 339.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.3696, allocations: 248 kB / 340.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.3721, allocations: 423.8 kB / 340.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.374, allocations: 0.9461 MB / 341.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.3759, allocations: 0.9057 MB / 342.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.3869, allocations: 6.525 MB / 348.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.387, allocations: 0 / 348.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.387, allocations: 0 / 348.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000211/0.3872, allocations: 0 / 348.9 MB, free: 4.117 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01869/0.4059, allocations: 4.559 MB / 353.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.406, allocations: 12.03 kB / 353.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001999/0.408, allocations: 0.5515 MB / 354 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00835/0.4164, allocations: 0.9978 MB / 355 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008535/0.425, allocations: 2.641 MB / 357.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.4254, allocations: 304 kB / 358 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/0.4268, allocations: 388 kB / 358.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.4432, allocations: 5.142 MB / 363.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.4434, allocations: 7.844 kB / 363.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006966/0.4441, allocations: 168 kB / 363.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002657/0.4444, allocations: 171.9 kB / 363.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.4594, allocations: 4.419 MB / 368.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04705/0.5065, allocations: 16.84 MB / 385.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/0.5197, allocations: 8.407 MB / 393.5 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.5315, allocations: 4.232 MB / 397.7 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/0.5316, allocations: 51.88 kB / 397.8 MB, free: 1.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=166): time 4.358e-06/0.5317, allocations: 4 kB / 397.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.02241/0.5541, allocations: 6.486 MB / 404.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.5542, allocations: 69.41 kB / 404.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005657/0.5598, allocations: 2.25 MB / 406.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003529/0.5602, allocations: 61.7 kB / 406.7 MB, free: 8.277 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002105/0.5624, allocations: 1.813 MB / 408.5 MB, free: 6.441 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.5634, allocations: 0.5815 MB / 409.1 MB, free: 5.852 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.5637, allocations: 44 kB / 409.1 MB, free: 5.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002816/0.5639, allocations: 394.3 kB / 409.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/0.5669, allocations: 0.8749 MB / 410.4 MB, free: 4.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003803/0.5707, allocations: 1.572 MB / 411.9 MB, free: 2.645 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/0.5744, allocations: 1.158 MB / 413.1 MB, free: 1.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-05/0.5745, allocations: 8 kB / 413.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.2677/0.8422, allocations: 2.942 MB / 416 MB, free: 87.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.8423, allocations: 13.75 kB / 416.1 MB, free: 87.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.465e-05/0.8424, allocations: 22.03 kB / 416.1 MB, free: 87.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.8429, allocations: 132.3 kB / 416.2 MB, free: 87.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004237/0.8472, allocations: 0.5686 MB / 416.8 MB, free: 87.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.8493, allocations: 1.827 MB / 418.6 MB, free: 85.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/0.8523, allocations: 113.1 kB / 418.7 MB, free: 85.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.8526, allocations: 97.11 kB / 418.8 MB, free: 85.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 273 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002871/0.8555, allocations: 1.191 MB / 420 MB, free: 85.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006724/0.8562, allocations: 245.3 kB / 420.2 MB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006877/0.8631, allocations: 2.578 MB / 422.8 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.8631, allocations: 16.12 kB / 422.8 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.8632, allocations: 9.344 kB / 422.8 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/0.8632, allocations: 11.62 kB / 422.9 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.8786, allocations: 6.048 MB / 428.9 MB, free: 81.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.8787, allocations: 3.5 kB / 428.9 MB, free: 81.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/0.8814, allocations: 322.1 kB / 429.2 MB, free: 81.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/0.8828, allocations: 322.5 kB / 429.5 MB, free: 81.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/0.883, allocations: 45.38 kB / 429.6 MB, free: 80.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008209/0.8913, allocations: 6.439 MB / 436 MB, free: 75.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.8913, allocations: 3.688 kB / 436 MB, free: 75.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008781/0.9001, allocations: 3.737 MB / 439.8 MB, free: 72.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.9017, allocations: 0.5064 MB / 440.3 MB, free: 72.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005175/0.9022, allocations: 43.94 kB / 440.3 MB, free: 72.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/0.9043, allocations: 91.94 kB / 440.4 MB, free: 72.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003689/0.9047, allocations: 126.5 kB / 440.5 MB, free: 72.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.9048, allocations: 51.98 kB / 440.6 MB, free: 72.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003324/0.9082, allocations: 1.524 MB / 442.1 MB, free: 70.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.9082, allocations: 0 / 442.1 MB, free: 70.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003376/0.9116, allocations: 0.6719 MB / 442.8 MB, free: 69.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 139 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009452/0.9211, allocations: 4.372 MB / 447.1 MB, free: 65.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005678/0.9268, allocations: 2.354 MB / 449.5 MB, free: 62.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.9269, allocations: 0 / 449.5 MB, free: 62.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.9304, allocations: 1.502 MB / 451 MB, free: 61.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/0.9344, allocations: 0.541 MB / 451.5 MB, free: 60.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05793/0.9924, allocations: 20.65 MB / 472.2 MB, free: 38.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00278/0.9952, allocations: 2.731 MB / 474.9 MB, free: 36.03 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00314/0.9984, allocations: 0.5551 MB / 475.5 MB, free: 35.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002774/1.001, allocations: 1.472 MB / 476.9 MB, free: 34 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/1.001, allocations: 0 / 476.9 MB, free: 34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.141/1.142, allocations: 56.85 MB / 0.5213 GB, free: 9.094 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003714/1.143, allocations: 210.4 kB / 0.5215 GB, free: 8.859 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.408/5.55, allocations: 4 kB / 0.5215 GB, free: 8.855 MB / 378.7 MB