Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.631/2.631, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.707e-05, allocations: 2.125 kB / 249.8 MB, free: 5.281 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6276/0.7689, allocations: 144.4 MB / 438.7 MB, free: 9.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000455/0.7694, allocations: 102.2 kB / 438.8 MB, free: 9.855 MB / 346.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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 2.261/3.03, allocations: 355.5 MB / 0.7756 GB, free: 20.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.425e-06/3.03, allocations: 0 / 0.7756 GB, free: 20.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001108/3.032, allocations: 255.7 kB / 0.7759 GB, free: 19.77 MB / 410.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.06471/3.096, allocations: 10.51 MB / 0.7862 GB, free: 9.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/3.096, allocations: 8.031 kB / 0.7862 GB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009112/3.105, allocations: 1.13 MB / 0.7873 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06294/3.168, allocations: 5.39 MB / 0.7925 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4729/3.641, allocations: 9.438 MB / 0.8017 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001574/3.643, allocations: 477.1 kB / 0.8022 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006651/3.65, allocations: 0.6344 MB / 0.8028 GB, free: 25.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05531/3.705, allocations: 14.58 MB / 0.8171 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0712/3.776, allocations: 16.2 MB / 0.8329 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008044/3.777, allocations: 18.48 kB / 0.8329 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005265/3.783, allocations: 10.06 kB / 0.8329 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00165/3.784, allocations: 0.7417 MB / 0.8336 GB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2041/3.988, allocations: 57.2 MB / 0.8895 GB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04796/4.036, allocations: 25.41 MB / 0.9143 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03242/4.069, allocations: 7.409 MB / 0.9215 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09599/4.165, allocations: 23.01 MB / 0.944 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0201/4.185, allocations: 5.436 MB / 0.9493 GB, free: 10.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=696): time 1.854e-05/4.185, allocations: 0 / 0.9493 GB, free: 10.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=714): time 0.5842/4.769, allocations: 32.7 MB / 0.9813 GB, free: 67.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/4.77, allocations: 434.2 kB / 0.9817 GB, free: 67.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008245/4.778, allocations: 2.862 MB / 0.9845 GB, free: 67.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001813/4.78, allocations: 30.42 kB / 0.9845 GB, free: 67.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005963/4.786, allocations: 4.316 MB / 0.9887 GB, free: 65.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004464/4.79, allocations: 2.299 MB / 0.991 GB, free: 63.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/4.792, allocations: 0 / 0.991 GB, free: 63.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008143/4.792, allocations: 0.5954 MB / 0.9915 GB, free: 63.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01287/4.805, allocations: 4.45 MB / 0.9959 GB, free: 63.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01556/4.821, allocations: 6.119 MB / 1.002 GB, free: 61.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02374/4.845, allocations: 6.553 MB / 1.008 GB, free: 61.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/4.845, allocations: 14.41 kB / 1.008 GB, free: 61.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=944) (initialization): time 0.0511/4.896, allocations: 14.23 MB / 1.022 GB, free: 60.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/4.896, allocations: 56.33 kB / 1.022 GB, free: 60.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/4.896, allocations: 44.06 kB / 1.022 GB, free: 60.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01671/4.913, allocations: 3.796 MB / 1.026 GB, free: 60.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01425/4.927, allocations: 1.349 MB / 1.027 GB, free: 60.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03137/4.959, allocations: 16.58 MB / 1.043 GB, free: 52.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01098/4.97, allocations: 295.8 kB / 1.044 GB, free: 52.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/4.972, allocations: 305 kB / 1.044 GB, free: 52.62 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.003166/4.976, allocations: 385 kB / 1.044 GB, free: 52.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002528/4.978, allocations: 0.4987 MB / 1.045 GB, free: 52.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05369/5.032, allocations: 14.12 MB / 1.059 GB, free: 46.35 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002634/5.032, allocations: 154.8 kB / 1.059 GB, free: 46.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.842e-05/5.032, allocations: 13 kB / 1.059 GB, free: 46.28 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002008/5.032, allocations: 36 kB / 1.059 GB, free: 46.28 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09493/5.127, allocations: 26.33 MB / 1.085 GB, free: 34.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001091/5.127, allocations: 7.766 kB / 1.085 GB, free: 34.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01188/5.139, allocations: 0.9159 MB / 1.086 GB, free: 34.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01846/5.158, allocations: 3.881 MB / 1.089 GB, free: 31.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002075/5.16, allocations: 81.67 kB / 1.089 GB, free: 31.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03901/5.199, allocations: 20.59 MB / 1.109 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/5.199, allocations: 2.156 kB / 1.109 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0767/5.276, allocations: 20.9 MB / 1.13 GB, free: 8.938 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008669/5.285, allocations: 1.643 MB / 1.132 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003719/5.288, allocations: 14.91 kB / 1.132 GB, free: 7.438 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01011/5.299, allocations: 236.4 kB / 1.132 GB, free: 7.301 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003523/5.302, allocations: 0.5177 MB / 1.132 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002219/5.304, allocations: 196.2 kB / 1.132 GB, free: 6.797 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008105/5.313, allocations: 2.134 MB / 1.135 GB, free: 4.906 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.542e-06/5.313, allocations: 0 / 1.135 GB, free: 4.906 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01591/5.328, allocations: 1.782 MB / 1.136 GB, free: 3.141 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.5441/5.873, allocations: 23.51 MB / 1.159 GB, free: 81.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03942/5.912, allocations: 11.69 MB / 1.171 GB, free: 80.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/5.912, allocations: 2.281 kB / 1.171 GB, free: 80.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02461/5.937, allocations: 6.614 MB / 1.177 GB, free: 79.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01351/5.95, allocations: 0.8907 MB / 1.178 GB, free: 79.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09481/6.045, allocations: 22.66 MB / 1.2 GB, free: 76.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02125/6.067, allocations: 7.186 MB / 1.207 GB, free: 75.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01617/6.083, allocations: 1.622 MB / 1.209 GB, free: 75.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01509/6.098, allocations: 4.077 MB / 1.213 GB, free: 75.24 MB / 474.7 MB Notification: Performance of SimCode: time 1.893e-06/6.098, allocations: 0 / 1.213 GB, free: 75.24 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.525/7.623, allocations: 181.8 MB / 1.39 GB, free: 70.84 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.002556/7.626, allocations: 245.8 kB / 1.39 GB, free: 70.56 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.77/19.39, allocations: 7.094 kB / 1.39 GB, free: 70.55 MB / 474.8 MB