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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003639, allocations: 8 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2951, allocations: 44.51 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.4889, allocations: 107.3 MB / 415.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/0.4893, allocations: 87.95 kB / 415.9 MB, free: 1.012 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 0.5635/1.053, allocations: 83.08 MB / 499 MB, free: 26.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.053, allocations: 0 / 499 MB, free: 26.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002616/1.053, allocations: 80.12 kB / 499.1 MB, free: 26.72 MB / 346.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.014/1.067, allocations: 3.679 MB / 0.491 GB, free: 22.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.067, allocations: 8.031 kB / 0.491 GB, free: 22.95 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001939/1.069, allocations: 459.5 kB / 0.4914 GB, free: 22.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005957/1.075, allocations: 0.745 MB / 0.4922 GB, free: 21.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/1.09, allocations: 3.375 MB / 0.4955 GB, free: 18.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004561/1.09, allocations: 242.4 kB / 0.4957 GB, free: 18.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/1.092, allocations: 331.8 kB / 0.496 GB, free: 17.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03889/1.131, allocations: 4.197 MB / 0.5001 GB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000182/1.131, allocations: 0 / 0.5001 GB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008805/1.132, allocations: 140 kB / 0.5002 GB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002402/1.132, allocations: 146.4 kB / 0.5004 GB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04254/1.175, allocations: 3.426 MB / 0.5037 GB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03491/1.21, allocations: 13.5 MB / 0.5169 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/1.222, allocations: 6.958 MB / 0.5237 GB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009907/1.232, allocations: 3.344 MB / 0.527 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002386/1.235, allocations: 0.9158 MB / 0.5279 GB, free: 15.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=143): time 4.999e-06/1.235, allocations: 0 / 0.5279 GB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=152): time 0.02386/1.259, allocations: 6.94 MB / 0.5346 GB, free: 8.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/1.259, allocations: 222.9 kB / 0.5349 GB, free: 8.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004276/1.263, allocations: 1.65 MB / 0.5365 GB, free: 6.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003869/1.264, allocations: 57.69 kB / 0.5365 GB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/1.266, allocations: 1.451 MB / 0.5379 GB, free: 5.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008415/1.266, allocations: 0.5238 MB / 0.5385 GB, free: 4.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/1.267, allocations: 36 kB / 0.5385 GB, free: 4.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002308/1.267, allocations: 381.8 kB / 0.5389 GB, free: 4.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/1.269, allocations: 0.7184 MB / 0.5396 GB, free: 3.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/1.272, allocations: 1.237 MB / 0.5408 GB, free: 1.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/1.275, allocations: 0.979 MB / 0.5417 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/1.275, allocations: 4 kB / 0.5417 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007689/1.282, allocations: 2.579 MB / 0.5442 GB, free: 14.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/1.282, allocations: 42.02 kB / 0.5443 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/1.283, allocations: 12 kB / 0.5443 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/1.284, allocations: 291.2 kB / 0.5446 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/1.287, allocations: 407.4 kB / 0.545 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008884/1.296, allocations: 5.921 MB / 0.5507 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/1.299, allocations: 99.86 kB / 0.5508 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003447/1.299, allocations: 79.98 kB / 0.5509 GB, free: 7.098 MB / 394.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.003243/1.302, allocations: 1.04 MB / 0.5519 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006832/1.303, allocations: 197.6 kB / 0.5521 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007058/1.31, allocations: 2.391 MB / 0.5545 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/1.31, allocations: 16 kB / 0.5545 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.31, allocations: 12 kB / 0.5545 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-05/1.31, allocations: 7.969 kB / 0.5545 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3076/1.618, allocations: 5.413 MB / 0.5598 GB, free: 80.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.618, allocations: 3.062 kB / 0.5598 GB, free: 80.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/1.62, allocations: 203.3 kB / 0.56 GB, free: 80.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/1.622, allocations: 460.8 kB / 0.5604 GB, free: 80.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003493/1.622, allocations: 47.33 kB / 0.5605 GB, free: 80.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/1.636, allocations: 10.32 MB / 0.5705 GB, free: 73.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.636, allocations: 3.125 kB / 0.5705 GB, free: 73.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008865/1.645, allocations: 3.431 MB / 0.5739 GB, free: 72.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/1.647, allocations: 457.4 kB / 0.5743 GB, free: 72.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006915/1.647, allocations: 39.42 kB / 0.5744 GB, free: 72.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.649, allocations: 68.22 kB / 0.5744 GB, free: 72.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004859/1.65, allocations: 111.6 kB / 0.5745 GB, free: 72.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.65, allocations: 41.81 kB / 0.5746 GB, free: 72.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003373/1.653, allocations: 1.266 MB / 0.5758 GB, free: 72.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.653, allocations: 2.844 kB / 0.5758 GB, free: 72.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004018/1.657, allocations: 0.6535 MB / 0.5764 GB, free: 72.74 MB / 394.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.01031/1.668, allocations: 4.91 MB / 0.5812 GB, free: 71.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005668/1.673, allocations: 2.373 MB / 0.5836 GB, free: 70.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.674, allocations: 0 / 0.5836 GB, free: 70.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003902/1.677, allocations: 1.636 MB / 0.5852 GB, free: 70.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004116/1.682, allocations: 0.4944 MB / 0.5856 GB, free: 70.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/1.705, allocations: 18.32 MB / 0.6035 GB, free: 56.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/1.709, allocations: 2.418 MB / 0.6059 GB, free: 55.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002567/1.711, allocations: 423.4 kB / 0.6063 GB, free: 55.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002571/1.714, allocations: 1.186 MB / 0.6075 GB, free: 55.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/1.714, allocations: 0 / 0.6075 GB, free: 55.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/1.843, allocations: 53.32 MB / 0.6595 GB, free: 30.96 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/1.843, allocations: 267.5 kB / 0.6598 GB, free: 30.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.603/6.446, allocations: 0 / 0.6598 GB, free: 30.6 MB / 394.7 MB