Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 194.9 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09567, allocations: 44.51 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.518/0.6137, allocations: 125.3 MB / 434.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.6141, allocations: 95.05 kB / 434.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3753/0.9894, allocations: 95.35 MB / 0.5173 GB, free: 6.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.9895, allocations: 4 kB / 0.5173 GB, free: 6.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00045/0.99, allocations: 91.94 kB / 0.5174 GB, free: 6.305 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.01861/1.009, allocations: 4.155 MB / 0.5215 GB, free: 2.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.009, allocations: 12.02 kB / 0.5215 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007666/1.016, allocations: 0.9044 MB / 0.5224 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2894/1.306, allocations: 3.602 MB / 0.5259 GB, free: 65.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003631/1.306, allocations: 274.3 kB / 0.5261 GB, free: 65.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/1.308, allocations: 361.4 kB / 0.5265 GB, free: 65.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/1.325, allocations: 4.637 MB / 0.531 GB, free: 65.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002614/1.325, allocations: 2.344 kB / 0.531 GB, free: 65.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/1.326, allocations: 156.4 kB / 0.5312 GB, free: 65.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/1.326, allocations: 153.2 kB / 0.5313 GB, free: 65.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/1.34, allocations: 3.788 MB / 0.535 GB, free: 65.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0431/1.383, allocations: 15.72 MB / 0.5504 GB, free: 61.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/1.395, allocations: 7.904 MB / 0.5581 GB, free: 56.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/1.407, allocations: 4.342 MB / 0.5623 GB, free: 55.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/1.407, allocations: 58.25 kB / 0.5624 GB, free: 55.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=188): time 5.41e-06/1.407, allocations: 0 / 0.5624 GB, free: 55.59 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.03107/1.438, allocations: 9.059 MB / 0.5712 GB, free: 53.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/1.438, allocations: 178.4 kB / 0.5714 GB, free: 53.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/1.443, allocations: 2.15 MB / 0.5735 GB, free: 52.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004902/1.444, allocations: 65.61 kB / 0.5736 GB, free: 52.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.445, allocations: 1.549 MB / 0.5751 GB, free: 51.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.446, allocations: 0.7432 MB / 0.5758 GB, free: 50.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/1.447, allocations: 50.56 kB / 0.5758 GB, free: 50.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/1.447, allocations: 417 kB / 0.5762 GB, free: 50.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/1.45, allocations: 1.008 MB / 0.5772 GB, free: 49.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/1.453, allocations: 1.642 MB / 0.5788 GB, free: 48.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/1.457, allocations: 1.282 MB / 0.5801 GB, free: 48.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.069e-05/1.457, allocations: 3.938 kB / 0.5801 GB, free: 48.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.0103/1.467, allocations: 3.512 MB / 0.5835 GB, free: 46.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004251/1.468, allocations: 0.6031 MB / 0.5841 GB, free: 46.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.861e-05/1.468, allocations: 21.34 kB / 0.5841 GB, free: 46.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003227/1.471, allocations: 0.7955 MB / 0.5849 GB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003791/1.475, allocations: 499.8 kB / 0.5854 GB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/1.493, allocations: 11.33 MB / 0.5964 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/1.497, allocations: 114.7 kB / 0.5965 GB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004958/1.497, allocations: 101.3 kB / 0.5966 GB, free: 37.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.497, allocations: 3.781 kB / 0.5966 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00945/1.507, allocations: 3.394 MB / 0.6 GB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/1.507, allocations: 18.19 kB / 0.6 GB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/1.51, allocations: 0.7915 MB / 0.6008 GB, free: 36.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/1.514, allocations: 490.7 kB / 0.6012 GB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/1.532, allocations: 11.38 MB / 0.6123 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.534, allocations: 93.95 kB / 0.6124 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/1.535, allocations: 97.8 kB / 0.6125 GB, free: 27.77 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.00354/1.538, allocations: 1.17 MB / 0.6137 GB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008927/1.539, allocations: 265.8 kB / 0.6139 GB, free: 26.97 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.008185/1.547, allocations: 3.285 MB / 0.6171 GB, free: 25.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/1.548, allocations: 17.75 kB / 0.6171 GB, free: 25.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.548, allocations: 7.656 kB / 0.6171 GB, free: 25.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/1.548, allocations: 10.59 kB / 0.6172 GB, free: 25.42 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.01671/1.564, allocations: 6.924 MB / 0.6239 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.564, allocations: 3.25 kB / 0.6239 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004655/1.569, allocations: 329.3 kB / 0.6242 GB, free: 22.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004698/1.574, allocations: 0.8013 MB / 0.625 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000321/1.574, allocations: 57.53 kB / 0.6251 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02174/1.596, allocations: 12.71 MB / 0.6375 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.596, allocations: 7.562 kB / 0.6375 GB, free: 12.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 symbolicJacobian (simulation): time 0.01086/1.607, allocations: 4.707 MB / 0.6421 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/1.609, allocations: 0.5705 MB / 0.6426 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006158/1.609, allocations: 45.09 kB / 0.6427 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.611, allocations: 95.12 kB / 0.6428 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004817/1.612, allocations: 172.2 kB / 0.6429 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.612, allocations: 62.2 kB / 0.643 GB, free: 9.492 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002935/1.615, allocations: 1.448 MB / 0.6444 GB, free: 8.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.615, allocations: 3.281 kB / 0.6444 GB, free: 8.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006177/1.621, allocations: 1.433 MB / 0.6458 GB, free: 7.887 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.001041/1.622, allocations: 459.6 kB / 0.6463 GB, free: 7.516 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01249/1.635, allocations: 5.95 MB / 0.6521 GB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.635, allocations: 0 / 0.6521 GB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005088/1.64, allocations: 2.223 MB / 0.6542 GB, free: 0 / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00524/1.645, allocations: 0.6317 MB / 0.6548 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02319/1.668, allocations: 8.62 MB / 0.6633 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00458/1.673, allocations: 2.596 MB / 0.6658 GB, free: 5.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/1.674, allocations: 179 kB / 0.666 GB, free: 5.445 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/1.674, allocations: 0 / 0.666 GB, free: 5.445 MB / 426.7 MB Notification: Performance of Templates: time 0.4884/2.163, allocations: 135.3 MB / 0.7981 GB, free: 15.14 MB / 426.7 MB