Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 194.8 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000549/0.0005488, allocations: 8 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4046, allocations: 44.52 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5779/0.9826, allocations: 145.1 MB / 453.7 MB, free: 44.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.983, allocations: 106.2 kB / 453.8 MB, free: 44.35 MB / 346.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 1.877/2.86, allocations: 358.1 MB / 0.7929 GB, free: 41.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/2.86, allocations: 3.75 kB / 0.7929 GB, free: 41.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009409/2.861, allocations: 253.4 kB / 0.7931 GB, free: 41.65 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.05348/2.914, allocations: 11.19 MB / 0.804 GB, free: 37.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/2.914, allocations: 14.22 kB / 0.804 GB, free: 37.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008112/2.922, allocations: 1.575 MB / 0.8056 GB, free: 37.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04469/2.967, allocations: 5.434 MB / 0.8109 GB, free: 37.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03339/3.001, allocations: 9.486 MB / 0.8201 GB, free: 35.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001323/3.002, allocations: 0.8109 MB / 0.8209 GB, free: 35.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006163/3.008, allocations: 1.063 MB / 0.822 GB, free: 35.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06374/3.072, allocations: 18.13 MB / 0.8397 GB, free: 29.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007286/3.073, allocations: 19.75 kB / 0.8397 GB, free: 29.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005173/3.078, allocations: 466.1 kB / 0.8401 GB, free: 28.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001137/3.079, allocations: 0.7403 MB / 0.8409 GB, free: 27.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05249/3.132, allocations: 16.83 MB / 0.8573 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5429/3.675, allocations: 58.15 MB / 0.9141 GB, free: 24.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0394/3.714, allocations: 26.17 MB / 0.9397 GB, free: 24.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06298/3.777, allocations: 22.54 MB / 0.9617 GB, free: 20.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01449/3.792, allocations: 5.525 MB / 0.9671 GB, free: 18.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=706): time 1.493e-05/3.792, allocations: 4.766 kB / 0.9671 GB, free: 18.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=724): time 0.1545/3.946, allocations: 43.78 MB / 1.01 GB, free: 13.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002645/3.947, allocations: 425.4 kB / 1.01 GB, free: 13.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/3.957, allocations: 3.5 MB / 1.014 GB, free: 11.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00185/3.959, allocations: 132.2 kB / 1.014 GB, free: 11.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00828/3.968, allocations: 4.286 MB / 1.018 GB, free: 8.445 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00623/3.974, allocations: 2.423 MB / 1.02 GB, free: 6.574 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002411/3.977, allocations: 135.2 kB / 1.02 GB, free: 6.469 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001378/3.978, allocations: 0.5967 MB / 1.021 GB, free: 6.035 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01854/3.997, allocations: 4.506 MB / 1.025 GB, free: 4.137 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02169/4.018, allocations: 6.211 MB / 1.031 GB, free: 14.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02092/4.039, allocations: 5.554 MB / 1.037 GB, free: 9.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.198e-05/4.039, allocations: 14.86 kB / 1.037 GB, free: 9.148 MB / 474.7 MB Notification: Performance of matching and sorting (n=952) (initialization): time 0.4397/4.479, allocations: 13.92 MB / 1.051 GB, free: 82.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/4.479, allocations: 59.61 kB / 1.051 GB, free: 82.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/4.479, allocations: 41.81 kB / 1.051 GB, free: 82.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0187/4.498, allocations: 3.859 MB / 1.054 GB, free: 82.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/4.509, allocations: 1.318 MB / 1.056 GB, free: 82.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02525/4.534, allocations: 16.76 MB / 1.072 GB, free: 75.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009031/4.543, allocations: 381 kB / 1.072 GB, free: 75.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002302/4.545, allocations: 306.7 kB / 1.073 GB, free: 75.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 200 * 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 (693): * Single equations (assignments): 651 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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: 4 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of prepare postOptimizeDAE: time 0.01236/4.558, allocations: 3.943 MB / 1.077 GB, free: 74.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002328/4.56, allocations: 0.5429 MB / 1.077 GB, free: 74.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04362/4.604, allocations: 13.62 MB / 1.09 GB, free: 74.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002803/4.604, allocations: 160 kB / 1.091 GB, free: 74.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.172e-05/4.604, allocations: 14.19 kB / 1.091 GB, free: 74.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000201/4.604, allocations: 31.03 kB / 1.091 GB, free: 74.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0745/4.679, allocations: 27.08 MB / 1.117 GB, free: 69.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.501e-05/4.679, allocations: 2.312 kB / 1.117 GB, free: 69.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008043/4.687, allocations: 0.8952 MB / 1.118 GB, free: 69.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/4.701, allocations: 3.993 MB / 1.122 GB, free: 67.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00184/4.703, allocations: 166.8 kB / 1.122 GB, free: 67.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03026/4.733, allocations: 21.02 MB / 1.142 GB, free: 52.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/4.733, allocations: 5.375 kB / 1.142 GB, free: 52.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0527/4.786, allocations: 20.03 MB / 1.162 GB, free: 43.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006527/4.793, allocations: 1.656 MB / 1.164 GB, free: 42.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003022/4.796, allocations: 119.8 kB / 1.164 GB, free: 42.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007259/4.803, allocations: 305.5 kB / 1.164 GB, free: 42.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002672/4.806, allocations: 0.5176 MB / 1.165 GB, free: 42.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001561/4.807, allocations: 197.4 kB / 1.165 GB, free: 42.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007122/4.814, allocations: 2.673 MB / 1.167 GB, free: 41.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.01e-07/4.815, allocations: 0 / 1.167 GB, free: 41.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0123/4.827, allocations: 2.037 MB / 1.169 GB, free: 40.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.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 (486): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of Backend phase and start with SimCode phase: time 0.05446/4.881, allocations: 21.69 MB / 1.191 GB, free: 22.47 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03219/4.914, allocations: 11.94 MB / 1.202 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/4.914, allocations: 0 / 1.202 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01957/4.933, allocations: 6.752 MB / 1.209 GB, free: 5.941 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01083/4.944, allocations: 1.195 MB / 1.21 GB, free: 4.996 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4945/5.439, allocations: 68.31 MB / 1.277 GB, free: 35.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01702/5.456, allocations: 7.186 MB / 1.284 GB, free: 34.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0109/5.467, allocations: 1.662 MB / 1.285 GB, free: 33.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01114/5.478, allocations: 4.139 MB / 1.289 GB, free: 33.84 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/5.478, allocations: 2.297 kB / 1.289 GB, free: 33.84 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7916/6.269, allocations: 194.1 MB / 1.479 GB, free: 65.37 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/6.27, allocations: 316.4 kB / 1.479 GB, free: 65 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/16.67, allocations: 0 / 1.479 GB, free: 65 MB / 474.7 MB