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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 2.207/2.207, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004855, allocations: 12 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09742, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4898/0.5873, allocations: 125.3 MB / 434.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.5877, allocations: 94.38 kB / 434.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3905/0.9782, allocations: 95.35 MB / 0.5174 GB, free: 7.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.9782, allocations: 0 / 0.5174 GB, free: 7.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004297/0.9787, allocations: 95.88 kB / 0.5175 GB, free: 7.641 MB / 410.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.01813/0.9968, allocations: 4.165 MB / 0.5215 GB, free: 3.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.9969, allocations: 12.03 kB / 0.5216 GB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007929/1.005, allocations: 0.8966 MB / 0.5224 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3013/1.306, allocations: 3.613 MB / 0.526 GB, free: 69.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004904/1.307, allocations: 273.5 kB / 0.5262 GB, free: 69.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/1.309, allocations: 365.2 kB / 0.5266 GB, free: 69.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/1.331, allocations: 4.6 MB / 0.5311 GB, free: 69.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/1.331, allocations: 9.172 kB / 0.5311 GB, free: 69.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001484/1.333, allocations: 155.5 kB / 0.5312 GB, free: 69.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000338/1.333, allocations: 152.3 kB / 0.5314 GB, free: 69.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/1.351, allocations: 3.787 MB / 0.5351 GB, free: 69.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06/1.411, allocations: 15.72 MB / 0.5504 GB, free: 66.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/1.427, allocations: 7.901 MB / 0.5581 GB, free: 60.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01704/1.444, allocations: 4.346 MB / 0.5624 GB, free: 59.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/1.444, allocations: 56.88 kB / 0.5624 GB, free: 59.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=188): time 7.123e-06/1.444, allocations: 3.281 kB / 0.5624 GB, free: 59.73 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.04215/1.486, allocations: 9.059 MB / 0.5713 GB, free: 57.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.486, allocations: 176.7 kB / 0.5715 GB, free: 57.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007281/1.494, allocations: 2.152 MB / 0.5736 GB, free: 56.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005887/1.494, allocations: 65.55 kB / 0.5736 GB, free: 56.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002129/1.497, allocations: 1.647 MB / 0.5752 GB, free: 54.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.498, allocations: 0.7503 MB / 0.576 GB, free: 54.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004445/1.498, allocations: 51 kB / 0.576 GB, free: 54.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003014/1.499, allocations: 411.9 kB / 0.5764 GB, free: 53.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004193/1.503, allocations: 1.007 MB / 0.5774 GB, free: 53.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004854/1.508, allocations: 1.637 MB / 0.579 GB, free: 52.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004938/1.513, allocations: 1.28 MB / 0.5802 GB, free: 51.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-05/1.513, allocations: 7.5 kB / 0.5802 GB, free: 51.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01665/1.53, allocations: 3.663 MB / 0.5838 GB, free: 50.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00047/1.53, allocations: 0.6128 MB / 0.5844 GB, free: 49.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.035e-05/1.53, allocations: 22.12 kB / 0.5844 GB, free: 49.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00332/1.534, allocations: 0.7927 MB / 0.5852 GB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003721/1.537, allocations: 0.4907 MB / 0.5857 GB, free: 49.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/1.559, allocations: 11.32 MB / 0.5967 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004692/1.564, allocations: 102.3 kB / 0.5968 GB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007026/1.564, allocations: 107.4 kB / 0.5969 GB, free: 41.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.565, allocations: 3.875 kB / 0.5969 GB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01296/1.577, allocations: 3.389 MB / 0.6003 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/1.578, allocations: 27.67 kB / 0.6003 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004266/1.582, allocations: 0.7964 MB / 0.6011 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004854/1.587, allocations: 493.8 kB / 0.6015 GB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/1.612, allocations: 11.35 MB / 0.6126 GB, free: 31.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004099/1.616, allocations: 93.48 kB / 0.6127 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006707/1.616, allocations: 102.5 kB / 0.6128 GB, free: 31.36 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.004283/1.621, allocations: 1.172 MB / 0.6139 GB, free: 30.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.622, allocations: 265.3 kB / 0.6142 GB, free: 30.55 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.01136/1.633, allocations: 3.281 MB / 0.6174 GB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/1.633, allocations: 21.31 kB / 0.6174 GB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.633, allocations: 6.031 kB / 0.6174 GB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.537e-05/1.633, allocations: 13.78 kB / 0.6174 GB, free: 29.02 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.01843/1.652, allocations: 6.913 MB / 0.6242 GB, free: 25.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/1.652, allocations: 3.438 kB / 0.6242 GB, free: 25.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/1.655, allocations: 329.4 kB / 0.6245 GB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/1.658, allocations: 0.7957 MB / 0.6253 GB, free: 25.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004589/1.658, allocations: 57.45 kB / 0.6253 GB, free: 25.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/1.677, allocations: 12.7 MB / 0.6377 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.677, allocations: 8.719 kB / 0.6378 GB, free: 15.87 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.01152/1.689, allocations: 4.706 MB / 0.6423 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.691, allocations: 0.5709 MB / 0.6429 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007883/1.692, allocations: 50.03 kB / 0.643 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.694, allocations: 94.64 kB / 0.643 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/1.694, allocations: 169.4 kB / 0.6432 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/1.695, allocations: 57.17 kB / 0.6433 GB, free: 13.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003119/1.698, allocations: 1.452 MB / 0.6447 GB, free: 12.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.698, allocations: 0 / 0.6447 GB, free: 12.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007062/1.705, allocations: 1.442 MB / 0.6461 GB, free: 10.75 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} Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/1.706, allocations: 468.2 kB / 0.6465 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01305/1.719, allocations: 5.948 MB / 0.6523 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.719, allocations: 0 / 0.6523 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004939/1.724, allocations: 2.217 MB / 0.6545 GB, free: 2.832 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/1.729, allocations: 0.6281 MB / 0.6551 GB, free: 2.344 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.75, allocations: 8.631 MB / 0.6635 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004468/1.755, allocations: 2.634 MB / 0.6661 GB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004346/1.759, allocations: 0.6289 MB / 0.6667 GB, free: 8.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008431/1.76, allocations: 159.3 kB / 0.6669 GB, free: 7.855 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/1.76, allocations: 0 / 0.6669 GB, free: 7.855 MB / 426.7 MB Notification: Performance of Templates: time 0.5252/2.285, allocations: 49.76 MB / 0.7155 GB, free: 70.77 MB / 426.7 MB