Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.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.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.965/1.965, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003451, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.0916, allocations: 44.51 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.528, allocations: 107.3 MB / 415.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.5283, allocations: 94.88 kB / 415.9 MB, free: 10.52 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.3123/0.8406, allocations: 83.07 MB / 499 MB, free: 4.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.8407, allocations: 4 kB / 499 MB, free: 4.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003313/0.841, allocations: 75.94 kB / 499.1 MB, free: 4.535 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.01562/0.8567, allocations: 3.679 MB / 0.491 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.8567, allocations: 16.03 kB / 0.491 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001842/0.8586, allocations: 459.5 kB / 0.4914 GB, free: 300 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006138/0.8647, allocations: 0.745 MB / 0.4921 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.8773, allocations: 3.368 MB / 0.4954 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.8776, allocations: 246.4 kB / 0.4957 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.8787, allocations: 319.9 kB / 0.496 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.8925, allocations: 4.201 MB / 0.5001 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/0.8927, allocations: 4 kB / 0.5001 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000521/0.8932, allocations: 144 kB / 0.5002 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002215/0.8934, allocations: 150.3 kB / 0.5004 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.9046, allocations: 3.418 MB / 0.5037 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03665/0.9413, allocations: 13.5 MB / 0.5169 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2803/1.222, allocations: 6.951 MB / 0.5237 GB, free: 78.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008665/1.23, allocations: 3.348 MB / 0.5269 GB, free: 77.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/1.232, allocations: 0.9124 MB / 0.5278 GB, free: 77.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 4.358e-06/1.233, allocations: 0 / 0.5278 GB, free: 77.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.02279/1.255, allocations: 6.939 MB / 0.5346 GB, free: 76.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/1.255, allocations: 225.2 kB / 0.5348 GB, free: 76.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003975/1.259, allocations: 1.648 MB / 0.5364 GB, free: 75.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003451/1.26, allocations: 54.64 kB / 0.5365 GB, free: 75.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/1.261, allocations: 1.385 MB / 0.5378 GB, free: 75.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008622/1.262, allocations: 0.5192 MB / 0.5383 GB, free: 75.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.263, allocations: 38.72 kB / 0.5384 GB, free: 75.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/1.263, allocations: 380.4 kB / 0.5387 GB, free: 74.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/1.265, allocations: 0.7146 MB / 0.5394 GB, free: 74.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/1.267, allocations: 1.239 MB / 0.5407 GB, free: 74.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/1.27, allocations: 0.9769 MB / 0.5416 GB, free: 74.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.802e-05/1.27, allocations: 4.125 kB / 0.5416 GB, free: 74.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006904/1.277, allocations: 2.462 MB / 0.544 GB, free: 73.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.503e-05/1.277, allocations: 39.36 kB / 0.5441 GB, free: 73.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.432e-05/1.277, allocations: 14.06 kB / 0.5441 GB, free: 73.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/1.279, allocations: 295.3 kB / 0.5443 GB, free: 73.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/1.282, allocations: 402.8 kB / 0.5447 GB, free: 73.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007243/1.289, allocations: 5.918 MB / 0.5505 GB, free: 69.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/1.292, allocations: 99.67 kB / 0.5506 GB, free: 69.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000366/1.292, allocations: 84.53 kB / 0.5507 GB, free: 69.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 200 * 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.002972/1.295, allocations: 1.044 MB / 0.5517 GB, free: 69.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006374/1.296, allocations: 198.4 kB / 0.5519 GB, free: 69.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00631/1.302, allocations: 2.392 MB / 0.5542 GB, free: 69.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/1.302, allocations: 15.69 kB / 0.5542 GB, free: 69.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.302, allocations: 7.688 kB / 0.5543 GB, free: 69.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/1.302, allocations: 7.641 kB / 0.5543 GB, free: 69.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/1.316, allocations: 5.421 MB / 0.5596 GB, free: 68.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/1.316, allocations: 3.844 kB / 0.5596 GB, free: 68.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.318, allocations: 207.4 kB / 0.5598 GB, free: 68.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/1.32, allocations: 471.5 kB / 0.5602 GB, free: 68.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002944/1.32, allocations: 38.98 kB / 0.5602 GB, free: 68.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.333, allocations: 10.31 MB / 0.5703 GB, free: 61.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.333, allocations: 4.5 kB / 0.5703 GB, free: 61.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00765/1.34, allocations: 3.424 MB / 0.5737 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.342, allocations: 469 kB / 0.5741 GB, free: 60.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/1.342, allocations: 38.56 kB / 0.5741 GB, free: 60.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.344, allocations: 74.75 kB / 0.5742 GB, free: 60.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003764/1.344, allocations: 108.6 kB / 0.5743 GB, free: 60.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/1.344, allocations: 46.95 kB / 0.5744 GB, free: 60.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002734/1.347, allocations: 1.262 MB / 0.5756 GB, free: 59.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.347, allocations: 0 / 0.5756 GB, free: 59.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003599/1.351, allocations: 0.6522 MB / 0.5762 GB, free: 59.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 108 * 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%) 8,(1,100.0%) 3,(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.009587/1.36, allocations: 4.928 MB / 0.581 GB, free: 56.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005386/1.366, allocations: 2.37 MB / 0.5834 GB, free: 55.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.366, allocations: 3.656 kB / 0.5834 GB, free: 55.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003702/1.37, allocations: 1.631 MB / 0.585 GB, free: 54.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/1.373, allocations: 495.8 kB / 0.5854 GB, free: 54.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/1.394, allocations: 18.26 MB / 0.6033 GB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002631/1.397, allocations: 2.367 MB / 0.6056 GB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002456/1.399, allocations: 1.2 MB / 0.6067 GB, free: 37.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/1.399, allocations: 0 / 0.6067 GB, free: 37.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.282/5.681, allocations: 124.6 MB / 0.7284 GB, free: 96.66 MB / 426.7 MB