Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadModel(Modelica): time 2.238/2.238, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003437, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09544, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.477/0.5725, allocations: 107.3 MB / 416.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.5728, allocations: 92.7 kB / 416.4 MB, free: 11.09 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.3187/0.8916, allocations: 83.09 MB / 499.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8916, allocations: 0 / 499.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004286/0.8921, allocations: 75.94 kB / 499.6 MB, free: 4.156 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.01637/0.9085, allocations: 3.679 MB / 0.4915 GB, free: 400 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.9085, allocations: 8.031 kB / 0.4915 GB, free: 392 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006482/0.915, allocations: 0.745 MB / 0.4922 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02039/0.9355, allocations: 3.379 MB / 0.4955 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.936, allocations: 238.4 kB / 0.4957 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/0.9378, allocations: 323.9 kB / 0.496 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.9577, allocations: 4.205 MB / 0.5001 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.9579, allocations: 0 / 0.5001 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008222/0.9588, allocations: 140 kB / 0.5003 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003159/0.9591, allocations: 150.4 kB / 0.5004 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/0.9767, allocations: 3.418 MB / 0.5038 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05181/1.029, allocations: 13.5 MB / 0.5169 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.32/1.349, allocations: 6.956 MB / 0.5237 GB, free: 78.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008325/1.357, allocations: 3.339 MB / 0.527 GB, free: 78.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002041/1.359, allocations: 0.9147 MB / 0.5279 GB, free: 78.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 5.099e-06/1.359, allocations: 0 / 0.5279 GB, free: 78.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.02237/1.382, allocations: 6.943 MB / 0.5347 GB, free: 76.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/1.382, allocations: 225.2 kB / 0.5349 GB, free: 76.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/1.386, allocations: 1.848 MB / 0.5367 GB, free: 76.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003306/1.386, allocations: 53.27 kB / 0.5367 GB, free: 76.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/1.388, allocations: 1.455 MB / 0.5382 GB, free: 75.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006707/1.388, allocations: 0.5165 MB / 0.5387 GB, free: 75.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/1.388, allocations: 38.66 kB / 0.5387 GB, free: 75.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/1.389, allocations: 378.2 kB / 0.5391 GB, free: 75.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/1.391, allocations: 0.714 MB / 0.5398 GB, free: 75.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/1.393, allocations: 1.241 MB / 0.541 GB, free: 74.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/1.395, allocations: 0.9714 MB / 0.5419 GB, free: 74.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.395, allocations: 3.562 kB / 0.5419 GB, free: 74.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006638/1.402, allocations: 2.582 MB / 0.5444 GB, free: 74.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/1.402, allocations: 52.69 kB / 0.5445 GB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/1.402, allocations: 14.75 kB / 0.5445 GB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/1.403, allocations: 285.4 kB / 0.5448 GB, free: 74.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/1.406, allocations: 402.8 kB / 0.5452 GB, free: 74.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007092/1.413, allocations: 5.914 MB / 0.5509 GB, free: 70.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/1.416, allocations: 106.4 kB / 0.551 GB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/1.417, allocations: 74.88 kB / 0.5511 GB, free: 70.32 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.002597/1.419, allocations: 1.048 MB / 0.5521 GB, free: 70.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/1.42, allocations: 200 kB / 0.5523 GB, free: 70.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/1.426, allocations: 2.394 MB / 0.5547 GB, free: 69.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/1.426, allocations: 15.03 kB / 0.5547 GB, free: 69.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.426, allocations: 7.812 kB / 0.5547 GB, free: 69.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.426, allocations: 10.67 kB / 0.5547 GB, free: 69.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/1.438, allocations: 5.421 MB / 0.56 GB, free: 69.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.438, allocations: 3.719 kB / 0.56 GB, free: 69.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/1.44, allocations: 213.4 kB / 0.5602 GB, free: 69.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/1.443, allocations: 460.1 kB / 0.5606 GB, free: 69.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003205/1.443, allocations: 40.88 kB / 0.5607 GB, free: 69.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/1.462, allocations: 10.31 MB / 0.5707 GB, free: 62.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.462, allocations: 3.531 kB / 0.5707 GB, free: 62.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.473, allocations: 3.337 MB / 0.574 GB, free: 60.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/1.475, allocations: 464.3 kB / 0.5744 GB, free: 60.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007532/1.476, allocations: 38.31 kB / 0.5745 GB, free: 60.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.478, allocations: 73.69 kB / 0.5746 GB, free: 60.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004638/1.479, allocations: 112.4 kB / 0.5747 GB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/1.479, allocations: 43.94 kB / 0.5747 GB, free: 60.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003691/1.483, allocations: 1.264 MB / 0.5759 GB, free: 59.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.71e-07/1.483, allocations: 0 / 0.5759 GB, free: 59.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0053/1.488, allocations: 0.6468 MB / 0.5766 GB, free: 59.79 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.002332/1.491, allocations: 0.6398 MB / 0.5772 GB, free: 59.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00753/1.498, allocations: 2.381 MB / 0.5795 GB, free: 58.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.498, allocations: 0 / 0.5795 GB, free: 58.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005538/1.504, allocations: 1.639 MB / 0.5811 GB, free: 57.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005537/1.509, allocations: 0.5128 MB / 0.5816 GB, free: 57.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/1.53, allocations: 7.135 MB / 0.5886 GB, free: 53.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004634/1.534, allocations: 2.411 MB / 0.5909 GB, free: 52.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003608/1.538, allocations: 423.9 kB / 0.5913 GB, free: 52.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.539, allocations: 136.2 kB / 0.5915 GB, free: 52.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/1.539, allocations: 4 kB / 0.5915 GB, free: 52.11 MB / 410.7 MB Notification: Performance of Templates: time 0.1113/1.65, allocations: 31.06 MB / 0.6218 GB, free: 46.63 MB / 410.7 MB