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.84/1.84, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.095e-05, allocations: 3.156 kB / 255.3 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0774/0.07745, allocations: 44.5 MB / 299.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.4361, allocations: 107.2 MB / 407 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4364, allocations: 84.05 kB / 407.1 MB, free: 15.21 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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.2874/0.7238, allocations: 83.05 MB / 490.2 MB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.903e-06/0.7239, allocations: 0 / 490.2 MB, free: 14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003476/0.7242, allocations: 79.88 kB / 490.2 MB, free: 13.92 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.01224/0.7365, allocations: 3.357 MB / 493.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.7366, allocations: 12.03 kB / 493.6 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005735/0.7423, allocations: 0.7373 MB / 494.3 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.7539, allocations: 3.352 MB / 497.7 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003284/0.7542, allocations: 234.4 kB / 497.9 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.7554, allocations: 323.9 kB / 498.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.7673, allocations: 4.136 MB / 0.4906 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.7675, allocations: 7.938 kB / 0.4906 GB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005181/0.768, allocations: 132 kB / 0.4907 GB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.7682, allocations: 150.4 kB / 0.4909 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/0.7785, allocations: 3.329 MB / 0.4941 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03234/0.8109, allocations: 13.51 MB / 0.5073 GB, free: 68 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2365/1.047, allocations: 6.862 MB / 0.514 GB, free: 64.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003165/1.051, allocations: 1.354 MB / 0.5153 GB, free: 64.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008565/1.059, allocations: 3.86 MB / 0.5191 GB, free: 63.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001763/1.061, allocations: 0.8165 MB / 0.5199 GB, free: 63.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 5.583e-06/1.061, allocations: 0 / 0.5199 GB, free: 63.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=137): time 0.01203/1.073, allocations: 5.04 MB / 0.5248 GB, free: 62.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/1.073, allocations: 227.4 kB / 0.525 GB, free: 61.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003558/1.077, allocations: 1.655 MB / 0.5267 GB, free: 61.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000272/1.077, allocations: 51.67 kB / 0.5267 GB, free: 61.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/1.078, allocations: 1.407 MB / 0.5281 GB, free: 61.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005329/1.079, allocations: 478.1 kB / 0.5285 GB, free: 60.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/1.079, allocations: 40.03 kB / 0.5286 GB, free: 60.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/1.079, allocations: 377.6 kB / 0.5289 GB, free: 60.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/1.081, allocations: 0.6399 MB / 0.5296 GB, free: 60.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/1.082, allocations: 1.184 MB / 0.5307 GB, free: 59.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/1.084, allocations: 0.8944 MB / 0.5316 GB, free: 59.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/1.084, allocations: 6.188 kB / 0.5316 GB, free: 59.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004981/1.089, allocations: 2.297 MB / 0.5338 GB, free: 59.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/1.089, allocations: 43.95 kB / 0.5339 GB, free: 59.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/1.089, allocations: 15.69 kB / 0.5339 GB, free: 59.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000932/1.09, allocations: 286.6 kB / 0.5342 GB, free: 59.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/1.092, allocations: 388.2 kB / 0.5345 GB, free: 59.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/1.099, allocations: 5.827 MB / 0.5402 GB, free: 55.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/1.101, allocations: 99.03 kB / 0.5403 GB, free: 55.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/1.101, allocations: 77.5 kB / 0.5404 GB, free: 55.68 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.0004189/1.102, allocations: 211.6 kB / 0.5406 GB, free: 55.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/1.102, allocations: 206.3 kB / 0.5408 GB, free: 55.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004962/1.107, allocations: 2.19 MB / 0.5429 GB, free: 55.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/1.107, allocations: 14.34 kB / 0.543 GB, free: 55.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/1.107, allocations: 7.625 kB / 0.543 GB, free: 55.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/1.107, allocations: 7.453 kB / 0.543 GB, free: 55.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/1.119, allocations: 5.118 MB / 0.548 GB, free: 54.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.119, allocations: 2.062 kB / 0.548 GB, free: 54.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.12, allocations: 178 kB / 0.5481 GB, free: 54.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/1.122, allocations: 458.6 kB / 0.5486 GB, free: 54.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/1.122, allocations: 40.5 kB / 0.5486 GB, free: 54.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/1.136, allocations: 10.13 MB / 0.5585 GB, free: 47.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.323e-06/1.136, allocations: 7.312 kB / 0.5585 GB, free: 47.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006113/1.142, allocations: 3.11 MB / 0.5616 GB, free: 45.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.144, allocations: 438 kB / 0.562 GB, free: 45.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006748/1.144, allocations: 34.81 kB / 0.562 GB, free: 45.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.146, allocations: 69.59 kB / 0.5621 GB, free: 45.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/1.146, allocations: 103.5 kB / 0.5622 GB, free: 45.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.147, allocations: 40.69 kB / 0.5622 GB, free: 45.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00271/1.149, allocations: 1.251 MB / 0.5634 GB, free: 44.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.039e-06/1.149, allocations: 3.281 kB / 0.5634 GB, free: 44.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003576/1.153, allocations: 0.6442 MB / 0.5641 GB, free: 44.8 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.001974/1.155, allocations: 0.6515 MB / 0.5647 GB, free: 44.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004516/1.16, allocations: 2.199 MB / 0.5668 GB, free: 43.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.033e-06/1.16, allocations: 3.5 kB / 0.5668 GB, free: 43.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003021/1.163, allocations: 1.534 MB / 0.5683 GB, free: 42.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/1.166, allocations: 0.4985 MB / 0.5688 GB, free: 42.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/1.177, allocations: 4.647 MB / 0.5734 GB, free: 40.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002994/1.18, allocations: 2.363 MB / 0.5757 GB, free: 39.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/1.181, allocations: 145.5 kB / 0.5758 GB, free: 39.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.869e-06/1.181, allocations: 0 / 0.5758 GB, free: 39.31 MB / 394.7 MB Notification: Performance of Templates: time 0.3741/1.555, allocations: 107.8 MB / 0.6811 GB, free: 83.52 MB / 410.7 MB