Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.462e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3547, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.5405, allocations: 106.5 MB / 400.8 MB, free: 7.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.5409, allocations: 87.95 kB / 400.8 MB, free: 7.164 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.5506/1.091, allocations: 82 MB / 482.8 MB, free: 66.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.026e-06/1.092, allocations: 4 kB / 482.8 MB, free: 66.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003325/1.092, allocations: 88 kB / 482.9 MB, free: 66.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01319/1.105, allocations: 3.345 MB / 486.3 MB, free: 62.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.105, allocations: 9.094 kB / 486.3 MB, free: 62.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006072/1.111, allocations: 0.7451 MB / 487 MB, free: 61.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/1.123, allocations: 3.338 MB / 490.4 MB, free: 58.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/1.123, allocations: 108 kB / 490.5 MB, free: 58.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/1.125, allocations: 195.9 kB / 490.7 MB, free: 58.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00934/1.134, allocations: 3.145 MB / 493.8 MB, free: 55.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/1.144, allocations: 3.673 MB / 497.5 MB, free: 51.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/1.145, allocations: 7.906 kB / 497.5 MB, free: 51.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004128/1.145, allocations: 4 kB / 497.5 MB, free: 51.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/1.145, allocations: 142.4 kB / 497.6 MB, free: 51.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02912/1.174, allocations: 12.89 MB / 0.4986 GB, free: 38.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008574/1.183, allocations: 6.786 MB / 0.5052 GB, free: 30.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/1.186, allocations: 1.303 MB / 0.5065 GB, free: 29.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01117/1.197, allocations: 3.735 MB / 0.5101 GB, free: 25.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002137/1.2, allocations: 0.7805 MB / 0.5109 GB, free: 24.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 6.301e-06/1.2, allocations: 0 / 0.5109 GB, free: 24.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.02806/1.228, allocations: 5.243 MB / 0.516 GB, free: 19.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/1.228, allocations: 222.9 kB / 0.5162 GB, free: 18.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009034/1.237, allocations: 1.348 MB / 0.5175 GB, free: 17.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00327/1.24, allocations: 29.7 kB / 0.5175 GB, free: 17.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/1.242, allocations: 1.48 MB / 0.519 GB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007603/1.243, allocations: 461.2 kB / 0.5194 GB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/1.243, allocations: 0 / 0.5194 GB, free: 15.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/1.244, allocations: 381.9 kB / 0.5198 GB, free: 15.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007107/1.251, allocations: 0.6014 MB / 0.5204 GB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002575/1.253, allocations: 1.144 MB / 0.5215 GB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003439/1.257, allocations: 0.9547 MB / 0.5224 GB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/1.257, allocations: 8 kB / 0.5224 GB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.02065/1.278, allocations: 2.319 MB / 0.5247 GB, free: 9.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/1.278, allocations: 37.7 kB / 0.5247 GB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-05/1.278, allocations: 16 kB / 0.5248 GB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/1.279, allocations: 283.5 kB / 0.525 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/1.283, allocations: 379.4 kB / 0.5254 GB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006337/1.29, allocations: 5.604 MB / 0.5309 GB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/1.292, allocations: 67.95 kB / 0.5309 GB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003928/1.293, allocations: 79.94 kB / 0.531 GB, free: 3.051 MB / 362.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: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006376/1.293, allocations: 156.4 kB / 0.5311 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005252/1.299, allocations: 2.028 MB / 0.5331 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005002/1.299, allocations: 181.8 kB / 0.5333 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006231/1.305, allocations: 2.172 MB / 0.5354 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/1.305, allocations: 12 kB / 0.5354 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/1.306, allocations: 11.94 kB / 0.5354 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/1.306, allocations: 11.95 kB / 0.5355 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/1.318, allocations: 4.687 MB / 0.54 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.318, allocations: 4 kB / 0.54 GB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.319, allocations: 179.8 kB / 0.5402 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/1.321, allocations: 456.3 kB / 0.5406 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/1.321, allocations: 19.98 kB / 0.5407 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/1.335, allocations: 9.749 MB / 0.5502 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/1.335, allocations: 7.984 kB / 0.5502 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007779/1.343, allocations: 3.095 MB / 0.5532 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.344, allocations: 418.7 kB / 0.5536 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/1.344, allocations: 15.95 kB / 0.5536 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.346, allocations: 39.95 kB / 0.5537 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/1.346, allocations: 113.1 kB / 0.5538 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.346, allocations: 40.11 kB / 0.5538 GB, free: 10.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00218/1.349, allocations: 1.005 MB / 0.5548 GB, free: 9.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.349, allocations: 0 / 0.5548 GB, free: 9.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003061/1.352, allocations: 0.5585 MB / 0.5553 GB, free: 9.176 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(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.009351/1.361, allocations: 4.359 MB / 0.5596 GB, free: 4.766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00488/1.366, allocations: 2.093 MB / 0.5616 GB, free: 2.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.366, allocations: 0 / 0.5616 GB, free: 2.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003364/1.369, allocations: 1.439 MB / 0.563 GB, free: 1.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/1.373, allocations: 381.1 kB / 0.5634 GB, free: 0.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2814/1.654, allocations: 5.337 MB / 0.5686 GB, free: 94.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003556/1.658, allocations: 2.409 MB / 0.571 GB, free: 93.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002551/1.661, allocations: 391.7 kB / 0.5713 GB, free: 93.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002655/1.663, allocations: 1.164 MB / 0.5725 GB, free: 93.61 MB / 394.7 MB Notification: Performance of SimCode: time 2.084e-06/1.663, allocations: 0 / 0.5725 GB, free: 93.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.791, allocations: 45.24 MB / 0.6167 GB, free: 81.56 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.791, allocations: 193 kB / 0.6168 GB, free: 81.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.132/5.923, allocations: 0 / 0.6168 GB, free: 81.37 MB / 394.7 MB