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 1.813/1.813, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.923e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09053, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.5587, allocations: 107.2 MB / 407.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.5591, allocations: 86.45 kB / 407.2 MB, free: 10.43 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.3285/0.8876, allocations: 83.03 MB / 490.3 MB, free: 9.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.8876, allocations: 7.938 kB / 490.3 MB, free: 9.719 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003086/0.8879, allocations: 83.86 kB / 490.4 MB, free: 9.637 MB / 378.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.0131/0.9011, allocations: 3.35 MB / 493.7 MB, free: 6.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.9011, allocations: 8.031 kB / 493.7 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001369/0.9025, allocations: 463.5 kB / 494.2 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/0.9082, allocations: 0.7334 MB / 494.9 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.9205, allocations: 3.36 MB / 498.3 MB, free: 1.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.9208, allocations: 238.4 kB / 498.5 MB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008948/0.9217, allocations: 319.9 kB / 498.8 MB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.9335, allocations: 4.136 MB / 0.4912 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.9336, allocations: 0 / 0.4912 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005397/0.9342, allocations: 144 kB / 0.4913 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002289/0.9344, allocations: 150.4 kB / 0.4914 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.9447, allocations: 3.333 MB / 0.4947 GB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04273/0.9874, allocations: 13.5 MB / 0.5079 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/1.003, allocations: 6.88 MB / 0.5146 GB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00525/1.008, allocations: 1.352 MB / 0.5159 GB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3022/1.31, allocations: 3.859 MB / 0.5197 GB, free: 83.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001715/1.312, allocations: 0.8148 MB / 0.5205 GB, free: 83.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 3.717e-06/1.312, allocations: 0 / 0.5205 GB, free: 83.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.01321/1.325, allocations: 5.034 MB / 0.5254 GB, free: 82.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/1.325, allocations: 227.5 kB / 0.5256 GB, free: 81.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/1.329, allocations: 1.643 MB / 0.5272 GB, free: 81.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002898/1.329, allocations: 51.45 kB / 0.5273 GB, free: 81.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.331, allocations: 1.481 MB / 0.5287 GB, free: 81.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006529/1.332, allocations: 480.5 kB / 0.5292 GB, free: 80.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/1.332, allocations: 33.81 kB / 0.5292 GB, free: 80.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/1.332, allocations: 382 kB / 0.5296 GB, free: 80.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.334, allocations: 0.6385 MB / 0.5302 GB, free: 80.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/1.336, allocations: 1.185 MB / 0.5313 GB, free: 79.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/1.338, allocations: 0.8938 MB / 0.5322 GB, free: 79.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/1.338, allocations: 3.656 kB / 0.5322 GB, free: 79.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006046/1.344, allocations: 2.419 MB / 0.5346 GB, free: 79.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/1.344, allocations: 43.67 kB / 0.5346 GB, free: 79.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/1.344, allocations: 15.44 kB / 0.5346 GB, free: 79.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/1.345, allocations: 289.3 kB / 0.5349 GB, free: 79.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/1.348, allocations: 376.5 kB / 0.5353 GB, free: 79.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006639/1.355, allocations: 5.845 MB / 0.541 GB, free: 75.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/1.357, allocations: 98.81 kB / 0.5411 GB, free: 75.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/1.358, allocations: 74.56 kB / 0.5411 GB, free: 75.55 MB / 410.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.0004139/1.358, allocations: 213.8 kB / 0.5413 GB, free: 75.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/1.358, allocations: 200.7 kB / 0.5415 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005301/1.364, allocations: 2.187 MB / 0.5437 GB, free: 75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/1.364, allocations: 15.56 kB / 0.5437 GB, free: 75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.364, allocations: 7.891 kB / 0.5437 GB, free: 75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/1.364, allocations: 7.219 kB / 0.5437 GB, free: 75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/1.375, allocations: 5.111 MB / 0.5487 GB, free: 74.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/1.375, allocations: 3.75 kB / 0.5487 GB, free: 74.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/1.376, allocations: 187.2 kB / 0.5489 GB, free: 74.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/1.378, allocations: 461.2 kB / 0.5493 GB, free: 74.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/1.378, allocations: 40.86 kB / 0.5494 GB, free: 74.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/1.39, allocations: 10.14 MB / 0.5593 GB, free: 67.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.39, allocations: 3.25 kB / 0.5593 GB, free: 67.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/1.397, allocations: 3.102 MB / 0.5623 GB, free: 66.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.398, allocations: 444.4 kB / 0.5627 GB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/1.399, allocations: 37.5 kB / 0.5627 GB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/1.4, allocations: 71.55 kB / 0.5628 GB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/1.4, allocations: 102.2 kB / 0.5629 GB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.401, allocations: 41.48 kB / 0.563 GB, free: 66.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002518/1.403, allocations: 1.25 MB / 0.5642 GB, free: 66.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.403, allocations: 0 / 0.5642 GB, free: 66.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003094/1.406, allocations: 0.636 MB / 0.5648 GB, free: 66.64 MB / 410.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.008093/1.414, allocations: 4.481 MB / 0.5692 GB, free: 64.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0045/1.419, allocations: 2.201 MB / 0.5713 GB, free: 63.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.419, allocations: 3.75 kB / 0.5713 GB, free: 63.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002988/1.422, allocations: 1.524 MB / 0.5728 GB, free: 62.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/1.425, allocations: 0.491 MB / 0.5733 GB, free: 62.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/1.439, allocations: 5.506 MB / 0.5787 GB, free: 60.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/1.441, allocations: 2.412 MB / 0.581 GB, free: 59.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002303/1.444, allocations: 405.8 kB / 0.5814 GB, free: 59.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/1.446, allocations: 1.174 MB / 0.5826 GB, free: 58.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/1.446, allocations: 0 / 0.5826 GB, free: 58.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.573, allocations: 54.13 MB / 0.6354 GB, free: 34.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/1.574, allocations: 237.6 kB / 0.6356 GB, free: 34.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.585/6.158, allocations: 0 / 0.6356 GB, free: 34.29 MB / 410.7 MB