Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.752e-05, allocations: 6.219 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.07954, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.4427, allocations: 107.2 MB / 407.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.443, allocations: 86.53 kB / 407.1 MB, free: 15.02 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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.2915/0.7345, allocations: 83.04 MB / 490.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7346, allocations: 4 kB / 490.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003419/0.735, allocations: 79.88 kB / 490.3 MB, free: 13.8 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.01216/0.7471, allocations: 3.358 MB / 493.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.7472, allocations: 8.031 kB / 493.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005743/0.753, allocations: 0.7373 MB / 494.4 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.7645, allocations: 3.348 MB / 497.7 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000374/0.7649, allocations: 246.4 kB / 498 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.7662, allocations: 323.9 kB / 498.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.7786, allocations: 4.096 MB / 0.4906 GB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.7788, allocations: 3.984 kB / 0.4906 GB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005224/0.7793, allocations: 136 kB / 0.4907 GB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.7795, allocations: 150.4 kB / 0.4909 GB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.7897, allocations: 3.293 MB / 0.4941 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03311/0.8228, allocations: 13.5 MB / 0.5073 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.233/1.056, allocations: 6.841 MB / 0.5139 GB, free: 63.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003143/1.059, allocations: 1.353 MB / 0.5153 GB, free: 63.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008999/1.068, allocations: 3.867 MB / 0.519 GB, free: 62.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/1.07, allocations: 0.8092 MB / 0.5198 GB, free: 62.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 5.82e-06/1.07, allocations: 0 / 0.5198 GB, free: 62.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=137): time 0.01199/1.082, allocations: 5.032 MB / 0.5247 GB, free: 61.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/1.082, allocations: 225.1 kB / 0.525 GB, free: 61.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/1.085, allocations: 1.648 MB / 0.5266 GB, free: 61.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002523/1.086, allocations: 51.98 kB / 0.5266 GB, free: 61.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/1.087, allocations: 1.409 MB / 0.528 GB, free: 60.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/1.087, allocations: 479.8 kB / 0.5285 GB, free: 60.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/1.087, allocations: 39.62 kB / 0.5285 GB, free: 60.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/1.088, allocations: 377 kB / 0.5288 GB, free: 60.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/1.089, allocations: 0.6426 MB / 0.5295 GB, free: 60.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/1.091, allocations: 1.175 MB / 0.5306 GB, free: 59.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/1.092, allocations: 0.8972 MB / 0.5315 GB, free: 59.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.092, allocations: 7.75 kB / 0.5315 GB, free: 59.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004664/1.097, allocations: 2.252 MB / 0.5337 GB, free: 59.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.748e-05/1.097, allocations: 45.14 kB / 0.5338 GB, free: 59.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/1.097, allocations: 17.62 kB / 0.5338 GB, free: 59.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009441/1.098, allocations: 284.3 kB / 0.534 GB, free: 59.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/1.1, allocations: 380 kB / 0.5344 GB, free: 59.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006187/1.106, allocations: 5.84 MB / 0.5401 GB, free: 55.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/1.109, allocations: 95.94 kB / 0.5402 GB, free: 55.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/1.109, allocations: 73.12 kB / 0.5403 GB, free: 55.24 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.0004095/1.109, allocations: 215.9 kB / 0.5405 GB, free: 55.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/1.11, allocations: 199.9 kB / 0.5407 GB, free: 55.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/1.115, allocations: 2.195 MB / 0.5428 GB, free: 54.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/1.115, allocations: 12.34 kB / 0.5428 GB, free: 54.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.115, allocations: 6.438 kB / 0.5428 GB, free: 54.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/1.115, allocations: 7.453 kB / 0.5428 GB, free: 54.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/1.126, allocations: 5.108 MB / 0.5478 GB, free: 53.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/1.126, allocations: 3.344 kB / 0.5478 GB, free: 53.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/1.127, allocations: 179.5 kB / 0.548 GB, free: 53.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/1.129, allocations: 460.4 kB / 0.5484 GB, free: 53.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/1.129, allocations: 45.7 kB / 0.5485 GB, free: 53.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.14, allocations: 10.13 MB / 0.5584 GB, free: 47.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.408e-06/1.14, allocations: 0 / 0.5584 GB, free: 47.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006358/1.146, allocations: 3.113 MB / 0.5614 GB, free: 45.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.148, allocations: 440.5 kB / 0.5618 GB, free: 45.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/1.148, allocations: 31.81 kB / 0.5619 GB, free: 45.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.149, allocations: 75.92 kB / 0.5619 GB, free: 45.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/1.15, allocations: 102.5 kB / 0.562 GB, free: 45.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.15, allocations: 38.86 kB / 0.5621 GB, free: 45.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002459/1.152, allocations: 1.255 MB / 0.5633 GB, free: 44.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.63e-06/1.152, allocations: 0 / 0.5633 GB, free: 44.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003236/1.156, allocations: 0.6406 MB / 0.5639 GB, free: 44.69 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.001921/1.158, allocations: 0.6474 MB / 0.5645 GB, free: 44.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004048/1.162, allocations: 2.147 MB / 0.5666 GB, free: 43.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.169e-06/1.162, allocations: 3.312 kB / 0.5666 GB, free: 43.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002816/1.165, allocations: 1.484 MB / 0.5681 GB, free: 42.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/1.168, allocations: 0.5014 MB / 0.5686 GB, free: 42.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.179, allocations: 4.641 MB / 0.5731 GB, free: 40.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003052/1.182, allocations: 2.357 MB / 0.5754 GB, free: 39.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007534/1.183, allocations: 146 kB / 0.5756 GB, free: 39.28 MB / 394.7 MB Notification: Performance of SimCode: time 2.168e-06/1.183, allocations: 0 / 0.5756 GB, free: 39.28 MB / 394.7 MB Notification: Performance of Templates: time 0.3647/1.547, allocations: 107.6 MB / 0.6806 GB, free: 82.98 MB / 410.7 MB