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_Transformer.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_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.193/2.193, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003658, allocations: 8 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3089, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.7789, allocations: 113.2 MB / 421.8 MB, free: 48.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.7793, allocations: 92.44 kB / 421.9 MB, free: 48.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5004/1.28, allocations: 133.3 MB / 0.5422 GB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.4e-06/1.28, allocations: 3.984 kB / 0.5422 GB, free: 8.707 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000601/1.28, allocations: 127.9 kB / 0.5423 GB, free: 8.582 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02523/1.306, allocations: 5.27 MB / 0.5474 GB, free: 3.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/1.306, allocations: 15.95 kB / 0.5474 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003618/1.309, allocations: 0.6826 MB / 0.5481 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008242/1.318, allocations: 0.9735 MB / 0.5491 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/1.336, allocations: 4.527 MB / 0.5535 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006693/1.337, allocations: 357.8 kB / 0.5538 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002737/1.34, allocations: 483.9 kB / 0.5543 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03007/1.37, allocations: 6.735 MB / 0.5609 GB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/1.37, allocations: 7.938 kB / 0.5609 GB, free: 5.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001744/1.372, allocations: 212 kB / 0.5611 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000391/1.372, allocations: 241.7 kB / 0.5613 GB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3422/1.715, allocations: 5.577 MB / 0.5667 GB, free: 52.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06002/1.775, allocations: 21.01 MB / 0.5873 GB, free: 48.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01766/1.792, allocations: 9.933 MB / 0.597 GB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02106/1.813, allocations: 5.483 MB / 0.6023 GB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/1.814, allocations: 60.56 kB / 0.6024 GB, free: 41.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=227): time 5.68e-06/1.814, allocations: 0 / 0.6024 GB, free: 41.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.03426/1.848, allocations: 10.03 MB / 0.6122 GB, free: 39.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/1.848, allocations: 82.84 kB / 0.6122 GB, free: 38.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00671/1.855, allocations: 2.635 MB / 0.6148 GB, free: 38.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005695/1.855, allocations: 68.39 kB / 0.6149 GB, free: 38.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001988/1.857, allocations: 2.146 MB / 0.617 GB, free: 38.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.858, allocations: 0.7808 MB / 0.6177 GB, free: 37.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/1.859, allocations: 48.94 kB / 0.6178 GB, free: 37.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/1.859, allocations: 409.7 kB / 0.6182 GB, free: 37.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/1.862, allocations: 1.309 MB / 0.6195 GB, free: 37.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003996/1.866, allocations: 1.87 MB / 0.6213 GB, free: 36.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/1.871, allocations: 1.604 MB / 0.6229 GB, free: 36.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.51e-05/1.871, allocations: 7.125 kB / 0.6229 GB, free: 36.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01223/1.883, allocations: 4.244 MB / 0.627 GB, free: 35.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/1.883, allocations: 14.25 kB / 0.627 GB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.407e-05/1.883, allocations: 17.25 kB / 0.627 GB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/1.886, allocations: 0.6462 MB / 0.6277 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/1.89, allocations: 0.5634 MB / 0.6282 GB, free: 35.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/1.905, allocations: 10.2 MB / 0.6382 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00379/1.909, allocations: 112.1 kB / 0.6383 GB, free: 27.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004526/1.909, allocations: 102.3 kB / 0.6384 GB, free: 27.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004374/1.914, allocations: 1.614 MB / 0.64 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.915, allocations: 318.9 kB / 0.6403 GB, free: 26.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.925, allocations: 4.009 MB / 0.6442 GB, free: 25.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/1.925, allocations: 22.31 kB / 0.6442 GB, free: 25.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/1.925, allocations: 10.16 kB / 0.6442 GB, free: 25.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/1.926, allocations: 11.62 kB / 0.6442 GB, free: 25.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/1.952, allocations: 8.719 MB / 0.6527 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-05/1.952, allocations: 3.5 kB / 0.6527 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004348/1.956, allocations: 363.8 kB / 0.6531 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005356/1.962, allocations: 0.8181 MB / 0.6539 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007114/1.962, allocations: 59.8 kB / 0.6539 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/1.991, allocations: 14.68 MB / 0.6683 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.991, allocations: 7.484 kB / 0.6683 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01667/2.008, allocations: 6.007 MB / 0.6742 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/2.011, allocations: 0.7017 MB / 0.6748 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001614/2.013, allocations: 58.12 kB / 0.6749 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003621/2.016, allocations: 125.6 kB / 0.675 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009326/2.017, allocations: 197.3 kB / 0.6752 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002683/2.018, allocations: 69.47 kB / 0.6753 GB, free: 6.297 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004984/2.023, allocations: 2.029 MB / 0.6772 GB, free: 5.523 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.164e-06/2.023, allocations: 0 / 0.6772 GB, free: 5.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006026/2.029, allocations: 0.9948 MB / 0.6782 GB, free: 5.426 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(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.01749/2.046, allocations: 7.382 MB / 0.6854 GB, free: 17.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0103/2.057, allocations: 3.956 MB / 0.6893 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/2.057, allocations: 0 / 0.6893 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006682/2.063, allocations: 2.699 MB / 0.6919 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006611/2.07, allocations: 0.8676 MB / 0.6928 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4175/2.488, allocations: 39.71 MB / 0.7316 GB, free: 77.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01327/2.501, allocations: 3.515 MB / 0.735 GB, free: 76.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01161/2.513, allocations: 0.7533 MB / 0.7357 GB, free: 76.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01232/2.525, allocations: 1.823 MB / 0.7375 GB, free: 76.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.753e-06/2.525, allocations: 0 / 0.7375 GB, free: 76.26 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2099/2.735, allocations: 86.54 MB / 0.822 GB, free: 58.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/2.735, allocations: 235.5 kB / 0.8222 GB, free: 57.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.174/8.91, allocations: 0 / 0.8222 GB, free: 57.95 MB / 442.7 MB