Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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") 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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001602/0.001602, allocations: 180.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.223/1.223, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001648/0.001648, allocations: 110.9 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08885, allocations: 44.5 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3066/0.3955, allocations: 125.3 MB / 480.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.3958, allocations: 91.16 kB / 480.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3977/0.7935, allocations: 95.35 MB / 0.5623 GB, free: 82.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7935, allocations: 4 kB / 0.5623 GB, free: 82.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002321/0.7938, allocations: 90.69 kB / 0.5624 GB, free: 82.2 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01042/0.8042, allocations: 4.157 MB / 0.5665 GB, free: 80.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.8043, allocations: 9.875 kB / 0.5665 GB, free: 80.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.8094, allocations: 0.906 MB / 0.5674 GB, free: 79.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009563/0.819, allocations: 3.628 MB / 0.5709 GB, free: 78.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.8192, allocations: 269.6 kB / 0.5712 GB, free: 77.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.8203, allocations: 365.2 kB / 0.5715 GB, free: 77.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007794/0.8281, allocations: 4.607 MB / 0.576 GB, free: 75.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.315e-05/0.8282, allocations: 3.906 kB / 0.576 GB, free: 75.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/0.8285, allocations: 152.6 kB / 0.5762 GB, free: 75.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.8286, allocations: 155.1 kB / 0.5763 GB, free: 75.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005701/0.8343, allocations: 3.796 MB / 0.58 GB, free: 73.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02436/0.8587, allocations: 15.71 MB / 0.5954 GB, free: 65.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006081/0.8649, allocations: 7.905 MB / 0.6031 GB, free: 57.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007145/0.872, allocations: 4.347 MB / 0.6073 GB, free: 53.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.8721, allocations: 60.56 kB / 0.6074 GB, free: 53.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=188): time 3.316e-06/0.8721, allocations: 0 / 0.6074 GB, free: 53.07 MB / 394.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.01636/0.8885, allocations: 9.062 MB / 0.6162 GB, free: 43.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.8886, allocations: 176.2 kB / 0.6164 GB, free: 43.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003446/0.892, allocations: 1.899 MB / 0.6182 GB, free: 41.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.8922, allocations: 69.7 kB / 0.6183 GB, free: 41.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.8932, allocations: 1.652 MB / 0.6199 GB, free: 39.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005531/0.8938, allocations: 0.7466 MB / 0.6207 GB, free: 39.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.894, allocations: 48 kB / 0.6207 GB, free: 39.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.8941, allocations: 403.1 kB / 0.6211 GB, free: 38.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.8958, allocations: 1.016 MB / 0.6221 GB, free: 37.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.8975, allocations: 1.628 MB / 0.6237 GB, free: 35.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.8993, allocations: 1.279 MB / 0.6249 GB, free: 34.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.8993, allocations: 4 kB / 0.6249 GB, free: 34.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.005394/0.9047, allocations: 3.677 MB / 0.6285 GB, free: 30.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001353/0.9061, allocations: 7.265 MB / 0.6356 GB, free: 22.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.986e-05/0.9062, allocations: 20 kB / 0.6356 GB, free: 22.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.9079, allocations: 0.7966 MB / 0.6364 GB, free: 21.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.9095, allocations: 499.2 kB / 0.6369 GB, free: 21.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009862/0.9194, allocations: 11.34 MB / 0.648 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.9216, allocations: 107.8 kB / 0.6481 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.9219, allocations: 104 kB / 0.6482 GB, free: 9.426 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.922, allocations: 4 kB / 0.6482 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005322/0.9273, allocations: 3.385 MB / 0.6515 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.35e-05/0.9274, allocations: 23.98 kB / 0.6515 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/0.929, allocations: 0.805 MB / 0.6523 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.9307, allocations: 491.2 kB / 0.6527 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.9427, allocations: 11.34 MB / 0.6638 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/0.9452, allocations: 99.92 kB / 0.6639 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005122/0.9458, allocations: 100 kB / 0.664 GB, free: 8.633 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.003196/0.949, allocations: 1.168 MB / 0.6651 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008235/0.9498, allocations: 260.8 kB / 0.6654 GB, free: 7.195 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.005883/0.9557, allocations: 3.28 MB / 0.6686 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.9557, allocations: 20 kB / 0.6686 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.9558, allocations: 7.953 kB / 0.6686 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.9558, allocations: 11.95 kB / 0.6686 GB, free: 3.805 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.2267/1.183, allocations: 6.916 MB / 0.6754 GB, free: 88.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.183, allocations: 0.7188 kB / 0.6754 GB, free: 88.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.184, allocations: 327.1 kB / 0.6757 GB, free: 88.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/1.185, allocations: 0.7973 MB / 0.6765 GB, free: 88.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/1.186, allocations: 56.56 kB / 0.6765 GB, free: 88.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/1.198, allocations: 12.71 MB / 0.6889 GB, free: 82.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.198, allocations: 1.375 kB / 0.6889 GB, free: 82.15 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.007706/1.206, allocations: 4.85 MB / 0.6937 GB, free: 81.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.207, allocations: 0.5648 MB / 0.6942 GB, free: 81.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004155/1.208, allocations: 47.69 kB / 0.6943 GB, free: 81.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.209, allocations: 96.94 kB / 0.6944 GB, free: 81.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004279/1.209, allocations: 161.4 kB / 0.6945 GB, free: 81.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.21, allocations: 59.83 kB / 0.6946 GB, free: 81.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002365/1.212, allocations: 1.457 MB / 0.696 GB, free: 81.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.212, allocations: 0 / 0.696 GB, free: 81.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005156/1.217, allocations: 1.438 MB / 0.6974 GB, free: 81.21 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.0009569/1.218, allocations: 452.3 kB / 0.6978 GB, free: 81.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008628/1.227, allocations: 5.939 MB / 0.7036 GB, free: 79.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.227, allocations: 8.641 kB / 0.7037 GB, free: 79.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002783/1.23, allocations: 2.213 MB / 0.7058 GB, free: 79.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/1.233, allocations: 0.6328 MB / 0.7064 GB, free: 79.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.245, allocations: 8.623 MB / 0.7149 GB, free: 75.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/1.247, allocations: 2.635 MB / 0.7174 GB, free: 74.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002444/1.25, allocations: 0.6342 MB / 0.718 GB, free: 74.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/1.25, allocations: 158.1 kB / 0.7182 GB, free: 74.39 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/1.25, allocations: 0 / 0.7182 GB, free: 74.39 MB / 410.7 MB Notification: Performance of Templates: time 0.0706/1.321, allocations: 49.56 MB / 0.7666 GB, free: 53.01 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)