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.277/2.277, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.477e-05, allocations: 4 kB / 249.8 MB, free: 14.74 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3907, allocations: 44.48 MB / 294.3 MB, free: 14.49 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6375/1.028, allocations: 144.4 MB / 438.7 MB, free: 67.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/1.029, allocations: 98.72 kB / 438.8 MB, free: 67.14 MB / 362.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.273/3.302, allocations: 353.8 MB / 0.774 GB, free: 37.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/3.302, allocations: 0 / 0.774 GB, free: 37.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001029/3.303, allocations: 253.4 kB / 0.7742 GB, free: 37.05 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.05474/3.358, allocations: 10.52 MB / 0.7845 GB, free: 33.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.142e-05/3.358, allocations: 6.906 kB / 0.7845 GB, free: 33.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05382/3.412, allocations: 5.395 MB / 0.7898 GB, free: 32.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03739/3.449, allocations: 9.441 MB / 0.799 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/3.45, allocations: 364.2 kB / 0.7993 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006281/3.457, allocations: 0.6319 MB / 0.7999 GB, free: 31.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0486/3.505, allocations: 14.59 MB / 0.8142 GB, free: 31.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06045/3.566, allocations: 16.2 MB / 0.83 GB, free: 28.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007266/3.566, allocations: 14.94 kB / 0.83 GB, free: 28.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004604/3.571, allocations: 7 kB / 0.83 GB, free: 28.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001321/3.572, allocations: 0.7509 MB / 0.8308 GB, free: 28.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.179/3.751, allocations: 57.21 MB / 0.8866 GB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4677/4.219, allocations: 26.52 MB / 0.9125 GB, free: 34.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.019/4.238, allocations: 7.033 MB / 0.9194 GB, free: 34.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07505/4.313, allocations: 22.85 MB / 0.9417 GB, free: 33.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01661/4.33, allocations: 5.432 MB / 0.947 GB, free: 33.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=696): time 1.807e-05/4.33, allocations: 0 / 0.947 GB, free: 33.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=714): time 0.1276/4.458, allocations: 32.68 MB / 0.9789 GB, free: 27.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/4.458, allocations: 430.9 kB / 0.9793 GB, free: 26.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008037/4.466, allocations: 2.868 MB / 0.9821 GB, free: 25.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001717/4.468, allocations: 28.39 kB / 0.9822 GB, free: 25.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005584/4.473, allocations: 4.316 MB / 0.9864 GB, free: 22.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00421/4.478, allocations: 2.295 MB / 0.9886 GB, free: 20.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001502/4.479, allocations: 3.125 kB / 0.9886 GB, free: 20.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008217/4.48, allocations: 0.6012 MB / 0.9892 GB, free: 20.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01208/4.492, allocations: 4.447 MB / 0.9936 GB, free: 18.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01448/4.507, allocations: 6.121 MB / 0.9995 GB, free: 14.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02306/4.53, allocations: 6.557 MB / 1.006 GB, free: 11.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/4.53, allocations: 10.94 kB / 1.006 GB, free: 11.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=944) (initialization): time 0.04924/4.579, allocations: 14.22 MB / 1.02 GB, free: 6.102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/4.579, allocations: 60.47 kB / 1.02 GB, free: 6.062 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/4.58, allocations: 45.72 kB / 1.02 GB, free: 6.062 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/4.595, allocations: 3.806 MB / 1.024 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01289/4.608, allocations: 1.344 MB / 1.025 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03156/4.639, allocations: 16.64 MB / 1.041 GB, free: 7.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/4.65, allocations: 289 kB / 1.041 GB, free: 7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002519/4.652, allocations: 304.8 kB / 1.042 GB, free: 6.723 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.004094/4.656, allocations: 385.8 kB / 1.042 GB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06702/4.723, allocations: 13.94 MB / 1.056 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003412/4.727, allocations: 0.4977 MB / 1.056 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05656/4.783, allocations: 14.12 MB / 1.07 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003174/4.784, allocations: 162 kB / 1.07 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.792e-05/4.784, allocations: 8 kB / 1.07 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001805/4.784, allocations: 31.31 kB / 1.07 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5072/5.291, allocations: 26.55 MB / 1.096 GB, free: 76.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001165/5.292, allocations: 3.75 kB / 1.096 GB, free: 76.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01013/5.302, allocations: 0.9171 MB / 1.097 GB, free: 76.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01604/5.318, allocations: 3.883 MB / 1.101 GB, free: 76.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001957/5.32, allocations: 83.34 kB / 1.101 GB, free: 76.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03492/5.355, allocations: 20.6 MB / 1.121 GB, free: 66.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/5.355, allocations: 3.531 kB / 1.121 GB, free: 66.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06309/5.418, allocations: 20.82 MB / 1.141 GB, free: 65.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007091/5.425, allocations: 1.642 MB / 1.143 GB, free: 65.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003358/5.428, allocations: 23 kB / 1.143 GB, free: 65.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008541/5.437, allocations: 236 kB / 1.143 GB, free: 65.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002939/5.44, allocations: 0.5159 MB / 1.144 GB, free: 65.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00157/5.442, allocations: 191.3 kB / 1.144 GB, free: 65.51 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006387/5.448, allocations: 2.138 MB / 1.146 GB, free: 65.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.51e-07/5.448, allocations: 0 / 1.146 GB, free: 65.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01409/5.462, allocations: 1.785 MB / 1.148 GB, free: 65.24 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.06783/5.53, allocations: 22.34 MB / 1.17 GB, free: 55.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03547/5.566, allocations: 11.68 MB / 1.181 GB, free: 50.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/5.566, allocations: 1.203 kB / 1.181 GB, free: 50.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02161/5.587, allocations: 6.622 MB / 1.187 GB, free: 47.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/5.598, allocations: 0.8962 MB / 1.188 GB, free: 46.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07839/5.677, allocations: 22.66 MB / 1.21 GB, free: 30.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01746/5.694, allocations: 7.183 MB / 1.217 GB, free: 25.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01289/5.707, allocations: 1.63 MB / 1.219 GB, free: 24.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01173/5.719, allocations: 4.074 MB / 1.223 GB, free: 20.49 MB / 474.7 MB Notification: Performance of SimCode: time 1.343e-06/5.719, allocations: 2.953 kB / 1.223 GB, free: 20.49 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8653/6.584, allocations: 176.5 MB / 1.395 GB, free: 1.73 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003549/6.585, allocations: 233.3 kB / 1.396 GB, free: 1.449 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.19/16.77, allocations: 0 / 1.396 GB, free: 1.449 MB / 474.7 MB