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 2.126/2.126, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.097e-05, allocations: 4 kB / 249.8 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.348, allocations: 44.5 MB / 294.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5154/0.8635, allocations: 144.4 MB / 438.6 MB, free: 67.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.8638, allocations: 103.9 kB / 438.7 MB, free: 67.27 MB / 362.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 1.693/2.557, allocations: 353.8 MB / 0.7739 GB, free: 37.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.525e-06/2.557, allocations: 0 / 0.7739 GB, free: 37.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001064/2.558, allocations: 261.6 kB / 0.7742 GB, free: 37.02 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.05098/2.609, allocations: 10.51 MB / 0.7844 GB, free: 33.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/2.609, allocations: 9.938 kB / 0.7844 GB, free: 33.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04619/2.655, allocations: 5.398 MB / 0.7897 GB, free: 32.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0327/2.688, allocations: 9.442 MB / 0.7989 GB, free: 31.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009253/2.689, allocations: 363.2 kB / 0.7993 GB, free: 31.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005232/2.694, allocations: 0.6269 MB / 0.7999 GB, free: 31.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04297/2.737, allocations: 14.58 MB / 0.8141 GB, free: 31.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05669/2.794, allocations: 16.21 MB / 0.83 GB, free: 28.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007619/2.795, allocations: 15.34 kB / 0.83 GB, free: 28.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004565/2.8, allocations: 7.375 kB / 0.83 GB, free: 28.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001194/2.801, allocations: 0.751 MB / 0.8307 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1633/2.964, allocations: 57.19 MB / 0.8866 GB, free: 1.441 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4028/3.367, allocations: 26.54 MB / 0.9125 GB, free: 34.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01683/3.384, allocations: 7.021 MB / 0.9193 GB, free: 34.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06516/3.449, allocations: 22.85 MB / 0.9417 GB, free: 33.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01386/3.463, allocations: 5.425 MB / 0.947 GB, free: 33.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=696): time 1.477e-05/3.463, allocations: 0 / 0.947 GB, free: 33.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=714): time 0.1083/3.571, allocations: 32.69 MB / 0.9789 GB, free: 27.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/3.572, allocations: 428.1 kB / 0.9793 GB, free: 26.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007726/3.579, allocations: 2.873 MB / 0.9821 GB, free: 25.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001652/3.581, allocations: 28.52 kB / 0.9821 GB, free: 25.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00527/3.586, allocations: 4.306 MB / 0.9863 GB, free: 22.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003956/3.59, allocations: 2.304 MB / 0.9886 GB, free: 20.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/3.592, allocations: 2.625 kB / 0.9886 GB, free: 20.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008533/3.593, allocations: 0.5991 MB / 0.9892 GB, free: 19.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01086/3.604, allocations: 4.445 MB / 0.9935 GB, free: 18.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01307/3.617, allocations: 6.122 MB / 0.9995 GB, free: 14.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01988/3.637, allocations: 6.55 MB / 1.006 GB, free: 11.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-05/3.637, allocations: 16.12 kB / 1.006 GB, free: 11.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=944) (initialization): time 0.04328/3.68, allocations: 14.22 MB / 1.02 GB, free: 6.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/3.68, allocations: 59.83 kB / 1.02 GB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/3.68, allocations: 47.03 kB / 1.02 GB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01292/3.693, allocations: 3.804 MB / 1.024 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/3.704, allocations: 1.348 MB / 1.025 GB, free: 4.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02785/3.732, allocations: 16.66 MB / 1.041 GB, free: 6.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00904/3.741, allocations: 282.3 kB / 1.041 GB, free: 6.809 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002371/3.744, allocations: 308 kB / 1.042 GB, free: 6.531 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.airGap.Phi_r.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real imcQS.airGap.Phi_r.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real imcQS.rotorCage.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentQuasiRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] 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.0043/3.748, allocations: 390.2 kB / 1.042 GB, free: 6.301 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05975/3.808, allocations: 14.01 MB / 1.056 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003212/3.811, allocations: 0.5005 MB / 1.056 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04972/3.861, allocations: 14.12 MB / 1.07 GB, free: 1.203 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002807/3.861, allocations: 162.1 kB / 1.07 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.314e-05/3.861, allocations: 8 kB / 1.07 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000183/3.861, allocations: 28.45 kB / 1.07 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4407/4.302, allocations: 26.55 MB / 1.096 GB, free: 76.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.498e-05/4.302, allocations: 3.062 kB / 1.096 GB, free: 76.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008656/4.311, allocations: 0.918 MB / 1.097 GB, free: 76.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01367/4.325, allocations: 3.884 MB / 1.101 GB, free: 76.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001867/4.327, allocations: 79.45 kB / 1.101 GB, free: 76.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03451/4.361, allocations: 20.61 MB / 1.121 GB, free: 66.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/4.361, allocations: 8.156 kB / 1.121 GB, free: 66.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06946/4.431, allocations: 20.82 MB / 1.141 GB, free: 65.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006436/4.437, allocations: 1.647 MB / 1.143 GB, free: 65.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003183/4.44, allocations: 13.59 kB / 1.143 GB, free: 65.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007489/4.448, allocations: 235.2 kB / 1.143 GB, free: 65.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002728/4.451, allocations: 0.5177 MB / 1.144 GB, free: 65.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001704/4.452, allocations: 187.6 kB / 1.144 GB, free: 65.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005695/4.458, allocations: 2.138 MB / 1.146 GB, free: 65.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.152e-06/4.458, allocations: 3.938 kB / 1.146 GB, free: 65.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0121/4.47, allocations: 1.785 MB / 1.148 GB, free: 65.13 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%) 13,(1,100.0%) 8,(1,100.0%) 3,(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.05426/4.525, allocations: 22.32 MB / 1.17 GB, free: 55.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02875/4.553, allocations: 11.67 MB / 1.181 GB, free: 50.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/4.554, allocations: 0 / 1.181 GB, free: 50.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01762/4.571, allocations: 6.626 MB / 1.187 GB, free: 46.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009739/4.581, allocations: 0.8936 MB / 1.188 GB, free: 46.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07079/4.652, allocations: 22.67 MB / 1.21 GB, free: 30.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01702/4.669, allocations: 7.184 MB / 1.217 GB, free: 25.28 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01115/4.68, allocations: 1.619 MB / 1.219 GB, free: 24.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01058/4.691, allocations: 4.074 MB / 1.223 GB, free: 20.37 MB / 474.7 MB Notification: Performance of SimCode: time 1.031e-06/4.691, allocations: 0 / 1.223 GB, free: 20.37 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7633/5.454, allocations: 176.5 MB / 1.395 GB, free: 1.469 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/5.454, allocations: 232.8 kB / 1.396 GB, free: 1.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.203/14.66, allocations: 0 / 1.396 GB, free: 1.18 MB / 474.7 MB