Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.689/2.689, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.135e-05, allocations: 4.578 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5807/0.6974, allocations: 106.5 MB / 400.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/0.6979, allocations: 86.75 kB / 400.9 MB, free: 15.22 MB / 314.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 0.4281/1.126, allocations: 82.4 MB / 483.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.896e-06/1.126, allocations: 0 / 483.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000451/1.126, allocations: 83.88 kB / 483.4 MB, free: 4.031 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.01821/1.145, allocations: 3.357 MB / 486.7 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.782e-05/1.145, allocations: 8.031 kB / 486.7 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002105/1.147, allocations: 331.5 kB / 487 MB, free: 256 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00826/1.155, allocations: 0.7374 MB / 487.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/1.172, allocations: 3.34 MB / 491.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000409/1.172, allocations: 146.4 kB / 491.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/1.174, allocations: 191.9 kB / 491.5 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01315/1.187, allocations: 3.145 MB / 494.6 MB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/1.204, allocations: 3.674 MB / 498.3 MB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000181/1.204, allocations: 7.938 kB / 498.3 MB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008433/1.205, allocations: 3.953 kB / 498.3 MB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002888/1.205, allocations: 146.4 kB / 498.4 MB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3875/1.593, allocations: 12.88 MB / 0.4993 GB, free: 73.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/1.605, allocations: 6.791 MB / 0.506 GB, free: 67.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004327/1.609, allocations: 1.303 MB / 0.5072 GB, free: 67.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/1.622, allocations: 3.739 MB / 0.5109 GB, free: 67.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/1.624, allocations: 0.7708 MB / 0.5116 GB, free: 67.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 5.901e-06/1.624, allocations: 0.75 kB / 0.5116 GB, free: 67.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=137): time 0.01922/1.644, allocations: 5.235 MB / 0.5167 GB, free: 65.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.644, allocations: 230.5 kB / 0.517 GB, free: 65.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/1.647, allocations: 1.35 MB / 0.5183 GB, free: 65.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000405/1.648, allocations: 25.7 kB / 0.5183 GB, free: 65.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.65, allocations: 1.485 MB / 0.5198 GB, free: 64.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007478/1.651, allocations: 458.4 kB / 0.5202 GB, free: 64.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.651, allocations: 7.438 kB / 0.5202 GB, free: 64.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/1.651, allocations: 380.6 kB / 0.5206 GB, free: 64.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/1.653, allocations: 0.6023 MB / 0.5212 GB, free: 64.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/1.655, allocations: 1.141 MB / 0.5223 GB, free: 63.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/1.659, allocations: 0.9528 MB / 0.5232 GB, free: 63.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-05/1.659, allocations: 3.812 kB / 0.5232 GB, free: 63.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.008406/1.667, allocations: 2.318 MB / 0.5255 GB, free: 63.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.963e-05/1.667, allocations: 47.12 kB / 0.5255 GB, free: 63.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-05/1.667, allocations: 13.69 kB / 0.5255 GB, free: 63.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/1.669, allocations: 278.9 kB / 0.5258 GB, free: 63.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003682/1.673, allocations: 375.9 kB / 0.5261 GB, free: 63.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008577/1.681, allocations: 5.62 MB / 0.5316 GB, free: 59.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/1.684, allocations: 63.58 kB / 0.5317 GB, free: 59.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/1.685, allocations: 76.22 kB / 0.5318 GB, free: 59.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (195): * Single equations (assignments): 190 * 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.0005167/1.685, allocations: 157.1 kB / 0.5319 GB, free: 59.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/1.686, allocations: 175.3 kB / 0.5321 GB, free: 59.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007809/1.694, allocations: 2.179 MB / 0.5342 GB, free: 59.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/1.694, allocations: 18.25 kB / 0.5342 GB, free: 59.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/1.694, allocations: 7.188 kB / 0.5342 GB, free: 59.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.052e-05/1.694, allocations: 9.906 kB / 0.5342 GB, free: 59.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/1.709, allocations: 4.68 MB / 0.5388 GB, free: 58.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.709, allocations: 0 / 0.5388 GB, free: 58.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.711, allocations: 180.5 kB / 0.539 GB, free: 58.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002532/1.714, allocations: 451.1 kB / 0.5394 GB, free: 58.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002686/1.714, allocations: 21.84 kB / 0.5394 GB, free: 58.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/1.729, allocations: 9.754 MB / 0.549 GB, free: 50.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.729, allocations: 6.75 kB / 0.549 GB, free: 50.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009493/1.739, allocations: 3.094 MB / 0.552 GB, free: 48.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.74, allocations: 418.4 kB / 0.5524 GB, free: 48.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/1.741, allocations: 10.12 kB / 0.5524 GB, free: 48.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.743, allocations: 46.75 kB / 0.5524 GB, free: 48.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003942/1.743, allocations: 100.5 kB / 0.5525 GB, free: 48.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/1.743, allocations: 34.8 kB / 0.5526 GB, free: 48.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002521/1.746, allocations: 1.014 MB / 0.5536 GB, free: 48.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.523e-06/1.746, allocations: 6.641 kB / 0.5536 GB, free: 48.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00406/1.75, allocations: 0.5579 MB / 0.5541 GB, free: 48.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 94 * 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%) 3,(1,100.0%) 8,(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.01134/1.761, allocations: 4.385 MB / 0.5584 GB, free: 45.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005606/1.767, allocations: 2.082 MB / 0.5604 GB, free: 44.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.767, allocations: 3.938 kB / 0.5604 GB, free: 44.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004235/1.771, allocations: 1.449 MB / 0.5619 GB, free: 43.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/1.776, allocations: 387.8 kB / 0.5622 GB, free: 43.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/1.795, allocations: 5.348 MB / 0.5674 GB, free: 41.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004121/1.799, allocations: 2.409 MB / 0.5698 GB, free: 40.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003073/1.802, allocations: 380 kB / 0.5702 GB, free: 40.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003256/1.806, allocations: 1.161 MB / 0.5713 GB, free: 39.29 MB / 394.7 MB Notification: Performance of SimCode: time 2.465e-06/1.806, allocations: 0 / 0.5713 GB, free: 39.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2481/2.054, allocations: 46.86 MB / 0.6171 GB, free: 13.57 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003409/2.054, allocations: 205.5 kB / 0.6172 GB, free: 13.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.661/7.715, allocations: 0 / 0.6172 GB, free: 13.29 MB / 394.7 MB