Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.195e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2983, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1859/0.4843, allocations: 106.5 MB / 400.7 MB, free: 7.379 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.4846, allocations: 83.95 kB / 400.8 MB, free: 7.297 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.5548/1.039, allocations: 82 MB / 482.8 MB, free: 66.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.039, allocations: 0 / 482.8 MB, free: 66.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004475/1.04, allocations: 87.64 kB / 482.9 MB, free: 66.27 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.03369/1.074, allocations: 3.35 MB / 486.2 MB, free: 62.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.074, allocations: 9.094 kB / 486.2 MB, free: 62.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/1.08, allocations: 0.7411 MB / 487 MB, free: 62.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/1.092, allocations: 3.35 MB / 490.3 MB, free: 58.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/1.092, allocations: 104 kB / 490.4 MB, free: 58.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/1.094, allocations: 191.9 kB / 490.6 MB, free: 58.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00985/1.104, allocations: 3.149 MB / 493.8 MB, free: 55.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/1.116, allocations: 3.673 MB / 497.5 MB, free: 51.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/1.117, allocations: 7.906 kB / 497.5 MB, free: 51.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/1.118, allocations: 0 / 497.5 MB, free: 51.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/1.118, allocations: 146.4 kB / 497.6 MB, free: 51.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03294/1.151, allocations: 12.88 MB / 0.4985 GB, free: 38.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009004/1.16, allocations: 6.794 MB / 0.5052 GB, free: 30.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003254/1.163, allocations: 1.303 MB / 0.5064 GB, free: 29.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/1.174, allocations: 3.739 MB / 0.5101 GB, free: 25.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/1.176, allocations: 0.7766 MB / 0.5108 GB, free: 24.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.669e-06/1.176, allocations: 0 / 0.5108 GB, free: 24.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.01641/1.192, allocations: 5.235 MB / 0.516 GB, free: 19.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/1.192, allocations: 222.9 kB / 0.5162 GB, free: 19.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/1.196, allocations: 1.356 MB / 0.5175 GB, free: 17.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003228/1.196, allocations: 29.7 kB / 0.5175 GB, free: 17.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/1.197, allocations: 1.434 MB / 0.5189 GB, free: 16.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006308/1.198, allocations: 461.2 kB / 0.5194 GB, free: 15.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.198, allocations: 0 / 0.5194 GB, free: 15.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/1.198, allocations: 378.8 kB / 0.5197 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/1.2, allocations: 0.6092 MB / 0.5203 GB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/1.202, allocations: 1.144 MB / 0.5214 GB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/1.205, allocations: 0.9547 MB / 0.5224 GB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/1.205, allocations: 4 kB / 0.5224 GB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006323/1.211, allocations: 2.215 MB / 0.5245 GB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/1.211, allocations: 41.69 kB / 0.5246 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/1.211, allocations: 16 kB / 0.5246 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.213, allocations: 287.5 kB / 0.5249 GB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/1.215, allocations: 375.4 kB / 0.5252 GB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006666/1.222, allocations: 5.6 MB / 0.5307 GB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/1.225, allocations: 68.03 kB / 0.5308 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004558/1.225, allocations: 75.95 kB / 0.5308 GB, free: 3.387 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.000421/1.226, allocations: 152.5 kB / 0.531 GB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005776/1.231, allocations: 2.028 MB / 0.5329 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/1.232, allocations: 181.8 kB / 0.5331 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006926/1.239, allocations: 2.177 MB / 0.5352 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/1.239, allocations: 16 kB / 0.5353 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/1.239, allocations: 7.938 kB / 0.5353 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.427e-05/1.239, allocations: 11.95 kB / 0.5353 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/1.254, allocations: 4.683 MB / 0.5399 GB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/1.254, allocations: 4 kB / 0.5399 GB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.256, allocations: 179.7 kB / 0.54 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/1.258, allocations: 448.4 kB / 0.5405 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003037/1.258, allocations: 23.98 kB / 0.5405 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/1.274, allocations: 9.761 MB / 0.55 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.274, allocations: 7.984 kB / 0.55 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009077/1.283, allocations: 3.092 MB / 0.553 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.285, allocations: 410.8 kB / 0.5534 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007491/1.285, allocations: 23.94 kB / 0.5535 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/1.287, allocations: 43.95 kB / 0.5535 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005511/1.288, allocations: 101.2 kB / 0.5536 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.288, allocations: 36 kB / 0.5536 GB, free: 11.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00287/1.291, allocations: 1.013 MB / 0.5546 GB, free: 10.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.996e-06/1.291, allocations: 0 / 0.5546 GB, free: 10.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004068/1.295, allocations: 0.5624 MB / 0.5552 GB, free: 9.508 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.01116/1.306, allocations: 4.365 MB / 0.5594 GB, free: 5.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005676/1.312, allocations: 2.085 MB / 0.5615 GB, free: 2.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.312, allocations: 0 / 0.5615 GB, free: 2.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003974/1.316, allocations: 1.447 MB / 0.5629 GB, free: 1.453 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/1.32, allocations: 381.1 kB / 0.5632 GB, free: 1.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2825/1.602, allocations: 5.276 MB / 0.5684 GB, free: 93.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004552/1.607, allocations: 2.355 MB / 0.5707 GB, free: 92.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002991/1.61, allocations: 1.178 MB / 0.5718 GB, free: 92.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/1.61, allocations: 1.188 kB / 0.5718 GB, free: 92.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.133/5.744, allocations: 122.9 MB / 0.6918 GB, free: 4.758 MB / 394.7 MB