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.29/2.29, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.705e-05, allocations: 4.094 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5511/0.6542, allocations: 106.5 MB / 400.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.6546, allocations: 85.45 kB / 400.9 MB, free: 15.07 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.3972/1.052, allocations: 82.01 MB / 482.9 MB, free: 4.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.905e-06/1.052, allocations: 4 kB / 482.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000433/1.052, allocations: 75.94 kB / 483 MB, free: 4.398 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.01753/1.07, allocations: 3.35 MB / 486.3 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.676e-05/1.07, allocations: 16.02 kB / 486.4 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007526/1.077, allocations: 0.7412 MB / 487.1 MB, free: 212 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01554/1.093, allocations: 3.337 MB / 490.4 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/1.093, allocations: 108 kB / 490.5 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/1.095, allocations: 195.9 kB / 490.7 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01248/1.107, allocations: 3.152 MB / 493.9 MB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/1.122, allocations: 3.673 MB / 497.6 MB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/1.122, allocations: 0 / 497.6 MB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005886/1.123, allocations: 7.953 kB / 497.6 MB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002715/1.123, allocations: 142.4 kB / 497.7 MB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3536/1.477, allocations: 12.88 MB / 0.4986 GB, free: 73.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/1.489, allocations: 6.792 MB / 0.5052 GB, free: 68.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004403/1.493, allocations: 1.301 MB / 0.5065 GB, free: 68.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01356/1.507, allocations: 3.736 MB / 0.5102 GB, free: 67.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001981/1.509, allocations: 0.778 MB / 0.5109 GB, free: 67.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 7.003e-06/1.509, allocations: 0 / 0.5109 GB, free: 67.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=137): time 0.01936/1.528, allocations: 5.236 MB / 0.516 GB, free: 66.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/1.529, allocations: 222.4 kB / 0.5163 GB, free: 65.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/1.532, allocations: 1.356 MB / 0.5176 GB, free: 65.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003573/1.532, allocations: 32.95 kB / 0.5176 GB, free: 65.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001818/1.534, allocations: 1.473 MB / 0.519 GB, free: 65.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007333/1.535, allocations: 464.7 kB / 0.5195 GB, free: 64.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/1.535, allocations: 6.422 kB / 0.5195 GB, free: 64.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/1.535, allocations: 370.9 kB / 0.5198 GB, free: 64.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/1.537, allocations: 0.6101 MB / 0.5204 GB, free: 64.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/1.539, allocations: 1.142 MB / 0.5216 GB, free: 63.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/1.542, allocations: 0.9543 MB / 0.5225 GB, free: 63.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/1.542, allocations: 2.438 kB / 0.5225 GB, free: 63.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00745/1.55, allocations: 2.314 MB / 0.5248 GB, free: 63.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/1.55, allocations: 51.66 kB / 0.5248 GB, free: 63.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.799e-05/1.55, allocations: 15.28 kB / 0.5248 GB, free: 63.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/1.551, allocations: 280.6 kB / 0.5251 GB, free: 63.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/1.555, allocations: 380.4 kB / 0.5254 GB, free: 63.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007828/1.563, allocations: 5.612 MB / 0.5309 GB, free: 59.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/1.565, allocations: 68.02 kB / 0.531 GB, free: 59.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004311/1.566, allocations: 74.12 kB / 0.5311 GB, free: 59.85 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.0004946/1.566, allocations: 161.4 kB / 0.5312 GB, free: 59.75 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006539/1.573, allocations: 2.031 MB / 0.5332 GB, free: 59.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007969/1.574, allocations: 174.6 kB / 0.5334 GB, free: 59.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007303/1.581, allocations: 2.177 MB / 0.5355 GB, free: 58.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/1.581, allocations: 14.5 kB / 0.5355 GB, free: 58.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.581, allocations: 7.344 kB / 0.5355 GB, free: 58.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.049e-05/1.581, allocations: 7.312 kB / 0.5355 GB, free: 58.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.596, allocations: 4.68 MB / 0.5401 GB, free: 58.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.596, allocations: 3.719 kB / 0.5401 GB, free: 58.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/1.598, allocations: 176.9 kB / 0.5403 GB, free: 58.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/1.601, allocations: 453.9 kB / 0.5407 GB, free: 58.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002574/1.601, allocations: 23.17 kB / 0.5407 GB, free: 58.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/1.615, allocations: 9.76 MB / 0.5503 GB, free: 50.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.615, allocations: 3.094 kB / 0.5503 GB, free: 50.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008497/1.624, allocations: 3.098 MB / 0.5533 GB, free: 48.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.625, allocations: 412 kB / 0.5537 GB, free: 48.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005907/1.626, allocations: 10.5 kB / 0.5537 GB, free: 48.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.628, allocations: 48.62 kB / 0.5537 GB, free: 48.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/1.628, allocations: 105.3 kB / 0.5538 GB, free: 48.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/1.628, allocations: 39.67 kB / 0.5539 GB, free: 48.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002368/1.631, allocations: 1.006 MB / 0.5548 GB, free: 47.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.631, allocations: 2.719 kB / 0.5549 GB, free: 47.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00403/1.635, allocations: 0.5576 MB / 0.5554 GB, free: 47.82 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.0109/1.646, allocations: 4.38 MB / 0.5597 GB, free: 45.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005388/1.651, allocations: 2.089 MB / 0.5617 GB, free: 44.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.651, allocations: 0 / 0.5617 GB, free: 44.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003821/1.655, allocations: 1.445 MB / 0.5631 GB, free: 43.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003907/1.659, allocations: 373.5 kB / 0.5635 GB, free: 43.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/1.677, allocations: 5.35 MB / 0.5687 GB, free: 41.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003769/1.681, allocations: 2.405 MB / 0.5711 GB, free: 40.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002849/1.684, allocations: 384 kB / 0.5714 GB, free: 39.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002981/1.687, allocations: 1.164 MB / 0.5726 GB, free: 39 MB / 394.7 MB Notification: Performance of SimCode: time 2.625e-06/1.687, allocations: 0 / 0.5726 GB, free: 39 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1519/1.839, allocations: 45.27 MB / 0.6168 GB, free: 14.3 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000357/1.839, allocations: 213.5 kB / 0.617 GB, free: 14.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.954/6.793, allocations: 0 / 0.617 GB, free: 14.02 MB / 394.7 MB