Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) 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 2.084/2.084, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005611/0.0005618, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1007, allocations: 44.5 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.5784, allocations: 107.3 MB / 416.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.5787, allocations: 93.27 kB / 416.3 MB, free: 10.79 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.3329/0.9117, allocations: 83.08 MB / 499.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.9118, allocations: 0 / 499.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003953/0.9122, allocations: 75.94 kB / 499.5 MB, free: 4.828 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.01732/0.9295, allocations: 3.675 MB / 0.4914 GB, free: 1.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.9296, allocations: 8.031 kB / 0.4914 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006414/0.936, allocations: 0.7411 MB / 0.4921 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.9499, allocations: 3.387 MB / 0.4954 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004379/0.9504, allocations: 242.4 kB / 0.4957 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.9519, allocations: 323.9 kB / 0.496 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/0.968, allocations: 4.22 MB / 0.5001 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/0.9683, allocations: 4 kB / 0.5001 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009803/0.9693, allocations: 136 kB / 0.5002 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002404/0.9695, allocations: 154.3 kB / 0.5004 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/0.9823, allocations: 3.418 MB / 0.5037 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04163/1.024, allocations: 13.5 MB / 0.5169 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.363/1.387, allocations: 6.96 MB / 0.5237 GB, free: 82.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009592/1.397, allocations: 3.338 MB / 0.5269 GB, free: 81.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002136/1.399, allocations: 0.9161 MB / 0.5278 GB, free: 81.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 5.701e-06/1.399, allocations: 0 / 0.5278 GB, free: 81.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.02478/1.424, allocations: 6.949 MB / 0.5346 GB, free: 80.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/1.424, allocations: 224 kB / 0.5348 GB, free: 80.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005014/1.429, allocations: 1.838 MB / 0.5366 GB, free: 79.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003882/1.429, allocations: 55.61 kB / 0.5367 GB, free: 79.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001911/1.431, allocations: 1.385 MB / 0.538 GB, free: 79.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009051/1.432, allocations: 0.5217 MB / 0.5385 GB, free: 79.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/1.432, allocations: 35.38 kB / 0.5386 GB, free: 79.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/1.433, allocations: 387.6 kB / 0.539 GB, free: 78.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/1.435, allocations: 0.7134 MB / 0.5396 GB, free: 78.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/1.438, allocations: 1.247 MB / 0.5409 GB, free: 78.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/1.441, allocations: 0.9751 MB / 0.5418 GB, free: 78.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.033e-05/1.441, allocations: 6.281 kB / 0.5418 GB, free: 78.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007237/1.448, allocations: 2.457 MB / 0.5442 GB, free: 77.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.572e-05/1.448, allocations: 38.7 kB / 0.5443 GB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/1.448, allocations: 13 kB / 0.5443 GB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/1.449, allocations: 293.2 kB / 0.5446 GB, free: 77.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003077/1.452, allocations: 399.7 kB / 0.5449 GB, free: 77.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007837/1.46, allocations: 5.933 MB / 0.5507 GB, free: 73.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/1.463, allocations: 96.06 kB / 0.5508 GB, free: 73.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00045/1.464, allocations: 78.78 kB / 0.5509 GB, free: 73.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 200 * 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.003575/1.467, allocations: 1.045 MB / 0.5519 GB, free: 73.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007177/1.468, allocations: 197 kB / 0.5521 GB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007493/1.476, allocations: 2.387 MB / 0.5544 GB, free: 73.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/1.476, allocations: 15.69 kB / 0.5544 GB, free: 73.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/1.476, allocations: 3.938 kB / 0.5545 GB, free: 73.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.906e-05/1.476, allocations: 16.92 kB / 0.5545 GB, free: 73.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/1.492, allocations: 5.43 MB / 0.5598 GB, free: 72.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.492, allocations: 0 / 0.5598 GB, free: 72.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.493, allocations: 206.1 kB / 0.56 GB, free: 72.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/1.496, allocations: 465.6 kB / 0.5604 GB, free: 72.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002344/1.496, allocations: 39.83 kB / 0.5604 GB, free: 72.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/1.51, allocations: 10.31 MB / 0.5705 GB, free: 65.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.51, allocations: 2.719 kB / 0.5705 GB, free: 65.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008793/1.519, allocations: 3.336 MB / 0.5738 GB, free: 64.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/1.52, allocations: 458.9 kB / 0.5742 GB, free: 63.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008711/1.521, allocations: 33.94 kB / 0.5742 GB, free: 63.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.523, allocations: 76.45 kB / 0.5743 GB, free: 63.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004937/1.524, allocations: 114.9 kB / 0.5744 GB, free: 63.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.524, allocations: 40.22 kB / 0.5745 GB, free: 63.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003163/1.527, allocations: 1.27 MB / 0.5757 GB, free: 63.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.527, allocations: 0 / 0.5757 GB, free: 63.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003968/1.531, allocations: 0.6423 MB / 0.5763 GB, free: 63.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 108 * 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%) 8,(1,100.0%) 3,(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.001952/1.533, allocations: 0.6587 MB / 0.577 GB, free: 63.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00561/1.539, allocations: 2.378 MB / 0.5793 GB, free: 61.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.539, allocations: 0 / 0.5793 GB, free: 61.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003894/1.543, allocations: 1.628 MB / 0.5809 GB, free: 60.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/1.547, allocations: 0.5049 MB / 0.5814 GB, free: 60.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.564, allocations: 7.127 MB / 0.5883 GB, free: 56.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003512/1.567, allocations: 2.358 MB / 0.5906 GB, free: 55.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/1.568, allocations: 147.1 kB / 0.5908 GB, free: 55.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/1.568, allocations: 2.438 kB / 0.5908 GB, free: 55.74 MB / 410.7 MB Notification: Performance of Templates: time 0.4806/2.049, allocations: 108.4 MB / 0.6967 GB, free: 80.86 MB / 410.7 MB