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_YD.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_YD,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.411/2.411, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.4966, allocations: 105.5 MB / 414 MB, free: 3.145 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/0.497, allocations: 87.95 kB / 414.1 MB, free: 3.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5557/1.053, allocations: 88.22 MB / 0.4906 GB, free: 22.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.053, allocations: 0 / 0.4906 GB, free: 22.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003648/1.053, allocations: 87.92 kB / 0.4907 GB, free: 22.6 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01629/1.069, allocations: 4.062 MB / 0.4946 GB, free: 18.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.07, allocations: 8.031 kB / 0.4946 GB, free: 18.46 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002072/1.072, allocations: 0.5099 MB / 0.4951 GB, free: 17.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/1.078, allocations: 0.7952 MB / 0.4959 GB, free: 17.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/1.09, allocations: 3.688 MB / 0.4995 GB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/1.09, allocations: 275.2 kB / 0.4998 GB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/1.092, allocations: 364.2 kB / 0.5001 GB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/1.106, allocations: 4.948 MB / 0.505 GB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/1.106, allocations: 7.984 kB / 0.505 GB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006321/1.107, allocations: 156 kB / 0.5051 GB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/1.107, allocations: 151.2 kB / 0.5053 GB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/1.119, allocations: 4.167 MB / 0.5093 GB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04456/1.164, allocations: 15.98 MB / 0.5249 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01814/1.182, allocations: 7.79 MB / 0.5325 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01689/1.199, allocations: 4.07 MB / 0.5365 GB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.941e-05/1.199, allocations: 48.56 kB / 0.5366 GB, free: 5.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 6.763e-06/1.199, allocations: 4 kB / 0.5366 GB, free: 5.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=170): time 0.04158/1.241, allocations: 8.242 MB / 0.5446 GB, free: 13.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/1.241, allocations: 73.41 kB / 0.5447 GB, free: 13.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005941/1.247, allocations: 1.883 MB / 0.5465 GB, free: 11.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004397/1.247, allocations: 57.7 kB / 0.5466 GB, free: 11.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002181/1.249, allocations: 1.612 MB / 0.5482 GB, free: 9.805 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.251, allocations: 0.5621 MB / 0.5487 GB, free: 9.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/1.251, allocations: 40 kB / 0.5487 GB, free: 9.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002665/1.251, allocations: 377.9 kB / 0.5491 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/1.255, allocations: 0.9565 MB / 0.55 GB, free: 7.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/1.258, allocations: 1.419 MB / 0.5514 GB, free: 6.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/1.262, allocations: 1.173 MB / 0.5526 GB, free: 5.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-05/1.262, allocations: 4 kB / 0.5526 GB, free: 5.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01055/1.273, allocations: 3.34 MB / 0.5558 GB, free: 1.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/1.273, allocations: 12 kB / 0.5558 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/1.273, allocations: 12 kB / 0.5559 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003267/1.276, allocations: 0.7366 MB / 0.5566 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/1.279, allocations: 371.4 kB / 0.5569 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3318/1.611, allocations: 10.63 MB / 0.5673 GB, free: 72.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/1.614, allocations: 99.02 kB / 0.5674 GB, free: 72.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004355/1.614, allocations: 75.59 kB / 0.5675 GB, free: 72.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 188 * 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 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003426/1.618, allocations: 1.211 MB / 0.5687 GB, free: 72.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007358/1.619, allocations: 230.7 kB / 0.5689 GB, free: 72.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009037/1.628, allocations: 3.239 MB / 0.572 GB, free: 72.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/1.628, allocations: 19.56 kB / 0.5721 GB, free: 72.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/1.628, allocations: 10.31 kB / 0.5721 GB, free: 72.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-05/1.628, allocations: 7.734 kB / 0.5721 GB, free: 72.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/1.646, allocations: 6.692 MB / 0.5786 GB, free: 71.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/1.646, allocations: 2.938 kB / 0.5786 GB, free: 71.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.649, allocations: 189.1 kB / 0.5788 GB, free: 71.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005016/1.654, allocations: 0.916 MB / 0.5797 GB, free: 71.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000424/1.654, allocations: 49.36 kB / 0.5797 GB, free: 71.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03027/1.685, allocations: 15.09 MB / 0.5945 GB, free: 63.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.685, allocations: 3.812 kB / 0.5945 GB, free: 63.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/1.701, allocations: 4.732 MB / 0.5991 GB, free: 62.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/1.703, allocations: 0.5379 MB / 0.5996 GB, free: 62.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.704, allocations: 35.56 kB / 0.5997 GB, free: 62.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/1.708, allocations: 92.58 kB / 0.5997 GB, free: 62.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001044/1.709, allocations: 166.8 kB / 0.5999 GB, free: 62.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002733/1.709, allocations: 42.75 kB / 0.5999 GB, free: 62.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004934/1.714, allocations: 1.459 MB / 0.6014 GB, free: 61.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.343e-06/1.714, allocations: 0 / 0.6014 GB, free: 61.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006101/1.72, allocations: 0.7424 MB / 0.6021 GB, free: 61.54 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.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * 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%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01444/1.735, allocations: 5.925 MB / 0.6079 GB, free: 58.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007911/1.743, allocations: 3.153 MB / 0.611 GB, free: 56.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.743, allocations: 0 / 0.611 GB, free: 56.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005776/1.749, allocations: 2.313 MB / 0.6132 GB, free: 55.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004897/1.754, allocations: 0.5999 MB / 0.6138 GB, free: 55.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06136/1.815, allocations: 29.46 MB / 0.6426 GB, free: 34.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008372/1.823, allocations: 2.741 MB / 0.6453 GB, free: 33.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00505/1.829, allocations: 473.5 kB / 0.6457 GB, free: 33.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004411/1.833, allocations: 1.328 MB / 0.647 GB, free: 32.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/1.833, allocations: 0 / 0.647 GB, free: 32.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1644/1.997, allocations: 64.67 MB / 0.7102 GB, free: 11.05 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004135/1.998, allocations: 221.3 kB / 0.7104 GB, free: 10.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.983/6.981, allocations: 0 / 0.7104 GB, free: 10.8 MB / 426.7 MB