Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.218e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09346, allocations: 44.52 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5073/0.6008, allocations: 145 MB / 445 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.6013, allocations: 101 kB / 445.1 MB, free: 14.92 MB / 346.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 1.755/2.357, allocations: 357.9 MB / 0.7842 GB, free: 50.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.805e-06/2.357, allocations: 0 / 0.7842 GB, free: 50.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001443/2.358, allocations: 256.1 kB / 0.7844 GB, free: 50 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.05272/2.411, allocations: 10.53 MB / 0.7947 GB, free: 45.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/2.411, allocations: 11 kB / 0.7947 GB, free: 45.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008829/2.42, allocations: 1.555 MB / 0.7962 GB, free: 44.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04726/2.467, allocations: 5.402 MB / 0.8015 GB, free: 42.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03524/2.502, allocations: 9.439 MB / 0.8107 GB, free: 34.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001345/2.504, allocations: 0.8184 MB / 0.8115 GB, free: 33.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005873/2.51, allocations: 1.069 MB / 0.8126 GB, free: 32.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06059/2.57, allocations: 17.91 MB / 0.83 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007571/2.571, allocations: 23.89 kB / 0.8301 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005469/2.577, allocations: 460 kB / 0.8305 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001477/2.578, allocations: 0.7528 MB / 0.8312 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4205/2.999, allocations: 16.54 MB / 0.8474 GB, free: 45.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1534/3.152, allocations: 58.1 MB / 0.9041 GB, free: 33.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03646/3.189, allocations: 26.03 MB / 0.9296 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01768/3.207, allocations: 7.063 MB / 0.9365 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07793/3.285, allocations: 22.62 MB / 0.9585 GB, free: 0 / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02279/3.307, allocations: 5.408 MB / 0.9638 GB, free: 13.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=696): time 2.431e-05/3.307, allocations: 0 / 0.9638 GB, free: 13.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=714): time 0.1314/3.439, allocations: 28.97 MB / 0.9921 GB, free: 13.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003733/3.439, allocations: 432 kB / 0.9925 GB, free: 13.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01378/3.453, allocations: 3.455 MB / 0.9959 GB, free: 10.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002017/3.455, allocations: 132.2 kB / 0.996 GB, free: 9.906 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00841/3.464, allocations: 4.306 MB / 1 GB, free: 6.082 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005766/3.47, allocations: 2.386 MB / 1.003 GB, free: 3.926 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001692/3.471, allocations: 136 kB / 1.003 GB, free: 3.793 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001161/3.472, allocations: 0.5985 MB / 1.003 GB, free: 3.277 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02578/3.498, allocations: 4.65 MB / 1.008 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01851/3.517, allocations: 6.11 MB / 1.014 GB, free: 9.824 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.016/3.533, allocations: 5.453 MB / 1.019 GB, free: 5.105 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.839e-05/3.533, allocations: 19.17 kB / 1.019 GB, free: 5.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=944) (initialization): time 0.4082/3.941, allocations: 13.71 MB / 1.033 GB, free: 90.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/3.941, allocations: 54.31 kB / 1.033 GB, free: 90.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/3.942, allocations: 48.12 kB / 1.033 GB, free: 90.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01455/3.956, allocations: 3.85 MB / 1.036 GB, free: 90.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01077/3.967, allocations: 1.303 MB / 1.038 GB, free: 90.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02383/3.991, allocations: 16.62 MB / 1.054 GB, free: 82.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008732/4, allocations: 373.8 kB / 1.054 GB, free: 82.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002137/4.002, allocations: 302.4 kB / 1.055 GB, free: 82.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 202 * 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 (685): * Single equations (assignments): 643 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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: 4 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of prepare postOptimizeDAE: time 0.003103/4.005, allocations: 494.1 kB / 1.055 GB, free: 82.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002414/4.007, allocations: 0.5429 MB / 1.056 GB, free: 82.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04167/4.049, allocations: 13.32 MB / 1.069 GB, free: 81.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002584/4.049, allocations: 156.1 kB / 1.069 GB, free: 81.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.855e-05/4.049, allocations: 7.844 kB / 1.069 GB, free: 81.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000174/4.05, allocations: 40.53 kB / 1.069 GB, free: 81.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09071/4.14, allocations: 26.76 MB / 1.095 GB, free: 75.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001213/4.14, allocations: 5.188 kB / 1.095 GB, free: 75.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01108/4.152, allocations: 0.8745 MB / 1.096 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0192/4.171, allocations: 3.931 MB / 1.1 GB, free: 74.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00221/4.173, allocations: 160.9 kB / 1.1 GB, free: 74.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03082/4.204, allocations: 20.78 MB / 1.12 GB, free: 58.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/4.204, allocations: 3.875 kB / 1.12 GB, free: 58.79 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05284/4.257, allocations: 19.74 MB / 1.139 GB, free: 49.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006516/4.263, allocations: 1.647 MB / 1.141 GB, free: 48.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003136/4.267, allocations: 130.1 kB / 1.141 GB, free: 48.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007553/4.274, allocations: 294.9 kB / 1.141 GB, free: 48.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002793/4.277, allocations: 0.5169 MB / 1.142 GB, free: 48.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001668/4.279, allocations: 193.4 kB / 1.142 GB, free: 48.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007228/4.286, allocations: 2.631 MB / 1.145 GB, free: 47.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.01e-07/4.286, allocations: 0 / 1.145 GB, free: 47.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01178/4.298, allocations: 2.025 MB / 1.147 GB, free: 45.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.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 (476): * Single equations (assignments): 432 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of Backend phase and start with SimCode phase: time 0.05548/4.353, allocations: 21.44 MB / 1.167 GB, free: 26.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03107/4.385, allocations: 11.69 MB / 1.179 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/4.385, allocations: 0 / 1.179 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01844/4.403, allocations: 6.602 MB / 1.185 GB, free: 9.637 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01072/4.414, allocations: 1.209 MB / 1.187 GB, free: 8.695 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4426/4.857, allocations: 22.99 MB / 1.209 GB, free: 87.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01736/4.874, allocations: 7.178 MB / 1.216 GB, free: 86.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01231/4.886, allocations: 1.652 MB / 1.218 GB, free: 86.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01154/4.898, allocations: 4.096 MB / 1.222 GB, free: 86.64 MB / 474.7 MB Notification: Performance of SimCode: time 2.875e-06/4.898, allocations: 2.5 kB / 1.222 GB, free: 86.64 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8123/5.71, allocations: 192.5 MB / 1.41 GB, free: 82.85 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/5.711, allocations: 277.3 kB / 1.41 GB, free: 82.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/15.79, allocations: 0 / 1.41 GB, free: 82.52 MB / 474.7 MB