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 1.916/1.916, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003822, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2884, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.02368/0.3121, allocations: 10.89 MB / 319.5 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.3266, allocations: 4.444 MB / 323.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.3292, allocations: 59.75 kB / 324 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004637/0.3339, allocations: 0.8553 MB / 324.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006635/0.3406, allocations: 1.184 MB / 326 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004082/0.3447, allocations: 0.6781 MB / 326.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00893/0.3536, allocations: 2.839 MB / 329.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006096/0.3598, allocations: 2.206 MB / 331.7 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.3635, allocations: 1.269 MB / 333 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/0.3683, allocations: 1.545 MB / 334.5 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009557/0.3693, allocations: 208 kB / 334.7 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.3715, allocations: 383.8 kB / 335.1 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.373, allocations: 0.7475 MB / 335.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.3743, allocations: 0.746 MB / 336.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008637/0.383, allocations: 5.505 MB / 342.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3831, allocations: 3.938 kB / 342.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.3831, allocations: 4 kB / 342.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000152/0.3832, allocations: 0 / 342.1 MB, free: 11.07 MB / 282.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.01538/0.3986, allocations: 3.859 MB / 346 MB, free: 7.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.3987, allocations: 8.031 kB / 346 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001611/0.4003, allocations: 451.5 kB / 346.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00686/0.4072, allocations: 0.8348 MB / 347.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006653/0.4139, allocations: 2.194 MB / 349.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/0.4143, allocations: 250.3 kB / 349.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.4154, allocations: 327.8 kB / 350 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.4285, allocations: 4.229 MB / 354.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.4287, allocations: 11.97 kB / 354.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005218/0.4292, allocations: 128 kB / 354.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002456/0.4295, allocations: 154.4 kB / 354.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.4413, allocations: 3.601 MB / 358.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03671/0.4781, allocations: 13.44 MB / 371.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.4901, allocations: 6.946 MB / 378.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009634/0.4998, allocations: 3.296 MB / 381.8 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002387/0.5022, allocations: 0.9158 MB / 382.7 MB, free: 0.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=143): time 4.92e-06/0.5023, allocations: 0 / 382.7 MB, free: 0.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=152): time 0.02395/0.5262, allocations: 6.909 MB / 389.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.5264, allocations: 226.9 kB / 389.9 MB, free: 9.504 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00422/0.5306, allocations: 1.827 MB / 391.7 MB, free: 7.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003043/0.531, allocations: 53.7 kB / 391.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001894/0.5329, allocations: 1.451 MB / 393.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000838/0.5338, allocations: 0.5083 MB / 393.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.534, allocations: 36 kB / 393.7 MB, free: 5.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.5342, allocations: 385.8 kB / 394.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.5363, allocations: 0.7067 MB / 394.8 MB, free: 4.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/0.539, allocations: 1.237 MB / 396.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.5418, allocations: 0.9595 MB / 397 MB, free: 2.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.5418, allocations: 4 kB / 397 MB, free: 2.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007447/0.5493, allocations: 2.559 MB / 399.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/0.5494, allocations: 45.7 kB / 399.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-05/0.5495, allocations: 15.94 kB / 399.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.5507, allocations: 295.4 kB / 399.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/0.5538, allocations: 399.4 kB / 400.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008912/0.5628, allocations: 5.929 MB / 406.3 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.5651, allocations: 104.1 kB / 406.4 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.5654, allocations: 72 kB / 406.4 MB, free: 8.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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.002806/0.5683, allocations: 1.036 MB / 407.5 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005793/0.5688, allocations: 205.5 kB / 407.7 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006917/0.5758, allocations: 2.368 MB / 410 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.5758, allocations: 16 kB / 410.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/0.5759, allocations: 8 kB / 410.1 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-05/0.5759, allocations: 7.969 kB / 410.1 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2706/0.8465, allocations: 5.453 MB / 415.5 MB, free: 88.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/0.8466, allocations: 1.938 kB / 415.5 MB, free: 88.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/0.8485, allocations: 204.6 kB / 415.7 MB, free: 88.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/0.8508, allocations: 461.9 kB / 416.2 MB, free: 88.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/0.8511, allocations: 39.62 kB / 416.2 MB, free: 88.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/0.8641, allocations: 10.29 MB / 426.5 MB, free: 80.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.8641, allocations: 6.703 kB / 426.5 MB, free: 80.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007883/0.872, allocations: 3.303 MB / 429.8 MB, free: 79.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/0.8733, allocations: 449 kB / 430.3 MB, free: 78.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/0.8738, allocations: 38.97 kB / 430.3 MB, free: 78.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.8753, allocations: 70.77 kB / 430.4 MB, free: 78.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003616/0.8757, allocations: 112.5 kB / 430.5 MB, free: 78.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.8758, allocations: 47.27 kB / 430.5 MB, free: 78.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002468/0.8783, allocations: 1.251 MB / 431.8 MB, free: 78.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.232e-06/0.8783, allocations: 0 / 431.8 MB, free: 78.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002962/0.8813, allocations: 0.5995 MB / 432.4 MB, free: 78.27 MB / 346.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 (114): * Single equations (assignments): 107 * 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.00907/0.8904, allocations: 4.212 MB / 436.6 MB, free: 75.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005245/0.8957, allocations: 2.346 MB / 438.9 MB, free: 74.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.8958, allocations: 0 / 438.9 MB, free: 74.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003494/0.8993, allocations: 1.637 MB / 440.6 MB, free: 72.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/0.9028, allocations: 0.4916 MB / 441.1 MB, free: 72.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/0.9199, allocations: 9.158 MB / 450.2 MB, free: 62.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/0.9225, allocations: 2.41 MB / 452.6 MB, free: 60.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002355/0.9249, allocations: 417 kB / 453 MB, free: 60 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/0.9269, allocations: 1.175 MB / 454.2 MB, free: 58.83 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/0.927, allocations: 0 / 454.2 MB, free: 58.83 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1508/1.078, allocations: 49.34 MB / 0.4917 GB, free: 9.391 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/1.078, allocations: 271.5 kB / 0.492 GB, free: 9.023 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.278/5.356, allocations: 3.938 kB / 0.492 GB, free: 9.02 MB / 346.7 MB