Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.755/1.755, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003582, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08161, allocations: 44.5 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3845/0.4661, allocations: 125.3 MB / 433.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.4664, allocations: 99.88 kB / 433.8 MB, free: 224 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3641/0.8306, allocations: 95.36 MB / 0.5168 GB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.597e-06/0.8306, allocations: 0 / 0.5168 GB, free: 8.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003165/0.8309, allocations: 91.86 kB / 0.5169 GB, free: 8.203 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.01397/0.8449, allocations: 4.155 MB / 0.521 GB, free: 3.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.845, allocations: 12.03 kB / 0.521 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006716/0.8517, allocations: 0.9005 MB / 0.5218 GB, free: 3.059 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2406/1.092, allocations: 3.607 MB / 0.5254 GB, free: 69.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/1.093, allocations: 275.3 kB / 0.5256 GB, free: 69.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/1.094, allocations: 360.3 kB / 0.526 GB, free: 69.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/1.105, allocations: 4.605 MB / 0.5305 GB, free: 69.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/1.106, allocations: 7.578 kB / 0.5305 GB, free: 69.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005506/1.106, allocations: 151 kB / 0.5306 GB, free: 69.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/1.106, allocations: 155.1 kB / 0.5308 GB, free: 69.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.116, allocations: 3.786 MB / 0.5345 GB, free: 69.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/1.149, allocations: 15.73 MB / 0.5498 GB, free: 65.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007962/1.157, allocations: 7.897 MB / 0.5575 GB, free: 60.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00917/1.166, allocations: 4.337 MB / 0.5618 GB, free: 59.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/1.166, allocations: 59.36 kB / 0.5618 GB, free: 59.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=188): time 5.817e-06/1.166, allocations: 3.281 kB / 0.5618 GB, free: 59.52 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.02212/1.188, allocations: 9.058 MB / 0.5707 GB, free: 57.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/1.188, allocations: 180.1 kB / 0.5709 GB, free: 57.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003569/1.192, allocations: 1.901 MB / 0.5727 GB, free: 56.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003721/1.192, allocations: 69.3 kB / 0.5728 GB, free: 56.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009231/1.193, allocations: 1.552 MB / 0.5743 GB, free: 55.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000743/1.194, allocations: 0.7454 MB / 0.575 GB, free: 54.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/1.194, allocations: 47.72 kB / 0.5751 GB, free: 54.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/1.194, allocations: 408.5 kB / 0.5755 GB, free: 54.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/1.196, allocations: 1.013 MB / 0.5764 GB, free: 53.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/1.199, allocations: 1.637 MB / 0.578 GB, free: 52.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00266/1.202, allocations: 1.27 MB / 0.5793 GB, free: 52.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/1.202, allocations: 6.969 kB / 0.5793 GB, free: 52.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.007767/1.21, allocations: 3.517 MB / 0.5827 GB, free: 50.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001384/1.211, allocations: 6.879 MB / 0.5894 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.334e-05/1.211, allocations: 19.56 kB / 0.5895 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/1.214, allocations: 0.805 MB / 0.5902 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/1.216, allocations: 494.2 kB / 0.5907 GB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/1.231, allocations: 11.33 MB / 0.6018 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/1.233, allocations: 107.5 kB / 0.6019 GB, free: 34.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004018/1.234, allocations: 98.84 kB / 0.602 GB, free: 34.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.234, allocations: 4.656 kB / 0.602 GB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007383/1.241, allocations: 3.399 MB / 0.6053 GB, free: 33.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.538e-05/1.241, allocations: 19.03 kB / 0.6053 GB, free: 33.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/1.244, allocations: 0.7852 MB / 0.6061 GB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/1.246, allocations: 490.7 kB / 0.6066 GB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.26, allocations: 11.38 MB / 0.6177 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/1.262, allocations: 95.7 kB / 0.6178 GB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/1.262, allocations: 103.3 kB / 0.6179 GB, free: 25.1 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.002845/1.265, allocations: 1.173 MB / 0.619 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006946/1.266, allocations: 259.8 kB / 0.6193 GB, free: 24.3 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.00697/1.273, allocations: 3.283 MB / 0.6225 GB, free: 22.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.273, allocations: 21.44 kB / 0.6225 GB, free: 22.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.273, allocations: 7.406 kB / 0.6225 GB, free: 22.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-05/1.273, allocations: 13.17 kB / 0.6225 GB, free: 22.76 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.01488/1.288, allocations: 6.923 MB / 0.6293 GB, free: 19.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/1.288, allocations: 0 / 0.6293 GB, free: 19.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/1.29, allocations: 331.6 kB / 0.6296 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/1.292, allocations: 0.7881 MB / 0.6304 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/1.293, allocations: 53.89 kB / 0.6304 GB, free: 19.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/1.308, allocations: 12.71 MB / 0.6428 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.927e-06/1.308, allocations: 11.06 kB / 0.6428 GB, free: 9.68 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.009601/1.318, allocations: 4.834 MB / 0.6475 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/1.32, allocations: 0.571 MB / 0.6481 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007428/1.321, allocations: 45.47 kB / 0.6481 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.323, allocations: 102.3 kB / 0.6482 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004658/1.323, allocations: 158.4 kB / 0.6484 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/1.323, allocations: 58.22 kB / 0.6485 GB, free: 6.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003019/1.326, allocations: 1.45 MB / 0.6499 GB, free: 6.168 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-06/1.326, allocations: 4 kB / 0.6499 GB, free: 6.164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007429/1.334, allocations: 1.438 MB / 0.6513 GB, free: 4.883 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.001071/1.335, allocations: 458.5 kB / 0.6517 GB, free: 4.516 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01162/1.347, allocations: 5.943 MB / 0.6575 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.347, allocations: 4 kB / 0.6575 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005047/1.352, allocations: 2.222 MB / 0.6597 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/1.356, allocations: 0.6319 MB / 0.6603 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/1.375, allocations: 8.618 MB / 0.6687 GB, free: 4.605 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0042/1.379, allocations: 2.594 MB / 0.6713 GB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009816/1.38, allocations: 178.8 kB / 0.6714 GB, free: 2.426 MB / 426.7 MB Notification: Performance of SimCode: time 1.883e-06/1.381, allocations: 4 kB / 0.6714 GB, free: 2.422 MB / 426.7 MB Notification: Performance of Templates: time 0.4337/1.814, allocations: 136.6 MB / 0.8049 GB, free: 15.91 MB / 426.7 MB