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.816/1.816, allocations: 194.9 MB / 208 MB, free: 3.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.304e-05, allocations: 7.984 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09434, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.5807, allocations: 107.2 MB / 407.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.581, allocations: 88.23 kB / 407.3 MB, free: 10.04 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.317/0.898, allocations: 83.04 MB / 490.3 MB, free: 9.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8981, allocations: 0 / 490.3 MB, free: 9.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000364/0.8985, allocations: 91.86 kB / 490.4 MB, free: 9.559 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.01439/0.9129, allocations: 3.35 MB / 493.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.9129, allocations: 8.031 kB / 493.8 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001678/0.9146, allocations: 451.5 kB / 494.2 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006328/0.921, allocations: 0.749 MB / 494.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.9339, allocations: 3.344 MB / 498.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.9343, allocations: 250.4 kB / 498.5 MB, free: 1.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/0.9357, allocations: 319.9 kB / 498.8 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.9489, allocations: 4.099 MB / 0.4912 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.949, allocations: 0 / 0.4912 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005536/0.9496, allocations: 139.9 kB / 0.4913 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002294/0.9498, allocations: 150.4 kB / 0.4914 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.9614, allocations: 3.289 MB / 0.4946 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03819/0.9997, allocations: 13.5 MB / 0.5078 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/1.011, allocations: 6.846 MB / 0.5145 GB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003964/1.015, allocations: 1.36 MB / 0.5158 GB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3002/1.315, allocations: 3.855 MB / 0.5196 GB, free: 82.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002823/1.318, allocations: 0.8059 MB / 0.5204 GB, free: 82.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 6.071e-06/1.318, allocations: 1.125 kB / 0.5204 GB, free: 82.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.01945/1.338, allocations: 5.041 MB / 0.5253 GB, free: 81.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.338, allocations: 223.7 kB / 0.5255 GB, free: 81.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005887/1.344, allocations: 1.641 MB / 0.5271 GB, free: 81.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003923/1.344, allocations: 50.55 kB / 0.5272 GB, free: 81.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/1.347, allocations: 1.482 MB / 0.5286 GB, free: 80.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007284/1.347, allocations: 478.4 kB / 0.5291 GB, free: 80.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/1.348, allocations: 39 kB / 0.5291 GB, free: 80.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/1.348, allocations: 376.4 kB / 0.5295 GB, free: 80.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/1.35, allocations: 0.641 MB / 0.5301 GB, free: 80.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/1.352, allocations: 1.176 MB / 0.5313 GB, free: 79.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/1.354, allocations: 0.8935 MB / 0.5321 GB, free: 79.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.611e-05/1.354, allocations: 4.031 kB / 0.5321 GB, free: 79.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006834/1.361, allocations: 2.381 MB / 0.5345 GB, free: 79.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/1.361, allocations: 43.16 kB / 0.5345 GB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.775e-05/1.362, allocations: 15.09 kB / 0.5345 GB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/1.363, allocations: 281.8 kB / 0.5348 GB, free: 79.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/1.366, allocations: 383.2 kB / 0.5351 GB, free: 79.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00694/1.373, allocations: 5.833 MB / 0.5408 GB, free: 75.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/1.375, allocations: 92.97 kB / 0.5409 GB, free: 75.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/1.376, allocations: 78.84 kB / 0.541 GB, free: 75.08 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.0004837/1.376, allocations: 213.2 kB / 0.5412 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000602/1.377, allocations: 197.1 kB / 0.5414 GB, free: 74.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/1.382, allocations: 2.196 MB / 0.5435 GB, free: 74.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/1.383, allocations: 13.31 kB / 0.5436 GB, free: 74.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.383, allocations: 11.52 kB / 0.5436 GB, free: 74.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/1.383, allocations: 7.688 kB / 0.5436 GB, free: 74.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.395, allocations: 5.11 MB / 0.5486 GB, free: 73.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.395, allocations: 3.594 kB / 0.5486 GB, free: 73.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/1.397, allocations: 182.6 kB / 0.5487 GB, free: 73.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/1.399, allocations: 450.6 kB / 0.5492 GB, free: 73.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/1.399, allocations: 40.39 kB / 0.5492 GB, free: 73.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/1.412, allocations: 10.14 MB / 0.5591 GB, free: 67.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/1.412, allocations: 7.422 kB / 0.5591 GB, free: 67.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006995/1.419, allocations: 3.103 MB / 0.5621 GB, free: 66.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.42, allocations: 440.4 kB / 0.5626 GB, free: 66.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005145/1.421, allocations: 36.95 kB / 0.5626 GB, free: 66.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.423, allocations: 71.11 kB / 0.5627 GB, free: 66.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000329/1.423, allocations: 103.3 kB / 0.5628 GB, free: 66.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.423, allocations: 41.75 kB / 0.5628 GB, free: 66.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00267/1.426, allocations: 1.253 MB / 0.564 GB, free: 66.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.426, allocations: 0 / 0.564 GB, free: 66.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003802/1.43, allocations: 0.6339 MB / 0.5647 GB, free: 66.16 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.008763/1.438, allocations: 4.482 MB / 0.569 GB, free: 64.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004818/1.443, allocations: 2.145 MB / 0.5711 GB, free: 63.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.443, allocations: 0 / 0.5711 GB, free: 63.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003306/1.447, allocations: 1.488 MB / 0.5726 GB, free: 62.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004134/1.451, allocations: 0.4983 MB / 0.5731 GB, free: 62.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/1.467, allocations: 5.505 MB / 0.5784 GB, free: 60.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002831/1.47, allocations: 2.399 MB / 0.5808 GB, free: 59.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002505/1.472, allocations: 410.5 kB / 0.5812 GB, free: 59.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/1.475, allocations: 1.174 MB / 0.5823 GB, free: 58.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.674e-06/1.475, allocations: 0 / 0.5823 GB, free: 58.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/1.602, allocations: 53.88 MB / 0.6349 GB, free: 35.03 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/1.602, allocations: 236.4 kB / 0.6352 GB, free: 34.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.323/5.926, allocations: 0 / 0.6352 GB, free: 34.71 MB / 410.7 MB