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.SMEE_Rectifier.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.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005115, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3081, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4845/0.7926, allocations: 125.3 MB / 433.9 MB, free: 49.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.7929, allocations: 87.31 kB / 434 MB, free: 49.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.352/1.145, allocations: 95.35 MB / 0.5169 GB, free: 2.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.317e-06/1.145, allocations: 4 kB / 0.5169 GB, free: 2.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005059/1.146, allocations: 95.86 kB / 0.517 GB, free: 2.699 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01913/1.165, allocations: 4.159 MB / 0.5211 GB, free: 14.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.165, allocations: 8.031 kB / 0.5211 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002212/1.167, allocations: 0.5061 MB / 0.5216 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007802/1.175, allocations: 0.9083 MB / 0.5225 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/1.19, allocations: 3.607 MB / 0.526 GB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000443/1.191, allocations: 279.3 kB / 0.5263 GB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/1.192, allocations: 363.9 kB / 0.5266 GB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/1.209, allocations: 4.599 MB / 0.5311 GB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/1.209, allocations: 7.938 kB / 0.5311 GB, free: 4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008495/1.21, allocations: 160 kB / 0.5313 GB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/1.21, allocations: 155.2 kB / 0.5314 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/1.224, allocations: 3.784 MB / 0.5351 GB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04229/1.266, allocations: 15.72 MB / 0.5505 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/1.28, allocations: 7.903 MB / 0.5582 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0133/1.293, allocations: 4.34 MB / 0.5624 GB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/1.293, allocations: 60.5 kB / 0.5625 GB, free: 2.441 MB / 410.7 MB Notification: Performance of pre-optimization done (n=188): time 5.41e-06/1.293, allocations: 0 / 0.5625 GB, free: 2.441 MB / 410.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=221): time 0.3189/1.612, allocations: 9.039 MB / 0.5713 GB, free: 71.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.612, allocations: 179.1 kB / 0.5715 GB, free: 71.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00656/1.619, allocations: 1.904 MB / 0.5733 GB, free: 71.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005702/1.62, allocations: 65.89 kB / 0.5734 GB, free: 71.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/1.622, allocations: 1.651 MB / 0.575 GB, free: 70.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001383/1.623, allocations: 0.7423 MB / 0.5757 GB, free: 70.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/1.624, allocations: 47.5 kB / 0.5758 GB, free: 70.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002631/1.624, allocations: 410.1 kB / 0.5762 GB, free: 69.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003973/1.628, allocations: 1.006 MB / 0.5771 GB, free: 69.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004733/1.633, allocations: 1.637 MB / 0.5787 GB, free: 69.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004182/1.637, allocations: 1.274 MB / 0.58 GB, free: 69.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/1.637, allocations: 9.469 kB / 0.58 GB, free: 69.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01305/1.65, allocations: 3.674 MB / 0.5836 GB, free: 68.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002268/1.652, allocations: 7.268 MB / 0.5907 GB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/1.653, allocations: 17.56 kB / 0.5907 GB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00486/1.657, allocations: 0.7995 MB / 0.5915 GB, free: 61.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005551/1.663, allocations: 0.4896 MB / 0.592 GB, free: 61.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02647/1.69, allocations: 11.33 MB / 0.603 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/1.693, allocations: 103.7 kB / 0.6031 GB, free: 55.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000553/1.693, allocations: 103.6 kB / 0.6032 GB, free: 55.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.693, allocations: 3.5 kB / 0.6032 GB, free: 55.69 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009229/1.703, allocations: 3.393 MB / 0.6065 GB, free: 55.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.195e-05/1.703, allocations: 22 kB / 0.6066 GB, free: 55.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003037/1.706, allocations: 0.7979 MB / 0.6073 GB, free: 55.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00361/1.709, allocations: 491.1 kB / 0.6078 GB, free: 55.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0175/1.727, allocations: 11.35 MB / 0.6189 GB, free: 50.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/1.73, allocations: 94.7 kB / 0.619 GB, free: 50.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005095/1.731, allocations: 101.7 kB / 0.6191 GB, free: 50.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 252 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(5,80.0%) 32} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00414/1.735, allocations: 1.168 MB / 0.6202 GB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.736, allocations: 273.2 kB / 0.6205 GB, free: 49.75 MB / 410.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.748, allocations: 3.276 MB / 0.6237 GB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/1.748, allocations: 21.28 kB / 0.6237 GB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.102e-05/1.748, allocations: 12.78 kB / 0.6237 GB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.247e-05/1.748, allocations: 10.59 kB / 0.6237 GB, free: 48.26 MB / 410.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02296/1.771, allocations: 6.926 MB / 0.6305 GB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/1.771, allocations: 3.797 kB / 0.6305 GB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003708/1.774, allocations: 326.3 kB / 0.6308 GB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004045/1.779, allocations: 0.8058 MB / 0.6316 GB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003952/1.779, allocations: 49.38 kB / 0.6316 GB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02518/1.804, allocations: 12.71 MB / 0.644 GB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.804, allocations: 2.375 kB / 0.644 GB, free: 35.28 MB / 410.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.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.01507/1.819, allocations: 4.847 MB / 0.6488 GB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/1.822, allocations: 0.5631 MB / 0.6493 GB, free: 32.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000981/1.823, allocations: 50.81 kB / 0.6494 GB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.826, allocations: 94.33 kB / 0.6495 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007378/1.826, allocations: 163.2 kB / 0.6496 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.827, allocations: 61.16 kB / 0.6497 GB, free: 32.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003527/1.83, allocations: 1.455 MB / 0.6511 GB, free: 31.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.894e-06/1.83, allocations: 0 / 0.6511 GB, free: 31.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007939/1.838, allocations: 1.441 MB / 0.6525 GB, free: 31.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.is[3],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.zeroInductor.i0,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 155 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,61.1%) 31,(1,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.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.01327/1.851, allocations: 6.183 MB / 0.6585 GB, free: 28.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01381/1.865, allocations: 5.941 MB / 0.6643 GB, free: 25.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.865, allocations: 7.203 kB / 0.6643 GB, free: 25.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004973/1.87, allocations: 2.216 MB / 0.6665 GB, free: 24.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00469/1.875, allocations: 0.622 MB / 0.6671 GB, free: 23.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/1.901, allocations: 22.43 MB / 0.689 GB, free: 3.246 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003807/1.905, allocations: 2.627 MB / 0.6916 GB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004135/1.909, allocations: 0.6356 MB / 0.6922 GB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005023/1.914, allocations: 1.525 MB / 0.6937 GB, free: 15.92 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/1.914, allocations: 0 / 0.6937 GB, free: 15.92 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4646/2.379, allocations: 76.49 MB / 0.7684 GB, free: 75.27 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/2.379, allocations: 240.4 kB / 0.7686 GB, free: 75.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.368/8.747, allocations: 3.938 kB / 0.7686 GB, free: 75.02 MB / 426.7 MB