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_DOL_MultiPhase.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_DOL_MultiPhase,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005678/0.0005679, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.407, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.5999, allocations: 106.9 MB / 415.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/0.6003, allocations: 87.95 kB / 415.5 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.311/1.912, allocations: 182.8 MB / 0.5843 GB, free: 34.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.487e-06/1.912, allocations: 0.75 kB / 0.5843 GB, free: 34.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007556/1.913, allocations: 191.3 kB / 0.5845 GB, free: 34.1 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03635/1.949, allocations: 8.359 MB / 0.5927 GB, free: 31.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.949, allocations: 14.97 kB / 0.5927 GB, free: 31.29 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005745/1.955, allocations: 1.104 MB / 0.5938 GB, free: 31.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02262/1.978, allocations: 1.831 MB / 0.5956 GB, free: 30.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03251/2.01, allocations: 6.996 MB / 0.6024 GB, free: 29.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008692/2.011, allocations: 0.5927 MB / 0.603 GB, free: 29.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003647/2.015, allocations: 0.7946 MB / 0.6038 GB, free: 29.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0377/2.052, allocations: 10.99 MB / 0.6145 GB, free: 28.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005314/2.053, allocations: 7.719 kB / 0.6145 GB, free: 28.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003163/2.056, allocations: 338.3 kB / 0.6148 GB, free: 28.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004412/2.057, allocations: 368.5 kB / 0.6152 GB, free: 28.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03655/2.093, allocations: 9.321 MB / 0.6243 GB, free: 28.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/2.195, allocations: 34.56 MB / 0.658 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03085/2.226, allocations: 19.87 MB / 0.6774 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02544/2.252, allocations: 7.992 MB / 0.6852 GB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.624e-05/2.252, allocations: 76.89 kB / 0.6853 GB, free: 7.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=343): time 6.963e-06/2.252, allocations: 0 / 0.6853 GB, free: 7.316 MB / 410.7 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=377): time 0.07955/2.331, allocations: 18.01 MB / 0.7029 GB, free: 8.949 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/2.332, allocations: 90.38 kB / 0.703 GB, free: 8.848 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/2.343, allocations: 3.84 MB / 0.7067 GB, free: 5.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009905/2.344, allocations: 89.7 kB / 0.7068 GB, free: 5.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004774/2.349, allocations: 3.488 MB / 0.7102 GB, free: 2.387 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002279/2.351, allocations: 1.259 MB / 0.7115 GB, free: 1.254 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004927/2.352, allocations: 88 kB / 0.7115 GB, free: 1.168 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003962/2.352, allocations: 468.8 kB / 0.712 GB, free: 0.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01236/2.365, allocations: 2.394 MB / 0.7143 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3308/2.695, allocations: 3.021 MB / 0.7173 GB, free: 61.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007637/2.703, allocations: 2.53 MB / 0.7197 GB, free: 61.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.779e-05/2.703, allocations: 6.594 kB / 0.7197 GB, free: 61.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.02401/2.727, allocations: 6.667 MB / 0.7263 GB, free: 61.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.452e-05/2.727, allocations: 20.03 kB / 0.7263 GB, free: 61.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.148e-05/2.728, allocations: 33.84 kB / 0.7263 GB, free: 61.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005055/2.733, allocations: 1.142 MB / 0.7274 GB, free: 61.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006982/2.74, allocations: 0.8434 MB / 0.7283 GB, free: 61.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02889/2.769, allocations: 18.42 MB / 0.7462 GB, free: 52.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006267/2.775, allocations: 202.1 kB / 0.7464 GB, free: 52.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/2.776, allocations: 164 kB / 0.7466 GB, free: 52.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 433 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(3,100.0%) 31,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007705/2.784, allocations: 2.618 MB / 0.7491 GB, free: 51.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/2.785, allocations: 467.2 kB / 0.7496 GB, free: 51.93 MB / 426.7 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/2.806, allocations: 6.369 MB / 0.7558 GB, free: 51.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-05/2.806, allocations: 34.22 kB / 0.7558 GB, free: 51.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.019e-05/2.806, allocations: 21.38 kB / 0.7559 GB, free: 51.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/2.806, allocations: 18.52 kB / 0.7559 GB, free: 51.43 MB / 426.7 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[1] ; aimc3.is[2] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04244/2.849, allocations: 14.28 MB / 0.7698 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.158e-05/2.849, allocations: 10.16 kB / 0.7698 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00443/2.853, allocations: 481.5 kB / 0.7703 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006642/2.86, allocations: 1.495 MB / 0.7717 GB, free: 50.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009714/2.861, allocations: 104.3 kB / 0.7718 GB, free: 50 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03955/2.901, allocations: 25.81 MB / 0.7971 GB, free: 31.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/2.901, allocations: 11.55 kB / 0.7971 GB, free: 31.27 MB / 426.7 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02517/2.926, allocations: 9.548 MB / 0.8064 GB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004059/2.93, allocations: 1.034 MB / 0.8074 GB, free: 25.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001901/2.932, allocations: 89.88 kB / 0.8075 GB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005345/2.937, allocations: 199.2 kB / 0.8077 GB, free: 25.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001672/2.939, allocations: 351.9 kB / 0.808 GB, free: 25.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009679/2.94, allocations: 111.5 kB / 0.8081 GB, free: 25.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009059/2.949, allocations: 2.944 MB / 0.811 GB, free: 24.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.949, allocations: 2.844 kB / 0.811 GB, free: 24.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00943/2.959, allocations: 1.546 MB / 0.8125 GB, free: 24.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.is[3],aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.stator.zeroInductor.i0,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 232 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(5,72.0%) 29,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 1,(6,72.2%) 46,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of Backend phase and start with SimCode phase: time 0.02786/2.987, allocations: 11.43 MB / 0.8237 GB, free: 18.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01711/3.004, allocations: 6.416 MB / 0.8299 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/3.004, allocations: 0 / 0.8299 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01159/3.016, allocations: 4.409 MB / 0.8342 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009327/3.025, allocations: 1.185 MB / 0.8354 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4707/3.496, allocations: 67.44 MB / 0.9013 GB, free: 77.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01094/3.507, allocations: 5.304 MB / 0.9064 GB, free: 76.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007328/3.514, allocations: 1.058 MB / 0.9075 GB, free: 76.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007436/3.521, allocations: 3.091 MB / 0.9105 GB, free: 76.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/3.522, allocations: 0 / 0.9105 GB, free: 76.69 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6865/4.208, allocations: 130.6 MB / 1.038 GB, free: 47.69 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/4.208, allocations: 230.6 kB / 1.038 GB, free: 47.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/12.27, allocations: 0.5625 kB / 1.038 GB, free: 47.45 MB / 458.7 MB